You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Gary Gregory <ga...@gmail.com> on 2014/03/27 02:15:53 UTC
Java 7 wish...
I wrote:
Objects.requireNonNull(logEventInput, "LogEventInput");
and it not not compile... :(
One day... Java 7 ;)
Gary
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
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
Re: Java 7 wish...
Posted by Remko Popma <re...@gmail.com>.
You can use core.helpers.Assert#isNotNull
Same semantics.
(I like that method too...)
Sent from my iPhone
> On 2014/03/27, at 10:15, Gary Gregory <ga...@gmail.com> wrote:
>
> I wrote:
>
> Objects.requireNonNull(logEventInput, "LogEventInput");
>
> and it not not compile... :(
>
> One day... Java 7 ;)
>
> Gary
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@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