diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-09-22 12:23:12 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-09-22 13:23:12 +0300 |
commit | 60ff3d6c3428b2e353ecc0df90296cecc3e840e0 (patch) | |
tree | a88cd5b672417440f57ec786b3c2c3c2bdac6adb /server | |
parent | 23718371f820fb3babca2c57072a62137aa2c01d (diff) | |
download | vaadin-framework-60ff3d6c3428b2e353ecc0df90296cecc3e840e0.tar.gz vaadin-framework-60ff3d6c3428b2e353ecc0df90296cecc3e840e0.zip |
Format curly brackets correctly for checkstyle (#10066)
Diffstat (limited to 'server')
-rw-r--r-- | server/src/main/java/com/vaadin/server/UIProvider.java | 6 |
1 files changed, 2 insertions, 4 deletions
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) { |