[llvm-commits] CVS: llvm-java/test/Programs/SingleSource/UnitTests/Lists3.java
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sun Jan 23 06:56:45 PST 2005
Changes in directory llvm-java/test/Programs/SingleSource/UnitTests:
Lists3.java updated: 1.1 -> 1.2
---
Log message:
Make this test pass.
---
Diffs of the changes: (+3 -2)
Lists3.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm-java/test/Programs/SingleSource/UnitTests/Lists3.java
diff -u llvm-java/test/Programs/SingleSource/UnitTests/Lists3.java:1.1 llvm-java/test/Programs/SingleSource/UnitTests/Lists3.java:1.2
--- llvm-java/test/Programs/SingleSource/UnitTests/Lists3.java:1.1 Mon Jan 17 20:30:49 2005
+++ llvm-java/test/Programs/SingleSource/UnitTests/Lists3.java Sun Jan 23 08:56:35 2005
@@ -18,7 +18,8 @@
Test.println(((Integer)llist.removeLast()).intValue());
Test.println(llist.size());
- for (Iterator i = llist.iterator(); i.hasNext(); )
- Test.println(((Integer)i.next()).intValue());
+ for (int i = 0; i < llist.size(); ++i) {
+ Test.println(((Integer)llist.get(i)).intValue());
+ }
}
}
More information about the llvm-commits
mailing list