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

index 7bc20794fccb6fe7a2c6327dcd5d9a9121ffeea0..cc754d18b1414e727d5873667b06b0d2ba95dcdf 100644 (file)
@@ -106,7 +106,7 @@ public class JoinPointSignatureIterator implements Iterator {
                return;
        }
 
-       firstDefiningMember = (ResolvedMemberImpl) signaturesOfMember.resolve(world);
+       firstDefiningMember = signaturesOfMember.resolve(world);
        
        if (firstDefiningMember == null) {
                couldBeFurtherAsYetUndiscoveredSignatures = false;
index 04cfa52864bda781335c69eb8f3e3f71acff22f3..0fd151e3475e63747423bbcc2443e13ad766dfb4 100644 (file)
@@ -1070,7 +1070,7 @@ public abstract class World implements Dump.INode {
                private void collectTypes(Map map, List/*ResolvedType*/ results) {
                        for (Iterator iterator = map.keySet().iterator(); iterator.hasNext();) {
                                String key = (String) iterator.next();
-                               ResolvedType type = get((String)key);
+                               ResolvedType type = get(key);
                                if (type!=null) results.add(type);
                                else System.err.println("null!:"+key);
                        }