Remove redundant null checks before literal equals

MSAL

Removes redundant null checks before equals() comparisons when the receiver is a literal string, since literals can never be null and equals() returns false for null arguments.

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

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