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

MSAL

Replace String.indexOf(char ch, int fromIndex) with String.indexOf(char).

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

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