Update TextWriter.java