For == tests, a map seems better. Gary
On Mon, Sep 8, 2014 at 9:48 AM, Matt Sicker <[email protected]> wrote: > > > On Monday, 8 September 2014, Gary Gregory <[email protected]> wrote: > >> Also, why not use maps to implement the conversions? >> >> For standard level lookups? Because the ranges are for custom level > support. Plus, the name change sounds good. Just can't make it a > TypeConverter sadly. > > >> Gary >> >> On Mon, Sep 8, 2014 at 8:41 AM, Gary Gregory <[email protected]> >> wrote: >> >>> WRT org.apache.logging.log4j.jul.Levels >>> >>> I think these would be better names: >>> >>> Levels -> org.apache.logging.log4j.jul.LevelConverter >>> - toJulLevel >>> - toLog4jLevel >>> >>> 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 >>> >> >> >> >> -- >> 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 >> > > > -- > Matt Sicker <[email protected]> > -- 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
