diff options
author | acolyer <acolyer> | 2004-10-21 13:40:23 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2004-10-21 13:40:23 +0000 |
commit | 8a64fa2912ac02aadcf5f164dfde17a7c48877a5 (patch) | |
tree | a4ffcabd5c3915999b6a5dec016c7e5a71290800 | |
parent | ecbb3e642aeae5fb45280465234fa391e013c05b (diff) | |
download | aspectj-8a64fa2912ac02aadcf5f164dfde17a7c48877a5.tar.gz aspectj-8a64fa2912ac02aadcf5f164dfde17a7c48877a5.zip |
Bugzilla Bug 73895
unnecessary cast causing problems
-rw-r--r-- | weaver/src/org/aspectj/weaver/ResolvedTypeX.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/ResolvedTypeX.java b/weaver/src/org/aspectj/weaver/ResolvedTypeX.java index fb81c5a7f..4342ce4fc 100644 --- a/weaver/src/org/aspectj/weaver/ResolvedTypeX.java +++ b/weaver/src/org/aspectj/weaver/ResolvedTypeX.java @@ -550,7 +550,7 @@ public abstract class ResolvedTypeX extends TypeX { } // ??? needs to be Methods, not just declared methods? JLS 5.5 unclear ResolvedMember[] a = getDeclaredMethods(); - ResolvedMember[] b = ((Name)other).getDeclaredMethods(); //??? is this cast always safe + ResolvedMember[] b = other.getDeclaredMethods(); //??? is this cast always safe for (int ai = 0, alen = a.length; ai < alen; ai++) { for (int bi = 0, blen = b.length; bi < blen; bi++) { if (! b[bi].isCompatibleWith(a[ai])) return false; |