Gary,

Good catch!

I'm still thinking it may be easier if ThreadContext.ContextStack does not 
extend Collection (it adds quite a few methods). Perhaps the client code could 
use the existing asList method? (I don't have a strong opinion on this, just 
thought it could save you some work...)

Sent from my iPhone

> On 2014/05/19, at 10:27, Gary Gregory <[email protected]> wrote:
> 
> FYI:
> 
> I plan on replacing org.apache.logging.log4j.ThreadContext.EMPTY_STACK with 
> an object that is in fact immutable, in the style of Collections.emptyList().
> 
> Gary
> 
> -- 
> E-Mail: [email protected] | [email protected] 
> 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