<div dir="ltr">Awesome; I&#39;ve created <a href="https://hibernate.onjira.com/browse/BVAL-385">https://hibernate.onjira.com/browse/BVAL-385</a> to keep track of this.</div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/2/11 Emmanuel Bernard <span dir="ltr">&lt;<a href="mailto:emmanuel@hibernate.org" target="_blank">emmanuel@hibernate.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I agree with everyone here.<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon 2013-02-11 13:25, Sebastian Thomschke wrote:<br>
&gt; +1 for returning a void descriptor. The less null checks we need,<br>
&gt; the better.<br>
&gt;<br>
&gt; seb<br>
&gt;<br>
&gt; On 11.02.2013 12:08, Gunnar Morling wrote:<br>
&gt; &gt;Hi all,<br>
&gt; &gt;<br>
&gt; &gt;Currently the method<br>
&gt; &gt;ExecutableDescriptor#getReturnValueDescriptor() returns null for<br>
&gt; &gt;methods which have no return value.<br>
&gt; &gt;<br>
&gt; &gt;Alternatively we could return a descriptor, which has no<br>
&gt; &gt;constraints, is not cascaded etc. and has an element class of<br>
&gt; &gt;void.class. This might allow for a more regular processing without<br>
&gt; &gt;null checks when working with a collection of executable<br>
&gt; &gt;descriptors.<br>
&gt; &gt;<br>
&gt; &gt;Any thoughts?<br>
&gt; &gt;<br>
&gt; &gt;Thanks,<br>
&gt; &gt;<br>
&gt; &gt;--Gunnar<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;_______________________________________________<br>
&gt; &gt;beanvalidation-dev mailing list<br>
&gt; &gt;<a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.jboss.org</a><br>
&gt; &gt;<a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/beanvalidation-dev</a><br>
&gt;<br>
<br>
&gt; _______________________________________________<br>
&gt; beanvalidation-dev mailing list<br>
&gt; <a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/beanvalidation-dev</a><br>
<br>
_______________________________________________<br>
beanvalidation-dev mailing list<br>
<a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/beanvalidation-dev</a><br>
</div></div></blockquote></div><br></div>