Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuAddGetIterator/out/A.java')
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuAddGetIterator/out/A.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuAddGetIterator/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuAddGetIterator/out/A.java
new file mode 100644
index 000000000..af1f2ceac
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuAddGetIterator/out/A.java
@@ -0,0 +1,17 @@
+package p;
+
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+class A {
+ void foo() {
+ List<String> l= new ArrayList<String>();
+ l.add("Eclipse"); l.add("is"); l.add(new String("cool"));
+ for (Iterator<String> iter= l.iterator(); iter.hasNext();) {
+ String word= iter.next();
+ System.out.print(word);
+ System.out.print(" ");
+ }
+ }
+} \ No newline at end of file

Back to the top