Replace redundant String method calls with self

MSAL

Replace redundant substring(..) and toString() method calls with the String self.

org.openrewrite.java.migrate.lang.StringRulesRecipes$RedundantCallRecipe
mod run . --recipe='org.openrewrite.java.migrate.lang.StringRulesRecipes$RedundantCallRecipe'

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