Replace lower and upper case String comparisons with String.equalsIgnoreCase(String)
MSALReplace String equality comparisons involving .toLowerCase() or .toUpperCase() with String.equalsIgnoreCase(String anotherString).
org. openrewrite. java. migrate. lang. StringRulesRecipes$UseEqualsIgnoreCaseRecipemod run . --recipe= 'org. openrewrite. java. migrate. lang. StringRulesRecipes$UseEqualsIgnoreCaseRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.