From e5c9dbdaa6e96f4e61f2dd3cfbc5d6dd3f7286f0 Mon Sep 17 00:00:00 2001 From: aclement Date: Sat, 23 Aug 2008 04:14:29 +0000 Subject: [PATCH] eclipse: unnecessary cast --- loadtime/src/org/aspectj/weaver/loadtime/Aj.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); } } -- 2.39.5