diff options
author | aclement <aclement> | 2008-08-23 04:15:59 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-08-23 04:15:59 +0000 |
commit | 051c34fe07947e0b6f416cef47a670f112451a3a (patch) | |
tree | 18ef039c396a844d809119e76c81af25accac0f7 /weaver | |
parent | e92ca66bf589ec2f72afc886641410fd9610d924 (diff) | |
download | aspectj-051c34fe07947e0b6f416cef47a670f112451a3a.tar.gz aspectj-051c34fe07947e0b6f416cef47a670f112451a3a.zip |
eclipse: unnecessary cast
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | 4 |
1 files changed, 2 insertions, 2 deletions
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? |