assertEquals(a, null) to assertNull(a)

MSAL

Using assertNull(a) is simpler and more clear.

org.openrewrite.java.testing.cleanup.AssertEqualsNullToAssertNull
mod run . --recipe=org.openrewrite.java.testing.cleanup.AssertEqualsNullToAssertNull

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