Refaster template CollectionRules.CollectionIsEmpty
Apache 2.0Prefer Collection#isEmpty() over non-JDK, less efficient, or more verbose alternatives.
tech. picnic. errorprone. refasterrules. CollectionRulesRecipes$CollectionIsEmptyRecipemod run . --recipe= 'tech. picnic. errorprone. refasterrules. CollectionRulesRecipes$CollectionIsEmptyRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.