Repository: incubator-ignite Updated Branches: refs/heads/ignite-sql-tests 566287a1a -> 71ea0d779
# 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-sql-tests Commit: be5291173934df07745da556947e5ecfde956cc9 Parents: 798cce8 Author: Artem Shutak <ashu...@gridgain.com> Authored: Fri Feb 20 16:04:10 2015 +0300 Committer: Artem Shutak <ashu...@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()); }