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

index ae3bd53fd5a89874f3783a315968ef3443ed25fa..f17de707b0d21c8e579591a5c7446152c49ae9db 100644 (file)
@@ -1541,10 +1541,10 @@ public class BcelShadow extends Shadow {
                                if (foundMember.getKind()==ResolvedMember.CONSTRUCTOR){
                                        foundMember = AjcMemberMaker.interConstructor(
                                                        relevantType,
-                                                       (ResolvedMember)foundMember,
+                                                       foundMember,
                                                        typeMunger.getAspectType());
                                } else {
-                                       foundMember = AjcMemberMaker.interMethod((ResolvedMember)foundMember,
+                                       foundMember = AjcMemberMaker.interMethod(foundMember,
                                                        typeMunger.getAspectType(), false);
                                }
                                // in the above.. what about if it's on an Interface? Can that happen?