diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-01-09 17:56:15 +0100 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-01-15 14:41:51 +0100 |
commit | 5a8cdee463d63f9f3eaf0a40dff26a54a814121c (patch) | |
tree | 2d84d3d281bc4f55f8d5913adf7170ebaf23b85f /org.aspectj.matcher | |
parent | 9198f15f9bef7becb7dbce7c1a73e1e04b60cd18 (diff) | |
download | aspectj-5a8cdee463d63f9f3eaf0a40dff26a54a814121c.tar.gz aspectj-5a8cdee463d63f9f3eaf0a40dff26a54a814121c.zip |
Fix WildTypePattern.isArray
The method falsely determined that a one-dimensional array was not an
array due to a one-off bug.
Relates to https://github.com/eclipse/org.aspectj/issues/24.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r-- | org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java | 2 |
1 files changed, 1 insertions, 1 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 32cc0c6c1..9c6a62a5f 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 @@ -296,7 +296,7 @@ public class WildTypePattern extends TypePattern { @Override public boolean isArray() { - return dim > 1; + return dim > 0; } /** |