From 4315578eb607ee2df7282964cb88760f406c23bd Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 2 May 2011 18:41:40 +0000 Subject: [PATCH] generics --- testing/newsrc/org/aspectj/testing/AjcTest.java | 6 ++---- 1 file 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 testSteps = new ArrayList(); 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); -- 2.39.5