aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-09-28 07:45:09 +0200
committerHenri Sara <henri.sara@gmail.com>2017-09-28 08:45:09 +0300
commit7fd440d2448587f7e9958e84c84ec2bfd30ba8a0 (patch)
treec0186a8d940f07c060fcaf4b03e82271bfa9e5c2 /server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
parentcb91ab76eecbf85ad598fc5054fa2ec5ab3308f6 (diff)
downloadvaadin-framework-7fd440d2448587f7e9958e84c84ec2bfd30ba8a0.tar.gz
vaadin-framework-7fd440d2448587f7e9958e84c84ec2bfd30ba8a0.zip
Use single character for StringBuilder.append (#10102)
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java b/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
index cdf0c6aaee..5b5887316c 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
@@ -328,7 +328,7 @@ public class DesignAttributeHandler implements Serializable {
StringBuilder builder = new StringBuilder();
for (int i = 0; i < words.length; i++) {
if (builder.length() != 0) {
- builder.append("-");
+ builder.append('-');
}
builder.append(words[i].toLowerCase());
}