Prefer StringBuilder#repeat(CharSequence, int) over less efficient alternatives

Apache 2.0

Warning: 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$StringBuilderRepeatRecipe
mod 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.