ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [2/5] ignite git commit: IGNITE-2263: Removed "isNull" predicate => not used.
Date Wed, 30 Dec 2015 14:32:38 GMT
IGNITE-2263: Removed "isNull" predicate => not used.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/da168c6d
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/da168c6d
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/da168c6d

Branch: refs/heads/ignite-2263
Commit: da168c6d8a8abbb67dede6a9b645d050ea8bef4e
Parents: 64f6e32
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Wed Dec 30 17:23:45 2015 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Wed Dec 30 17:23:45 2015 +0300

----------------------------------------------------------------------
 .../ignite/internal/util/lang/GridFunc.java       | 18 ------------------
 1 file changed, 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/da168c6d/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridFunc.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridFunc.java
b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridFunc.java
index 1bf7c22..a40f188 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridFunc.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridFunc.java
@@ -144,13 +144,6 @@ public class GridFunc {
     };
 
     /** */
-    public static final IgnitePredicate<Object> IS_NULL = new P1<Object>() {
-        @Override public boolean apply(Object o) {
-            return o == null;
-        }
-    };
-
-    /** */
     public static final IgnitePredicate<Object> IS_NOT_NULL = new P1<Object>()
{
         @Override public boolean apply(Object o) {
             return o != null;
@@ -2143,17 +2136,6 @@ public class GridFunc {
     }
 
     /**
-     * Gets predicate that evaluates to {@code true} if its free variable is {@code null}.
-     *
-     * @param <T> Type of the free variable, i.e. the element the predicate is called
on.
-     * @return Predicate that evaluates to {@code true} if its free variable is {@code null}.
-     */
-    @SuppressWarnings("unchecked")
-    public static <T> IgnitePredicate<T> isNull() {
-        return (IgnitePredicate<T>)IS_NULL;
-    }
-
-    /**
      * Gets predicate that evaluates to {@code true} if its free variable is not {@code null}.
      *
      * @param <T> Type of the free variable, i.e. the element the predicate is called
on.


Mime
View raw message