ah, good one! did not know about this, I'll replace the code On Wed, Dec 9, 2015 at 2:20 PM, Chetan Mehrotra <[email protected]> wrote:
> On Wed, Dec 9, 2015 at 6:36 PM, <[email protected]> wrote: > > + private static String multiplier(String in, int times) { > > + StringBuilder sb = new StringBuilder(); > > + for (int i = 0; i < times; i++) { > > + sb.append(in); > > + } > > + return sb.toString(); > > + } > > + > > May be use com.google.common.base.Strings#repeat? > > Chetan Mehrotra >
