diff options
author | aclement <aclement> | 2008-08-22 19:26:57 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-08-22 19:26:57 +0000 |
commit | d295401e0fe7845ae06ea0b77904165cf6af52c0 (patch) | |
tree | 6fc6b1b73ba718f0b1c807f64721993b2147f0a9 /weaver | |
parent | 1607e45eb209411d6ffdbf8323f98c53b681301a (diff) | |
download | aspectj-d295401e0fe7845ae06ea0b77904165cf6af52c0.tar.gz aspectj-d295401e0fe7845ae06ea0b77904165cf6af52c0.zip |
eclipse: unnecessary cast
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/patterns/ThisOrTargetAnnotationPointcut.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/ThisOrTargetAnnotationPointcut.java b/weaver/src/org/aspectj/weaver/patterns/ThisOrTargetAnnotationPointcut.java index 4285a411c..167ea886e 100644 --- a/weaver/src/org/aspectj/weaver/patterns/ThisOrTargetAnnotationPointcut.java +++ b/weaver/src/org/aspectj/weaver/patterns/ThisOrTargetAnnotationPointcut.java @@ -88,7 +88,7 @@ public class ThisOrTargetAnnotationPointcut extends NameBindingPointcut { public Pointcut parameterizeWith(Map typeVariableMap,World w) { ExactAnnotationTypePattern newPattern = (ExactAnnotationTypePattern) this.annotationTypePattern.parameterizeWith(typeVariableMap,w); if (newPattern.getAnnotationType() instanceof ResolvedType) { - verifyRuntimeRetention((ResolvedType)newPattern.getResolvedAnnotationType()); + verifyRuntimeRetention(newPattern.getResolvedAnnotationType()); } ThisOrTargetAnnotationPointcut ret = new ThisOrTargetAnnotationPointcut(isThis,(ExactAnnotationTypePattern)annotationTypePattern.parameterizeWith(typeVariableMap,w)); ret.copyLocationFrom(this); |