]> source.dussan.org Git - aspectj.git/commitdiff
eclipse: unnecessary cast
authoraclement <aclement>
Fri, 22 Aug 2008 19:26:57 +0000 (19:26 +0000)
committeraclement <aclement>
Fri, 22 Aug 2008 19:26:57 +0000 (19:26 +0000)
weaver/src/org/aspectj/weaver/patterns/ThisOrTargetAnnotationPointcut.java

index 4285a411c39e129d82ac07760d71e3c9c5db8435..167ea886e3ceaba1e80594c11fc8810fb5cfe99b 100644 (file)
@@ -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);