Prefer java.util.Objects#equals

MSAL

Prefer java.util.Objects#equals instead of using com.google.common.base.Objects#equal.

org.openrewrite.java.migrate.guava.PreferJavaUtilObjectsEquals
mod run . --recipe=org.openrewrite.java.migrate.guava.PreferJavaUtilObjectsEquals

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

Recipe list

It runs these recipes, in this order.

  1. Migrate Guava equality without static import collisions