aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/declarative/Design.java
diff options
context:
space:
mode:
authorIlia Motornyi <elmot@vaadin.com>2018-04-19 15:14:53 +0300
committerTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2018-04-19 15:14:53 +0300
commitd543e47becc77e5b18c69a416e6e84122ac10fe1 (patch)
tree49b4e4e245319b0e93a4b1d3739096eb2d082eea /server/src/main/java/com/vaadin/ui/declarative/Design.java
parentbdbb0b4328a36a66bb492973ca72497bfd34f6ad (diff)
downloadvaadin-framework-d543e47becc77e5b18c69a416e6e84122ac10fe1.tar.gz
vaadin-framework-d543e47becc77e5b18c69a416e6e84122ac10fe1.zip
Enable Maven plugin for Eclipse formatting (#10829)
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/declarative/Design.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/Design.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/main/java/com/vaadin/ui/declarative/Design.java b/server/src/main/java/com/vaadin/ui/declarative/Design.java
index 789f6c8a7b..0b78a9cbde 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/Design.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/Design.java
@@ -264,8 +264,7 @@ public class Design implements Serializable {
String packageName = getPackageName(componentClass);
String prefix = context.getPackagePrefix(packageName);
if (prefix == null) {
- prefix = packageName.replace('.', '_')
- .toLowerCase(Locale.ROOT);
+ prefix = packageName.replace('.', '_').toLowerCase(Locale.ROOT);
context.addPackagePrefix(prefix, packageName);
}
prefix += "-";