Skip to content

Commit 6e58483

Browse files
fix: update used FindImports constructor to not match inherited (#411)
1 parent c9f481a commit 6e58483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/openrewrite/java/testing/junit5/UpdateTestAnnotation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public String getDescription() {
4343
public TreeVisitor<?, ExecutionContext> getVisitor() {
4444
return Preconditions.check(Preconditions.or(
4545
new UsesType<>("org.junit.Test", false),
46-
new FindImports("org.junit.Test").getVisitor()
46+
new FindImports("org.junit.Test", null).getVisitor()
4747
), new UpdateTestAnnotationVisitor());
4848
}
4949

0 commit comments

Comments
 (0)