Refaster template ImmutableSetRules.SetsIntersectionImmutableCopy
Apache 2.0Prefer Sets.intersection(set1, set2).immutableCopy() over less efficient alternatives.
tech. picnic. errorprone. refasterrules. ImmutableSetRulesRecipes$SetsIntersectionImmutableCopyRecipemod run . --recipe= 'tech. picnic. errorprone. refasterrules. ImmutableSetRulesRecipes$SetsIntersectionImmutableCopyRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.