From: aclement Date: Fri, 22 Aug 2008 19:25:56 +0000 (+0000) Subject: eclipse: unnecessary cast X-Git-Tag: V162DEV_M1~69 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=649609c6cf343b2c4b0131555192aba795d3efae;p=aspectj.git eclipse: unnecessary cast --- diff --git a/weaver/src/org/aspectj/weaver/JoinPointSignatureIterator.java b/weaver/src/org/aspectj/weaver/JoinPointSignatureIterator.java index 7bc20794f..cc754d18b 100644 --- a/weaver/src/org/aspectj/weaver/JoinPointSignatureIterator.java +++ b/weaver/src/org/aspectj/weaver/JoinPointSignatureIterator.java @@ -106,7 +106,7 @@ public class JoinPointSignatureIterator implements Iterator { return; } - firstDefiningMember = (ResolvedMemberImpl) signaturesOfMember.resolve(world); + firstDefiningMember = signaturesOfMember.resolve(world); if (firstDefiningMember == null) { couldBeFurtherAsYetUndiscoveredSignatures = false; diff --git a/weaver/src/org/aspectj/weaver/World.java b/weaver/src/org/aspectj/weaver/World.java index 04cfa5286..0fd151e34 100644 --- a/weaver/src/org/aspectj/weaver/World.java +++ b/weaver/src/org/aspectj/weaver/World.java @@ -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); }