Hi all,

*NB:  Cross posting from the Hibernate Validator forum, since this is
spec-related, not implementation related.  HV forum post is at
https://forum.hibernate.org/viewtopic.php?f=9&t=1024895.*

I just entered https://hibernate.onjira.com/browse/BVAL-341 (the JSR-303
issue tracker, I think) since I was curious as to what other folks thought
about adding a @Nullable annotation to javax.validation.constraints to
communicate explicitly that null or non-null values are allowed. Along with
@NotNull & @Null, it basically completes the three possible answers to the
nullability question, "can't be null", "must be null", & "may be null".

Thoughts? Upvotes? :)

-matthew


-- 
mailto:[email protected] <[email protected]>
skype:matthewadams12
googletalk:[email protected]
http://matthewadams.me
http://www.linkedin.com/in/matthewadams

Reply via email to