* commit 'ca9ba160ae8d0b00919298845aceba8b9dc514d0': Fix inconsistency in LoggingPrintStream.
This commit is contained in:
@@ -293,7 +293,7 @@ abstract class LoggingPrintStream extends PrintStream {
|
||||
|
||||
@Override
|
||||
public synchronized void println(String s) {
|
||||
if (builder.length() == 0) {
|
||||
if (builder.length() == 0 && s != null) {
|
||||
// Optimization for a simple println.
|
||||
int length = s.length();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user