I'm guessing the author's intention was to make them both asserts.
I noticed a couple of unused returns in the test class mentioned in the subject. The specific code lines can be found here [1].
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. :-)
Thanks!
------------------------
Navin Surtani
Software Engineer
JBoss SET
JBoss EAP
Twitter: @navssurtani
[1] - https://github.com/infinispan/infinispan/blob/master/core/src/test/java/org/infinispan/tx/recovery/RecoveryWithDefaultCacheDistTest.java#L61
_______________________________________________
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev