summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2006-04-06 08:18:53 +0000
committeraclement <aclement>2006-04-06 08:18:53 +0000
commite9a7c5036c3f5b68ba55e7b5ba56db27ee31149e (patch)
treefc2eb234ff0416608cd93e3e18267091c65d0fd7 /weaver
parente664735e9f94e5dbe07411cd7afde919e627b440 (diff)
downloadaspectj-e9a7c5036c3f5b68ba55e7b5ba56db27ee31149e.tar.gz
aspectj-e9a7c5036c3f5b68ba55e7b5ba56db27ee31149e.zip
these problematic casts are redundant... (135052)
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/ResolvedType.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/ResolvedType.java b/weaver/src/org/aspectj/weaver/ResolvedType.java
index 798c00e20..bfb7be4c5 100644
--- a/weaver/src/org/aspectj/weaver/ResolvedType.java
+++ b/weaver/src/org/aspectj/weaver/ResolvedType.java
@@ -2080,7 +2080,7 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl
protected boolean ajMembersNeedParameterization() {
if (isParameterizedType()) return true;
- if (getSuperclass() != null) return ((ReferenceType)getSuperclass()).ajMembersNeedParameterization();
+ if (getSuperclass() != null) return getSuperclass().ajMembersNeedParameterization();
return false;
}
@@ -2088,7 +2088,7 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl
Map myMap = getMemberParameterizationMap();
if (myMap.size() == 0) {
// might extend a parameterized aspect that we also need to consider...
- if (getSuperclass() != null) return ((ReferenceType)getSuperclass()).getAjMemberParameterizationMap();
+ if (getSuperclass() != null) return getSuperclass().getAjMemberParameterizationMap();
}
return myMap;
}