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 {@link 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