<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I've seen such meaningless code in many
other places and turned them into asserts. Please do so instead of
removing them.<br>
<br>
On 11/15/2012 11:13 AM, Dan Berindei wrote:<br>
</div>
<blockquote
cite="mid:CA+nfvwT4Oor-6r3k6Td9cuGCr=aG5v+YWv7pmxzy-_wShgd8oQ@mail.gmail.com"
type="cite">
<p dir="ltr">I'm guessing the author's intention was to make them
both asserts.</p>
<div class="gmail_quote">În data de 15.11.2012 07:35, "Navin
Surtani" <<a moz-do-not-send="true"
href="mailto:nsurtani@redhat.com">nsurtani@redhat.com</a>>
a scris:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
I noticed a couple of unused returns in the test class
mentioned in the subject. The specific code lines can be found
here [1].<br>
<br>
If there aren't any objections I'm going to remove these calls
as I can't see why that code is there. The returned boolean
type isn't being used for any checks. Well, it's not being
used at all. :-)<br>
<br>
Thanks!<br>
<br>
------------------------<br>
Navin Surtani<br>
<br>
<br>
Software Engineer<br>
JBoss SET<br>
JBoss EAP<br>
<br>
<br>
Twitter: @navssurtani<br>
<br>
[1] - <a moz-do-not-send="true"
href="https://github.com/infinispan/infinispan/blob/master/core/src/test/java/org/infinispan/tx/recovery/RecoveryWithDefaultCacheDistTest.java#L61"
target="_blank">https://github.com/infinispan/infinispan/blob/master/core/src/test/java/org/infinispan/tx/recovery/RecoveryWithDefaultCacheDistTest.java#L61</a><br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/infinispan-dev"
target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
infinispan-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/infinispan-dev">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a></pre>
</blockquote>
<br>
</body>
</html>