aboutsummaryrefslogtreecommitdiffstats
path: root/ajde.core
diff options
context:
space:
mode:
authoraclement <aclement>2008-08-23 04:13:59 +0000
committeraclement <aclement>2008-08-23 04:13:59 +0000
commitb98efbd8ec7ccfb390381d7962a4d83d9292317d (patch)
tree37057e3ec14c5d898e9f2ad4d7880eed933790ad /ajde.core
parentabadca94b1a5c8d68319608aeb64f18341b1a818 (diff)
downloadaspectj-b98efbd8ec7ccfb390381d7962a4d83d9292317d.tar.gz
aspectj-b98efbd8ec7ccfb390381d7962a4d83d9292317d.zip
eclipse: unnecessary cast
Diffstat (limited to 'ajde.core')
-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);
}
}