You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2015/09/03 03:03:20 UTC

[11/50] [abbrv] ignite git commit: Sprint-2 - Restored original client projection behavior.

Sprint-2 - Restored original client projection behavior.


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

Branch: refs/heads/ignite-264
Commit: 03923c9b7ac57511ec73d49610807bf427d379f3
Parents: a7b3749
Author: Alexey Goncharuk <ag...@gridgain.com>
Authored: Thu Mar 26 19:13:05 2015 -0700
Committer: Alexey Goncharuk <ag...@gridgain.com>
Committed: Thu Mar 26 19:13:05 2015 -0700

----------------------------------------------------------------------
 .../processors/cache/GridCacheUtils.java         | 19 -------------------
 1 file changed, 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/03923c9b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java
index 6375afb..a090b12 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java
@@ -1549,25 +1549,6 @@ public class GridCacheUtils {
     }
 
     /**
-     * Gets cache ID by cache name.
-     *
-     * @param cacheName Cache name.
-     * @return Cache ID.
-     */
-    public static int cacheId(String cacheName) {
-        if (cacheName != null) {
-            int hash = cacheName.hashCode();
-
-            if (hash == 0)
-                hash = 1;
-
-            return hash;
-        }
-        else
-            return 1;
-    }
-
-    /**
      * Validates that cache key or cache value implements {@link Externalizable}
      *
      * @param log Logger used to log warning message.