ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [11/50] [abbrv] ignite git commit: Sprint-2 - Restored original client projection behavior.
Date Thu, 03 Sep 2015 01:03:20 GMT
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 <agoncharuk@gridgain.com>
Authored: Thu Mar 26 19:13:05 2015 -0700
Committer: Alexey Goncharuk <agoncharuk@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.


Mime
View raw message