void (int b) { if (overridden != null && Thread.currentThread() != thread) { overridden.write(b); return; } if (hasLineSeparator && !isLineSeparator(b)) { flush(); } else { hasLineSeparator |= isLineSeparator(b); } line.write(b); }