diff options
author | Roel Spilker <r.spilker@gmail.com> | 2010-11-29 22:43:44 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2010-11-29 22:43:44 +0100 |
commit | b0072a17eba21cdc6f8ba51693bb39d1c9aba319 (patch) | |
tree | 163706efa8fe6233b1da0dadd2872ec8682d91fb /test/transform/resource/before/ValInFor.java | |
parent | dd0fded2bfbd5c318913209e93d74a2bb06f3d14 (diff) | |
download | lombok-b0072a17eba21cdc6f8ba51693bb39d1c9aba319.tar.gz lombok-b0072a17eba21cdc6f8ba51693bb39d1c9aba319.tar.bz2 lombok-b0072a17eba21cdc6f8ba51693bb39d1c9aba319.zip |
lombok.val import now gets removed. Only adding lombok.val flags the compilation unit as changed.
Diffstat (limited to 'test/transform/resource/before/ValInFor.java')
-rw-r--r-- | test/transform/resource/before/ValInFor.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/transform/resource/before/ValInFor.java b/test/transform/resource/before/ValInFor.java index af13540e..ebe7287c 100644 --- a/test/transform/resource/before/ValInFor.java +++ b/test/transform/resource/before/ValInFor.java @@ -1,3 +1,5 @@ +import lombok.val; + public class ValInFor { { val x = 10; @@ -10,11 +12,11 @@ public class ValInFor { } } -/* public void enhancedFor() { + public void enhancedFor() { java.util.List<String> list = java.util.Arrays.asList("Hello, World!"); for (val shouldBeString : list) { System.out.println(shouldBeString.toLowerCase()); val shouldBeString2 = shouldBeString; } - }*/ + } }
\ No newline at end of file |