<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">+1 for returning a void descriptor. The
less null checks we need, the better.<br>
<br>
seb<br>
<br>
On 11.02.2013 12:08, Gunnar Morling wrote:<br>
</div>
<blockquote
cite="mid:CADGJaX9oy=vYQD6iwvuKD+Vgc=gZsHg+pONmhzSSO-wUxeNWiA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi all,
<div><br>
</div>
<div style="">Currently the
method ExecutableDescriptor#getReturnValueDescriptor() returns
null for methods which have no return value.</div>
<div style=""><br>
</div>
<div style="">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.</div>
<div style=""><br>
</div>
<div style="">Any thoughts?</div>
<div style=""><br>
</div>
<div style="">Thanks,</div>
<div style=""><br>
</div>
<div style="">--Gunnar</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
beanvalidation-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev">https://lists.jboss.org/mailman/listinfo/beanvalidation-dev</a></pre>
</blockquote>
<br>
</body>
</html>