aboutsummaryrefslogtreecommitdiffstats
path: root/client-compiler
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-10-20 09:00:01 +0200
committerPéter Török <31210544+torok-peter@users.noreply.github.com>2017-10-20 10:00:01 +0300
commit0f4702c6d1e03e2522c556487aba74ea01f25837 (patch)
tree55ff916ebd275e3b1711dc2908b6e2e8773fda9d /client-compiler
parent780e9cee6b7e976285402a00ad5b282a8e79619e (diff)
downloadvaadin-framework-0f4702c6d1e03e2522c556487aba74ea01f25837.tar.gz
vaadin-framework-0f4702c6d1e03e2522c556487aba74ea01f25837.zip
Add spaces after 'if' and 'for' in JavaScript (#10199)
* Add spaces after 'if' and 'for' in JavaScript * Revert to old format * Remove whitespaces
Diffstat (limited to 'client-compiler')
-rw-r--r--client-compiler/src/main/java/com/vaadin/server/widgetsetutils/metadata/ArraySerializer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client-compiler/src/main/java/com/vaadin/server/widgetsetutils/metadata/ArraySerializer.java b/client-compiler/src/main/java/com/vaadin/server/widgetsetutils/metadata/ArraySerializer.java
index 99854716c8..fcdb93fa28 100644
--- a/client-compiler/src/main/java/com/vaadin/server/widgetsetutils/metadata/ArraySerializer.java
+++ b/client-compiler/src/main/java/com/vaadin/server/widgetsetutils/metadata/ArraySerializer.java
@@ -53,7 +53,7 @@ public class ArraySerializer extends JsonSerializer {
}
w.println(";");
- w.println("for(int i = 0 ; i < value.length; i++) {");
+ w.println("for (int i = 0 ; i < value.length; i++) {");
w.indent();
JType componentType = arrayType.getComponentType();