Refaster template BigDecimalRules.BigDecimalSignumIsPositive
Apache 2.0Prefer a BigDecimal#signum() comparison to 0 over less efficient or less explicit alternatives.
tech. picnic. errorprone. refasterrules. BigDecimalRulesRecipes$BigDecimalSignumIsPositiveRecipemod run . --recipe= 'tech. picnic. errorprone. refasterrules. BigDecimalRulesRecipes$BigDecimalSignumIsPositiveRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.