aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2010-11-29 22:43:44 +0100
committerRoel Spilker <r.spilker@gmail.com>2010-11-29 22:43:44 +0100
commitb0072a17eba21cdc6f8ba51693bb39d1c9aba319 (patch)
tree163706efa8fe6233b1da0dadd2872ec8682d91fb /test/transform/resource/after-delombok
parentdd0fded2bfbd5c318913209e93d74a2bb06f3d14 (diff)
downloadlombok-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/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/ValInFor.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/transform/resource/after-delombok/ValInFor.java b/test/transform/resource/after-delombok/ValInFor.java
index a04d0f0c..013cd02e 100644
--- a/test/transform/resource/after-delombok/ValInFor.java
+++ b/test/transform/resource/after-delombok/ValInFor.java
@@ -9,11 +9,11 @@ public class ValInFor {
final java.lang.String v = a;
}
}
-/* public void enhancedFor() {
+ public void enhancedFor() {
java.util.List<String> list = java.util.Arrays.asList("Hello, World!");
- for (val shouldBeString : list) {
+ for (final java.lang.String shouldBeString : list) {
System.out.println(shouldBeString.toLowerCase());
- val shouldBeString2 = shouldBeString;
+ final java.lang.String shouldBeString2 = shouldBeString;
}
- }*/
+ }
} \ No newline at end of file