Replace String.indexOf(String, 0) with String.indexOf(String)

MSAL

Replace String.indexOf(String str, int fromIndex) with String.indexOf(String).

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

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