Prefer StringBuilder#repeat(CharSequence, int) over less efficient alternatives
Apache 2.0Warning: this rule is not behavior preserving: while the original code
throws a NullPointerException if the repeated string is null, the replacement
code will repeat the literal string "null".
tech. picnic. errorprone. refasterrules. StringBuilderRulesRecipes$StringBuilderRepeatRecipemod run . --recipe= 'tech. picnic. errorprone. refasterrules. StringBuilderRulesRecipes$StringBuilderRepeatRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.