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

ignite git commit: IGNITE-9232 Remove commented method GridCacheUtils#isMongoCache - Fixes #4573.

Repository: ignite
Updated Branches:
  refs/heads/master c200268b7 -> 6fbb1294e


IGNITE-9232 Remove commented method GridCacheUtils#isMongoCache - Fixes #4573.

Signed-off-by: Dmitriy Pavlov <dp...@apache.org>


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

Branch: refs/heads/master
Commit: 6fbb1294eb214e0b0310d060a38a68b9f9b659f2
Parents: c200268
Author: uday <ud...@gmail.com>
Authored: Mon Aug 20 12:44:01 2018 +0300
Committer: Dmitriy Pavlov <dp...@apache.org>
Committed: Mon Aug 20 12:44:01 2018 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/6fbb1294/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 eed9627..9f65a7c 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
@@ -1102,30 +1102,6 @@ public class GridCacheUtils {
             return 1;
     }
 
-//    /**
-//     * @param cfg Grid configuration.
-//     * @param cacheName Cache name.
-//     * @return {@code True} in this is Mongo data or meta cache.
-//     */
-//    public static boolean isMongoCache(GridConfiguration cfg, @Nullable String cacheName) {
-//        GridMongoConfiguration mongoCfg = cfg.getMongoConfiguration();
-//
-//        if (mongoCfg != null) {
-//            if (F.eq(cacheName, mongoCfg.getDefaultDataCacheName()) || F.eq(cacheName, mongoCfg.getMetaCacheName()))
-//                return true;
-//
-//            // Mongo config probably has not been validated yet => possible NPE, so we check for null.
-//            if (mongoCfg.getDataCacheNames() != null) {
-//                for (String mongoCacheName : mongoCfg.getDataCacheNames().values()) {
-//                    if (F.eq(cacheName, mongoCacheName))
-//                        return true;
-//                }
-//            }
-//        }
-//
-//        return false;
-//    }
-
     /**
      * @param cfg Grid configuration.
      * @param cacheName Cache name.