Skip to content

Commit 32c3a42

Browse files
committed
Use new RemoveUnusedImports constructor
1 parent d46934b commit 32c3a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/openrewrite/java/testing/assertj/JUnitFailToAssertJFail.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public J.MethodInvocation visitMethodInvocation(J.MethodInvocation method, Execu
112112
);
113113
}
114114

115-
doAfterVisit(new RemoveUnusedImports().getVisitor());
115+
doAfterVisit(new RemoveUnusedImports(false).getVisitor());
116116
doAfterVisit(new UnqualifiedMethodInvocations());
117117
return m;
118118
}

0 commit comments

Comments
 (0)