Hi all,
Currently the method ExecutableDescriptor#getReturnValueDescriptor() returns null for methods which have no return value.
Alternatively we could return a descriptor, which has no constraints, is not cascaded etc. and has an element class of void.class. This might allow for a more regular processing without null checks when working with a collection of executable descriptors.
Any thoughts?
Thanks,
--Gunnar
_______________________________________________ beanvalidation-dev mailing list beanvalidation-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/beanvalidation-dev