]> source.dussan.org Git - aspectj.git/commitdiff
remove unnecessary casts
authoraclement <aclement>
Sat, 17 Jan 2009 01:48:44 +0000 (01:48 +0000)
committeraclement <aclement>
Sat, 17 Jan 2009 01:48:44 +0000 (01:48 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/CrosscuttingMembers.java

index a71512f13aaafee03027816e53bdee7625509906..b33e4801c6b4b70e1db0c00a77b6a9479aaa2337 100644 (file)
@@ -353,10 +353,10 @@ public class CrosscuttingMembers {
                        boolean shouldOverwriteThis = false;
                        boolean foundInequality = false;
                        for (Iterator iter = theseTypeMungers.iterator(); iter.hasNext() && !foundInequality;) {
-                               Object thisOne = (Object) iter.next();
+                               Object thisOne = iter.next();
                                boolean foundInOtherSet = false;
                                for (Iterator iterator = otherTypeMungers.iterator(); iterator.hasNext();) {
-                                       Object otherOne = (Object) iterator.next();
+                                       Object otherOne = iterator.next();
                                        if (thisOne instanceof ConcreteTypeMunger) {
                                                if (((ConcreteTypeMunger) thisOne).shouldOverwrite()) {
                                                        shouldOverwriteThis = true;