Skip to content

Commit c02b2a6

Browse files
javier-godoypaodb
authored andcommitted
style: apply code style fixes
1 parent 5c3ee05 commit c02b2a6

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/main/java/com/flowingcode/vaadin/addons/demo/TabbedDemo.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)