Replace lower and upper case String comparisons with String.equalsIgnoreCase(String)

MSAL

Replace String equality comparisons involving .toLowerCase() or .toUpperCase() with String.equalsIgnoreCase(String anotherString).

org.openrewrite.java.migrate.lang.StringRulesRecipes$UseEqualsIgnoreCaseRecipe
mod 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.