diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-10-20 09:00:01 +0200 |
---|---|---|
committer | Péter Török <31210544+torok-peter@users.noreply.github.com> | 2017-10-20 10:00:01 +0300 |
commit | 0f4702c6d1e03e2522c556487aba74ea01f25837 (patch) | |
tree | 55ff916ebd275e3b1711dc2908b6e2e8773fda9d /client-compiler | |
parent | 780e9cee6b7e976285402a00ad5b282a8e79619e (diff) | |
download | vaadin-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.java | 2 |
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(); |