it would be nice to have Spring version oforg.apache.commons.lang3.StringUtils.repeat

I have to add org.apache.commons.lang3 as dependency just to use that function.

Would you like me to make a PR?

Comment From: fml2

IMO Spring's StringUtil serves just the internal Spring needs, it's not a general purpose String library.

Comment From: bclozel

We tend to only add utility methods that are generally useful in the Spring Framework codebase, and deprecate/remove them as soon as a JDK variant exists. In this case, String::repeat (as of JDK 11) fills that role, even if partially.

I'm declining this enhancement proposal as a result. Thanks!

Comment From: JooHyukKim

@fml2 makes total sense.

@bclozel well understood. cheers!