nonNull and similar methods [was Re: First round of java.util.Objects for code review (bug 6797535)]

Jesús Viñuales serverperformance at gmail.com
Wed Oct 14 15:07:23 UTC 2009


> I agree with Stephen. There are a slew of validation methods that
> would be beneficial, and if you really want to drive the JDK towards
> standard validation, refactor them out into a Validation class. Look
> at what Spring has written for themselves:
>
>http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/ut
il/Assert.html
>
>Paul

Fully agree with you both, Stephan and Paul. A Validation class  with a
broad perspective makes much more sense to me.
--Jesus




More information about the core-libs-dev mailing list