summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/refactoring/typeMigrationByAtomic/directForeach/before/Test.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/typeMigration/testData/refactoring/typeMigrationByAtomic/directForeach/before/Test.java')
-rw-r--r--java/typeMigration/testData/refactoring/typeMigrationByAtomic/directForeach/before/Test.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/java/typeMigration/testData/refactoring/typeMigrationByAtomic/directForeach/before/Test.java b/java/typeMigration/testData/refactoring/typeMigrationByAtomic/directForeach/before/Test.java
new file mode 100644
index 000000000000..1d40f4082444
--- /dev/null
+++ b/java/typeMigration/testData/refactoring/typeMigrationByAtomic/directForeach/before/Test.java
@@ -0,0 +1,11 @@
+import java.util.*;
+
+class Test {
+ List<String> lst;
+
+ void foo() {
+ for (String s : lst) {
+ System.out.println(s);
+ }
+ }
+} \ No newline at end of file