Fix String#format and String#formatted expressions

MSAL

Fix String#format and String#formatted expressions by removing any unused arguments. Note this recipe is scoped to only transform format expressions which do not specify the argument index. Removing unused arguments eliminates dead code that may mask a mismatch between the format string and its parameters.

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

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