]> source.dussan.org Git - aspectj.git/commitdiff
eclipse: unnecessary cast
authoraclement <aclement>
Fri, 22 Aug 2008 19:26:06 +0000 (19:26 +0000)
committeraclement <aclement>
Fri, 22 Aug 2008 19:26:06 +0000 (19:26 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java

index e5a7ef6ed67360102fc5e89ff0995bbe98976f8c..4716ceede6e0e12c4485c7285e3b51cc4d367f33 100644 (file)
@@ -777,7 +777,7 @@ public class BcelObjectType extends AbstractReferenceTypeDelegate {
                int lastDollar = className.lastIndexOf('$');
                String superClassName = className.substring(0,lastDollar);
                UnresolvedType outer = UnresolvedType.forName(superClassName);
-               return (ReferenceType) outer.resolve(getResolvedTypeX().getWorld());
+               return outer.resolve(getResolvedTypeX().getWorld());
        }