From 649609c6cf343b2c4b0131555192aba795d3efae Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 22 Aug 2008 19:25:56 +0000 Subject: [PATCH] eclipse: unnecessary cast --- weaver/src/org/aspectj/weaver/JoinPointSignatureIterator.java | 2 +- weaver/src/org/aspectj/weaver/World.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.5