commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1683576 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/EqualPredicate.java
Date Thu, 04 Jun 2015 15:23:56 GMT
Author: tn
Date: Thu Jun  4 15:23:56 2015
New Revision: 1683576

URL: http://svn.apache.org/r1683576
Log:
Fix checkstyle warning.

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/EqualPredicate.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/EqualPredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/EqualPredicate.java?rev=1683576&r1=1683575&r2=1683576&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/EqualPredicate.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/EqualPredicate.java
Thu Jun  4 15:23:56 2015
@@ -16,8 +16,6 @@
  */
 package org.apache.commons.collections4.functors;
 
-import static org.apache.commons.collections4.functors.NullPredicate.*;
-
 import java.io.Serializable;
 
 import org.apache.commons.collections4.Equator;
@@ -50,7 +48,7 @@ public final class EqualPredicate<T> imp
      */
     public static <T> Predicate<T> equalPredicate(final T object) {
         if (object == null) {
-            return nullPredicate();
+            return NullPredicate.nullPredicate();
         }
         return new EqualPredicate<T>(object);
     }
@@ -66,7 +64,7 @@ public final class EqualPredicate<T> imp
      */
     public static <T> Predicate<T> equalPredicate(final T object, final Equator<T>
equator) {
         if (object == null) {
-            return nullPredicate();
+            return NullPredicate.nullPredicate();
         }
         return new EqualPredicate<T>(object, equator);
     }



Mime
View raw message