aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ajde.core/testsrc/org/aspectj/ajde/core/AjdeCoreTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ajde.core/testsrc/org/aspectj/ajde/core/AjdeCoreTestCase.java b/ajde.core/testsrc/org/aspectj/ajde/core/AjdeCoreTestCase.java
index 26e3cb82d..80a98aa18 100644
--- a/ajde.core/testsrc/org/aspectj/ajde/core/AjdeCoreTestCase.java
+++ b/ajde.core/testsrc/org/aspectj/ajde/core/AjdeCoreTestCase.java
@@ -132,7 +132,7 @@ public class AjdeCoreTestCase extends TestCase {
public boolean checkFor(String what) {
List ll = ((TestMessageHandler)compiler.getMessageHandler()).getMessages();
for (Iterator iter = ll.iterator(); iter.hasNext();) {
- Object element = (Object) iter.next();
+ Object element = iter.next();
if (element.toString().indexOf(what) != -1)
return true;
}
@@ -142,7 +142,7 @@ public class AjdeCoreTestCase extends TestCase {
public void dumpTaskData() {
List ll = ((TestMessageHandler)compiler.getMessageHandler()).getMessages();
for (Iterator iter = ll.iterator(); iter.hasNext();) {
- Object element = (Object) iter.next();
+ Object element = iter.next();
System.out.println("RecordedMessage>"+element);
}
}