diff options
-rw-r--r-- | org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java index 9c6a62a5f..37653a9cc 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java @@ -326,11 +326,7 @@ public class WildTypePattern extends TypePattern { numDimensionsInTargetType++; targetTypeName = targetTypeName.substring(index + 1); } - if (numDimensionsInTargetType == dim) { - return true; - } else { - return false; - } + return numDimensionsInTargetType == dim; } } |