Fix missing flush in PrintStream

This commit is contained in:
Eric Scharff 2010-09-05 09:07:18 -06:00
parent e7a48c0fa2
commit a26eb1b2b9

View File

@ -31,6 +31,7 @@ public class PrintStream extends OutputStream {
public synchronized void print(String s) {
try {
out.write(s.getBytes());
if (autoFlush) flush();
} catch (IOException e) { }
}