aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2024-04-12 13:27:47 +0200
committerAlexander Kriegisch <Alexander@Kriegisch.name>2024-04-12 15:14:35 +0200
commit742d4d7ea04617bedfe9259f4279053ccf00ce3b (patch)
tree43ea9f9869edaeb0e08dd2f0500d40d06be1aee8 /org.aspectj.matcher
parent03442820048bdb1fe667e52c8895a10e15272c0f (diff)
downloadaspectj-742d4d7ea04617bedfe9259f4279053ccf00ce3b.tar.gz
aspectj-742d4d7ea04617bedfe9259f4279053ccf00ce3b.zip
SignaturePattern.TypePatternVisitor: remove redundant visit method
Method visit(WildAnnotationTypePattern, Object) used to descend into node.getTypePattern().accept(this, data), which since commit 6585b9ef46 is unnecessary, because WildAnnotationTypePattern::traverse already traverses its type pattern. 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/SignaturePattern.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/SignaturePattern.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/SignaturePattern.java
index ccd5b7c2a..3e110383d 100644
--- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/SignaturePattern.java
+++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/SignaturePattern.java
@@ -194,12 +194,6 @@ public class SignaturePattern extends PatternNode implements ISignaturePattern {
this.parameterTargettingAnnotationsAllowed = parameterTargettingAnnotationsAllowed;
}
- @Override
- public Object visit(WildAnnotationTypePattern node, Object data) {
- node.getTypePattern().accept(this, data);
- return node;
- }
-
/**
* Do the ExactAnnotationTypePatterns have the incorrect target?
*/