diff options
author | Roel Spilker <r.spilker@gmail.com> | 2016-07-19 13:40:32 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2016-07-19 13:40:32 +0200 |
commit | fa2ff14e65bea5d3042ffc01c811b00fa6efbd58 (patch) | |
tree | 83f4ed4c288db0d9957d2d4abb9308b43072d648 /test | |
parent | c0d563d039ca066543efc34d8a037d1a19c48a96 (diff) | |
download | lombok-fa2ff14e65bea5d3042ffc01c811b00fa6efbd58.tar.gz lombok-fa2ff14e65bea5d3042ffc01c811b00fa6efbd58.tar.bz2 lombok-fa2ff14e65bea5d3042ffc01c811b00fa6efbd58.zip |
Fix for issue #1076
Diffstat (limited to 'test')
-rw-r--r-- | test/pretty/resource/after/ForLoop.java | 7 | ||||
-rw-r--r-- | test/pretty/resource/before/ForLoop.java | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/test/pretty/resource/after/ForLoop.java b/test/pretty/resource/after/ForLoop.java index 615f6e8a..f3b1bf4e 100644 --- a/test/pretty/resource/after/ForLoop.java +++ b/test/pretty/resource/after/ForLoop.java @@ -8,4 +8,11 @@ public class ForLoop { } // after loop } + + { + int i; + for (i = 0; i < 10; i++) { + System.out.println(i); + } + } } diff --git a/test/pretty/resource/before/ForLoop.java b/test/pretty/resource/before/ForLoop.java index 2bed7f9b..8a58cbf2 100644 --- a/test/pretty/resource/before/ForLoop.java +++ b/test/pretty/resource/before/ForLoop.java @@ -9,4 +9,11 @@ public class ForLoop { } // after loop } + + { + int i; + for (i = 0; i < 10; i++) { + System.out.println(i); + } + } } |