Prefer Collection.stream().anyMatch(Predicate)
MSALPrefer Collection.stream().anyMatch(Predicate) over Iterables.any(Collection, Predicate), and a filtered stream collected to a List over Iterables.filter(Collection, Predicate).
org. openrewrite. java. migrate. guava. NoGuavaIterablesAnyFiltermod run . --recipe= org. openrewrite. java. migrate. guava. NoGuavaIterablesAnyFilterInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.