[java] How to append a newline to StringBuilder