From: aclement Date: Fri, 22 Aug 2008 19:26:57 +0000 (+0000) Subject: eclipse: unnecessary cast X-Git-Tag: V162DEV_M1~65 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d295401e0fe7845ae06ea0b77904165cf6af52c0;p=aspectj.git eclipse: unnecessary cast --- 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);