Replace String.indexOf(String, 0) with String.indexOf(String)
MSALReplace String.indexOf(String str, int fromIndex) with String.indexOf(String).
org. openrewrite. java. migrate. lang. StringRulesRecipes$IndexOfStringRecipemod 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.