File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/com/flowingcode/vaadin/addons/demo Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -112,16 +112,15 @@ public void addDemo(Component demo) {
112112 */
113113 @ Deprecated
114114 public void addDemo (Component demo , String label , String sourceCodeUrl ) {
115- this .addDemo (demo .getClass (), label , sourceCodeUrl );
115+ this .addDemo (demo .getClass (), label );
116116 }
117117
118118 /** Add a tab with a demo component.
119119 *
120120 * @param clazz the class of routed demo view component
121121 * @param label the demo name (tab label)
122- * @param sourceCodeUrl the url of the demo, <b>null</b> to not show source code section.
123122 */
124- public void addDemo (Class <? extends Component > clazz , String label , String sourceCodeUrl ) {
123+ public void addDemo (Class <? extends Component > clazz , String label ) {
125124 if (!clazz .isAnnotationPresent (Route .class )) {
126125 throw new IllegalArgumentException (clazz + " must be annotated as Route" );
127126 }
You can’t perform that action at this time.
0 commit comments