diff --git a/src/main/java/org/openrewrite/java/migrate/javax/AddJaxbRuntime.java b/src/main/java/org/openrewrite/java/migrate/javax/AddJaxbRuntime.java index 09fcb6556..1ef39fff2 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/AddJaxbRuntime.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/AddJaxbRuntime.java @@ -97,7 +97,7 @@ public TreeVisitor getScanner(AtomicBoolean acc) { if (acc.get()) { return (J) tree; } - J t = new UsesType("javax.xml.bind..*", true).visit(tree, ctx); + Tree t = new UsesType("javax.xml.bind..*", true).visit(tree, ctx); if (t != tree) { acc.set(true); }