diff options
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/UI.java')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/UI.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/main/java/com/vaadin/ui/UI.java b/server/src/main/java/com/vaadin/ui/UI.java index 5d27c1de74..e8b9198111 100644 --- a/server/src/main/java/com/vaadin/ui/UI.java +++ b/server/src/main/java/com/vaadin/ui/UI.java @@ -214,13 +214,13 @@ public abstract class UI extends AbstractSingleComponentContainer .validateLayouts(UI.this); StringBuilder json = new StringBuilder(); json.append("{\"invalidLayouts\":"); - json.append("["); + json.append('['); if (invalidSizes != null) { boolean first = true; for (InvalidLayout invalidSize : invalidSizes) { if (!first) { - json.append(","); + json.append(','); } else { first = false; } |