commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1024464 - /commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/TransformerPredicate.java
Date Tue, 19 Oct 2010 23:22:29 GMT
Author: sebb
Date: Tue Oct 19 23:22:28 2010
New Revision: 1024464

URL: http://svn.apache.org/viewvc?rev=1024464&view=rev
Log:
Explicit unboxing

Modified:
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/TransformerPredicate.java

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/TransformerPredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/TransformerPredicate.java?rev=1024464&r1=1024463&r2=1024464&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/TransformerPredicate.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/TransformerPredicate.java
Tue Oct 19 23:22:28 2010
@@ -76,7 +76,7 @@ public final class TransformerPredicate<
             throw new FunctorException(
                     "Transformer must return an instanceof Boolean, it was a null object");
         }
-        return result;
+        return result.booleanValue();
     }
 
     /**



Mime
View raw message