renamed String.times to repeat to match guava