File tree Expand file tree Collapse file tree
src/main/java/com/flowingcode/vaadin/addons/demo Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -181,14 +181,14 @@ public void showRouterLayoutContent(HasElement content) {
181181 helperButton = null ;
182182 }
183183
184- DemoSource demoSources [] = demo .getClass ().getAnnotationsByType (DemoSource .class );
185- List <SourceCodeTab > tabs = new ArrayList <>(demoSources .length );
184+ DemoSource [] demoSources = demo .getClass ().getAnnotationsByType (DemoSource .class );
185+ List <SourceCodeTab > sourceTabs = new ArrayList <>(demoSources .length );
186186 for (DemoSource demoSource : demoSources ) {
187- createSourceCodeTab (demo .getClass (), demoSource ).ifPresent (tabs ::add );
187+ createSourceCodeTab (demo .getClass (), demoSource ).ifPresent (sourceTabs ::add );
188188 }
189-
190- if (!tabs .isEmpty ()) {
191- content = new SplitLayoutDemo (demo , tabs );
189+
190+ if (!sourceTabs .isEmpty ()) {
191+ content = new SplitLayoutDemo (demo , sourceTabs );
192192 currentLayout = (SplitLayoutDemo ) content ;
193193 if (splitOrientation != null ) {
194194 setOrientation (splitOrientation );
You can’t perform that action at this time.
0 commit comments