From d3ec7d11177a86e63d2bb49a7cb182fbd946e158 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 9 Nov 2009 01:32:58 +0000 Subject: [PATCH] correction to isStar() implementation --- .../src/org/aspectj/weaver/patterns/WildTypePattern.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.39.5