From: aclement Date: Sat, 23 Aug 2008 04:15:59 +0000 (+0000) Subject: eclipse: unnecessary cast X-Git-Tag: V162DEV_M1~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=051c34fe07947e0b6f416cef47a670f112451a3a;p=aspectj.git eclipse: unnecessary cast --- diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java b/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java index ae3bd53fd..f17de707b 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java @@ -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?