Refaster template ComparatorRules.CollectionsMaxWithComparator
Apache 2.0Prefer Collections#max(Collection, Comparator) over less efficient alternatives.
tech. picnic. errorprone. refasterrules. ComparatorRulesRecipes$CollectionsMaxWithComparatorRecipemod run . --recipe= 'tech. picnic. errorprone. refasterrules. ComparatorRulesRecipes$CollectionsMaxWithComparatorRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.