commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: svn commit: r1457869 - /commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/CollectionUtilsTest.java
Date Mon, 18 Mar 2013 19:11:35 GMT
Simone Tripodi wrote:

>> Well, it could be recoded like this:
>>
>> return !(o1.intValue() % 2 == 0 ^ o2.intValue() % 2 == 0);
>>
>> which is not really clearer but it is fewer chars..
>>
>> Gary
>>
> 
> well, looks smart to me! :)

Are you sure, that we don't have a checkstyle rule for too smart code?

;-)



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message