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 <[email protected]> wrote: > > I wrote: > > Objects.requireNonNull(logEventInput, "LogEventInput"); > > and it not not compile... :( > > One day... Java 7 ;) > > 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
