Skip to content

Commit

Permalink
Adopt UnnecessaryParenthesesVisitor
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Jul 21, 2023
1 parent f2bd8eb commit 165b1df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public J visitMethodInvocation(J.MethodInvocation method, ExecutionContext ctx)
maybeRemoveImport("org.codehaus.plexus.util.StringUtils");

// Remove excess parentheses
doAfterVisit(new org.openrewrite.java.cleanup.UnnecessaryParentheses().getVisitor());
doAfterVisit(new org.openrewrite.java.cleanup.UnnecessaryParenthesesVisitor());

return replacementTemplate.apply(updateCursor(mi), mi.getCoordinates().replace(), arg, arg);
}
Expand Down

0 comments on commit 165b1df

Please sign in to comment.