diff options
author | aclement <aclement> | 2011-05-02 18:41:40 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-05-02 18:41:40 +0000 |
commit | 4315578eb607ee2df7282964cb88760f406c23bd (patch) | |
tree | 237d81f141ad8f7ace8d926f20b67a8e08f6056a /testing | |
parent | 1d1d8ca788aaf2764c0f07c32ea3fc0e3f1a9485 (diff) | |
download | aspectj-4315578eb607ee2df7282964cb88760f406c23bd.tar.gz aspectj-4315578eb607ee2df7282964cb88760f406c23bd.zip |
generics
Diffstat (limited to 'testing')
-rw-r--r-- | testing/newsrc/org/aspectj/testing/AjcTest.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/testing/newsrc/org/aspectj/testing/AjcTest.java b/testing/newsrc/org/aspectj/testing/AjcTest.java index 2ddf9184b..4192f9db7 100644 --- a/testing/newsrc/org/aspectj/testing/AjcTest.java +++ b/testing/newsrc/org/aspectj/testing/AjcTest.java @@ -12,7 +12,6 @@ package org.aspectj.testing; import java.util.ArrayList; -import java.util.Iterator; import java.util.List; import org.aspectj.tools.ajc.AjcTestCase; @@ -44,7 +43,7 @@ public class AjcTest { } } - private List testSteps = new ArrayList(); + private List<ITestStep> testSteps = new ArrayList<ITestStep>(); private String dir; private String pr; @@ -65,8 +64,7 @@ public class AjcTest { if (!canRunOnThisVM()) return false; try { System.out.print("TEST: " + getTitle() + "\t"); - for (Iterator iter = testSteps.iterator(); iter.hasNext();) { - ITestStep step = (ITestStep) iter.next(); + for (ITestStep step: testSteps) { step.setBaseDir(getDir()); System.out.print("."); step.execute(testCase); |