Replace redundant String.format() invocations that are wrapped with PrintStream operations

MSAL

Replaces PrintStream.print(String.format(format, ...args)) with PrintStream.printf(format, ...args) (and for println, appends a newline to the format string).

org.openrewrite.staticanalysis.ReplaceRedundantFormatWithPrintf
mod run . --recipe=org.openrewrite.staticanalysis.ReplaceRedundantFormatWithPrintf

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.