ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [18/18] incubator-ignite git commit: ignite-471-2: remove assert
Date Thu, 21 May 2015 09:51:51 GMT
ignite-471-2: remove assert


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

Branch: refs/heads/ignite-471-2
Commit: fdb5b17ffcbd5ffe3d9ad5aed08c65b395aca3ea
Parents: f2f9f66
Author: Denis Magda <dmagda@gridgain.com>
Authored: Thu May 21 12:50:25 2015 +0300
Committer: Denis Magda <dmagda@gridgain.com>
Committed: Thu May 21 12:50:25 2015 +0300

----------------------------------------------------------------------
 .../internal/processors/cache/GridCacheProcessor.java       | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/fdb5b17f/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
index d4acbb1..37e3f4d 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
@@ -774,8 +774,6 @@ public class GridCacheProcessor extends GridProcessorAdapter {
         for (GridCacheAdapter<?, ?> cache : caches.values())
             onKernalStart(cache);
 
-        boolean utilityCacheStarted = false;
-
         // Wait for caches in SYNC preload mode.
         for (CacheConfiguration cfg : ctx.config().getCacheConfiguration()) {
             GridCacheAdapter<?, ?> cache = caches.get(maskNull(cfg.getName()));
@@ -789,14 +787,9 @@ public class GridCacheProcessor extends GridProcessorAdapter {
                 cache.preloader().syncFuture().get();
             }
 
-            if (CU.isUtilityCache(cache.name())) {
+            if (CU.isUtilityCache(cache.name()))
                 ctx.cacheObjects().onUtilityCacheStarted();
-
-                utilityCacheStarted = true;
-            }
         }
-
-        assert utilityCacheStarted;
     }
 
     /** {@inheritDoc} */


Mime
View raw message