Replace redundant String.format() invocations that are wrapped with PrintStream operations
MSALReplaces PrintStream.print(String.format(format, ...args)) with PrintStream.printf(format, ...args) (and for println, appends a newline to the format string).
org. openrewrite. staticanalysis. ReplaceRedundantFormatWithPrintfmod run . --recipe= org. openrewrite. staticanalysis. ReplaceRedundantFormatWithPrintfInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.