Skip to content

Commit 165b1df

Browse files
committed
Adopt UnnecessaryParenthesesVisitor
1 parent f2bd8eb commit 165b1df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/openrewrite/java/migrate/apache/commons/lang/IsNotEmptyToJdk.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public J visitMethodInvocation(J.MethodInvocation method, ExecutionContext ctx)
9090
maybeRemoveImport("org.codehaus.plexus.util.StringUtils");
9191

9292
// Remove excess parentheses
93-
doAfterVisit(new org.openrewrite.java.cleanup.UnnecessaryParentheses().getVisitor());
93+
doAfterVisit(new org.openrewrite.java.cleanup.UnnecessaryParenthesesVisitor());
9494

9595
return replacementTemplate.apply(updateCursor(mi), mi.getCoordinates().replace(), arg, arg);
9696
}

0 commit comments

Comments
 (0)