commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simonetrip...@apache.org>
Subject Re: svn commit: r1457869 - /commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/CollectionUtilsTest.java
Date Mon, 18 Mar 2013 19:07:26 GMT
> 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! :)

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/

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


Mime
View raw message