Use String.contentEquals(CharSequence) instead of String.equals(CharSequence.toString())

MSAL

Use String.contentEquals(CharSequence) instead of String.equals(CharSequence.toString()).

org.openrewrite.staticanalysis.EqualsToContentEquals
mod run . --recipe=org.openrewrite.staticanalysis.EqualsToContentEquals

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