logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject NullOutputStream.NULL_OUTPUT_STREAM;
Date Sun, 04 Sep 2016 06:02:02 GMT
It seems really weird to me to see code like:

os = NullOutputStream.NULL_OUTPUT_STREAM;

instead of:

os = NullOutputStream.INSTANCE;


os = NullOutputStream.getInstance();

Any objection to this change?


E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

View raw message