aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/ValInFor.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/ValInFor.java')
-rw-r--r--test/transform/resource/before/ValInFor.java6
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