Can we deprecate and leave the old one in place after adding the new constant?

Sent from my iPhone

> On 2016/09/04, at 15:02, Gary Gregory <garydgreg...@gmail.com> wrote:
> 
> It seems really weird to me to see code like:
> 
> os = NullOutputStream.NULL_OUTPUT_STREAM;
> 
> instead of:
> 
> os = NullOutputStream.INSTANCE;
> 
> or:
> 
> os = NullOutputStream.getInstance();
> 
> Any objection to this change?
> 
> Gary
> 
> -- 
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org 
> Java Persistence with Hibernate, Second Edition
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

Reply via email to