I have a patch that does not warrant a JIRA on pastebin at
http://pastebin.com/dckkjc0T

It replaces calls like:

        final LoggerContext context = (LoggerContext)
LogManager.getContext(false);

with new LoggerContext methods like:

        final LoggerContext context = LoggerContext.getContext(false);

as I find the type casts we have all over the place distasteful.

If it were just me, I'd apply it, but I am looking for feedback since
perhaps the type cast is an intentional marker that once it jumping from
the API into the Core.

Gary

-- 
E-Mail: [email protected] | [email protected]
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
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

Reply via email to