diff --git a/src/main/java/org/openrewrite/java/testing/junit5/UpdateTestAnnotation.java b/src/main/java/org/openrewrite/java/testing/junit5/UpdateTestAnnotation.java index f7f3314b8..dbe906653 100644 --- a/src/main/java/org/openrewrite/java/testing/junit5/UpdateTestAnnotation.java +++ b/src/main/java/org/openrewrite/java/testing/junit5/UpdateTestAnnotation.java @@ -55,7 +55,6 @@ public TreeVisitor getVisitor() { private static class UpdateTestAnnotationVisitor extends JavaIsoVisitor { private static final AnnotationMatcher JUNIT4_TEST = new AnnotationMatcher("@org.junit.Test"); - private JavaParser.@Nullable Builder javaParser; private JavaParser.Builder javaParser(ExecutionContext ctx) { @@ -66,7 +65,6 @@ private static class UpdateTestAnnotationVisitor extends JavaIsoVisitor