mirror of
https://github.com/corda/corda.git
synced 2025-06-14 13:18:18 +00:00
Fix missing flush in PrintStream
This commit is contained in:
@ -31,6 +31,7 @@ public class PrintStream extends OutputStream {
|
|||||||
public synchronized void print(String s) {
|
public synchronized void print(String s) {
|
||||||
try {
|
try {
|
||||||
out.write(s.getBytes());
|
out.write(s.getBytes());
|
||||||
|
if (autoFlush) flush();
|
||||||
} catch (IOException e) { }
|
} catch (IOException e) { }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user