ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [10/46] incubator-ignite git commit: # ignite-299 : Use ConcurrentMap instead of ClusterNodeLocalMap (delete 2 additional methods from ClusterNodeLocalMap)
Date Thu, 26 Feb 2015 09:31:31 GMT
# ignite-299 : Use ConcurrentMap instead of ClusterNodeLocalMap (delete 2 additional methods
from ClusterNodeLocalMap)


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

Branch: refs/heads/ignite-317
Commit: be5291173934df07745da556947e5ecfde956cc9
Parents: 798cce8
Author: Artem Shutak <ashutak@gridgain.com>
Authored: Fri Feb 20 16:04:10 2015 +0300
Committer: Artem Shutak <ashutak@gridgain.com>
Committed: Fri Feb 20 16:04:10 2015 +0300

----------------------------------------------------------------------
 .../internal/cluster/ClusterNodeLocalMapImpl.java      | 13 -------------
 1 file changed, 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/be529117/modules/core/src/main/java/org/apache/ignite/internal/cluster/ClusterNodeLocalMapImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/cluster/ClusterNodeLocalMapImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/cluster/ClusterNodeLocalMapImpl.java
index 948cae9..f3c5866 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/cluster/ClusterNodeLocalMapImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/cluster/ClusterNodeLocalMapImpl.java
@@ -19,13 +19,10 @@ package org.apache.ignite.internal.cluster;
 
 import org.apache.ignite.cluster.*;
 import org.apache.ignite.internal.*;
-import org.apache.ignite.internal.util.typedef.*;
 import org.apache.ignite.internal.util.typedef.internal.*;
 import org.jdk8.backport.*;
-import org.jetbrains.annotations.*;
 
 import java.io.*;
-import java.util.concurrent.*;
 
 /**
  *
@@ -59,16 +56,6 @@ public class ClusterNodeLocalMapImpl<K, V> extends ConcurrentHashMap8<K,
V> impl
     }
 
     /** {@inheritDoc} */
-    @Nullable @Override public V addIfAbsent(K key, @Nullable Callable<V> dflt) {
-        return F.addIfAbsent(this, key, dflt);
-    }
-
-    /** {@inheritDoc} */
-    @Override public V addIfAbsent(K key, V val) {
-        return F.addIfAbsent(this, key, val);
-    }
-
-    /** {@inheritDoc} */
     @Override public void writeExternal(ObjectOutput out) throws IOException {
         U.writeString(out, ctx.gridName());
     }


Mime
View raw message