]> source.dussan.org Git - aspectj.git/commitdiff
eclipse: unnecessary cast
authoraclement <aclement>
Sat, 23 Aug 2008 04:14:29 +0000 (04:14 +0000)
committeraclement <aclement>
Sat, 23 Aug 2008 04:14:29 +0000 (04:14 +0000)
loadtime/src/org/aspectj/weaver/loadtime/Aj.java

index 131c13cf010665df39a00c2508337a8273749e02..5d74f0623b72776285bbd51c8cb0ce523d0a203a 100644 (file)
@@ -159,7 +159,7 @@ public class Aj implements ClassPreProcessor {
                 Map m = WeaverContainer.weavingAdaptors;
                 Set keys = m.keySet();
                 for (Iterator iterator = keys.iterator(); iterator.hasNext();) {
-                    Object object = (Object) iterator.next();
+                    Object object = iterator.next();
                     System.err.println(object + " = " + WeaverContainer.weavingAdaptors.get(object));
                 }
             }
@@ -181,7 +181,7 @@ public class Aj implements ClassPreProcessor {
                 Map m = WeaverContainer.weavingAdaptors;
                 Set keys = m.keySet();
                 for (Iterator iterator = keys.iterator(); iterator.hasNext();) {
-                    Object object = (Object) iterator.next();
+                    Object object = iterator.next();
                     System.err.println(object + " = " + WeaverContainer.weavingAdaptors.get(object));
                 }
             }