Transform calls to Objects.isNull(..) and Objects.nonNull(..)
Apache 2.0Replace calls to Objects.isNull(..) and Objects.nonNull(..) with a simple null check. Using these methods outside of stream predicates is not idiomatic.
org. openrewrite. java. RemoveObjectsIsNullmod run . --recipe= org. openrewrite. java. RemoveObjectsIsNullInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.