Skip to content

Commit 742d4d7

Browse files
committed
SignaturePattern.TypePatternVisitor: remove redundant visit method
Method visit(WildAnnotationTypePattern, Object) used to descend into node.getTypePattern().accept(this, data), which since commit 6585b9e is unnecessary, because WildAnnotationTypePattern::traverse already traverses its type pattern. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
1 parent 0344282 commit 742d4d7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/SignaturePattern.java

-6
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,6 @@ public TypePatternVisitor(IScope scope, boolean targetsOtherThanTypeAllowed, boo
194194
this.parameterTargettingAnnotationsAllowed = parameterTargettingAnnotationsAllowed;
195195
}
196196

197-
@Override
198-
public Object visit(WildAnnotationTypePattern node, Object data) {
199-
node.getTypePattern().accept(this, data);
200-
return node;
201-
}
202-
203197
/**
204198
* Do the ExactAnnotationTypePatterns have the incorrect target?
205199
*/

0 commit comments

Comments
 (0)