commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1023965 - /commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/PredicateTransformer.java
Date Mon, 18 Oct 2010 19:35:24 GMT
Author: sebb
Date: Mon Oct 18 19:35:24 2010
New Revision: 1023965

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

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

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/PredicateTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/PredicateTransformer.java?rev=1023965&r1=1023964&r2=1023965&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/PredicateTransformer.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/PredicateTransformer.java
Mon Oct 18 19:35:24 2010
@@ -70,7 +70,7 @@ public class PredicateTransformer<T> imp
      * @return the transformed result
      */
     public Boolean transform(T input) {
-        return iPredicate.evaluate(input);
+        return Boolean.valueOf(iPredicate.evaluate(input));
     }
 
     /**



Mime
View raw message