From: aclement Date: Sat, 23 Aug 2008 04:14:29 +0000 (+0000) Subject: eclipse: unnecessary cast X-Git-Tag: V162DEV_M1~53 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e5c9dbdaa6e96f4e61f2dd3cfbc5d6dd3f7286f0;p=aspectj.git eclipse: unnecessary cast --- diff --git a/loadtime/src/org/aspectj/weaver/loadtime/Aj.java b/loadtime/src/org/aspectj/weaver/loadtime/Aj.java index 131c13cf0..5d74f0623 100644 --- a/loadtime/src/org/aspectj/weaver/loadtime/Aj.java +++ b/loadtime/src/org/aspectj/weaver/loadtime/Aj.java @@ -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)); } }