From: aclement Date: Mon, 9 Nov 2009 01:32:58 +0000 (+0000) Subject: correction to isStar() implementation X-Git-Tag: V1_6_7~115 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d3ec7d11177a86e63d2bb49a7cb182fbd946e158;p=aspectj.git correction to isStar() implementation --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java index 3ace8ac1e..f9c76ee70 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java @@ -1147,7 +1147,7 @@ public class WildTypePattern extends TypePattern { @Override public boolean isStar() { boolean annPatternStar = annotationPattern == AnnotationTypePattern.ANY; - return (isNamePatternStar() && annPatternStar); + return (isNamePatternStar() && annPatternStar && dim == 0); } private boolean isNamePatternStar() {