aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource
diff options
context:
space:
mode:
Diffstat (limited to 'test/delombok/resource')
-rw-r--r--test/delombok/resource/after/ForEach.java9
-rw-r--r--test/delombok/resource/before/ForEach.java9
2 files changed, 18 insertions, 0 deletions
diff --git a/test/delombok/resource/after/ForEach.java b/test/delombok/resource/after/ForEach.java
new file mode 100644
index 00000000..c4d4a9dc
--- /dev/null
+++ b/test/delombok/resource/after/ForEach.java
@@ -0,0 +1,9 @@
+import java.util.Arrays;
+public class ForEach {
+ {
+ for (int i : Arrays.asList(1, 2, 3)) {
+ System.out.println(i);
+ // Do something
+ }
+ }
+}
diff --git a/test/delombok/resource/before/ForEach.java b/test/delombok/resource/before/ForEach.java
new file mode 100644
index 00000000..c4d4a9dc
--- /dev/null
+++ b/test/delombok/resource/before/ForEach.java
@@ -0,0 +1,9 @@
+import java.util.Arrays;
+public class ForEach {
+ {
+ for (int i : Arrays.asList(1, 2, 3)) {
+ System.out.println(i);
+ // Do something
+ }
+ }
+}