2014/1/17 Mark Thomas <ma...@apache.org> > > + protected static final ThreadBindingListener > DEFAULT_NAMING_LISTENER = (new ThreadBindingListener() { > > + public void bind() {} > > + public void unbind() {} > > + }); > > + protected ThreadBindingListener threadBindingListener = > DEFAULT_NAMING_LISTENER; > > What is the purpose of the above code? Would it not be simpler just to > leave threadBindingListener as null?
Nothing special, just less null checks. Rémy