hibernate-dev
[Prev] Thread [Next] | [Prev] Date [Next]
[hibernate-dev] Re: [BV] Another border case Emmanuel Bernard Mon Jun 22 21:00:32 2009
I've added@throws IllegalArgumentException ... or if null is passed to the varargs groups
On Jun 19, 2009, at 12:18, Hardy Ferentschik wrote:
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 defaultgroup be assumed? --Hardy
_______________________________________________ hibernate-dev mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/hibernate-dev
- [hibernate-dev] [BV] Another border case Hardy Ferentschik
- [hibernate-dev] Re: [BV] Another border case Emmanuel Bernard <=