You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2015/12/30 15:32:38 UTC
[2/5] ignite git commit: IGNITE-2263: Removed "isNull" predicate =>
not used.
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 <vo...@gridgain.com>
Authored: Wed Dec 30 17:23:45 2015 +0300
Committer: vozerov-gridgain <vo...@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.