From 60ff3d6c3428b2e353ecc0df90296cecc3e840e0 Mon Sep 17 00:00:00 2001 From: Ahmed Ashour Date: Fri, 22 Sep 2017 12:23:12 +0200 Subject: Format curly brackets correctly for checkstyle (#10066) --- server/src/main/java/com/vaadin/server/UIProvider.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'server') diff --git a/server/src/main/java/com/vaadin/server/UIProvider.java b/server/src/main/java/com/vaadin/server/UIProvider.java index 11d5d43109..ea587cadc1 100644 --- a/server/src/main/java/com/vaadin/server/UIProvider.java +++ b/server/src/main/java/com/vaadin/server/UIProvider.java @@ -186,10 +186,8 @@ public abstract class UIProvider implements Serializable { // Third case: we have a generated class called APP_WIDGETSET_NAME if (info != null) { return info; - } - - // Fourth case: we have an AppWidgetset.gwt.xml file - else { + } else { + // Fourth case: we have an AppWidgetset.gwt.xml file InputStream resource = event.getUIClass() .getResourceAsStream("/" + APP_WIDGETSET_NAME + ".gwt.xml"); if (resource != null) { -- cgit v1.2.3