Not a big deal, but the Java™ way to do this would probably use a `StringBuilder` since `String`s are immutable.