hibernate-dev

[Prev] Thread [Next]  |  [Prev] Date [Next]

[hibernate-dev] [BV] Another border case Hardy Ferentschik Fri Jun 19 04:00:24 2009

hi,

I have a question regarding another border case and the different validate methods in Validator.
The javadocs for the vararg groups parameter says:

         * @param groups groups targeted for validation
         * (default to [EMAIL PROTECTED] javax.validation.groups.Default})

What if null is passed? I would think a IllegalArgumentException should be raised. Or should the default
group be assumed?

--Hardy
_______________________________________________
hibernate-dev mailing list
[EMAIL PROTECTED]
https://lists.jboss.org/mailman/listinfo/hibernate-dev