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 2017/07/04 17:00:33 UTC

ignite git commit: Minor code cleanup

Repository: ignite
Updated Branches:
  refs/heads/ignite-2.1 77c5dc745 -> ee7566b10


Minor code cleanup


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

Branch: refs/heads/ignite-2.1
Commit: ee7566b1063de69ca4f261ee2088d69d231b1c2a
Parents: 77c5dc7
Author: Dmitriy Govorukhin <dm...@gmail.com>
Authored: Tue Jul 4 20:00:09 2017 +0300
Committer: Alexey Goncharuk <al...@gmail.com>
Committed: Tue Jul 4 20:00:09 2017 +0300

----------------------------------------------------------------------
 .../processors/cluster/GridClusterStateProcessor.java         | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/ee7566b1/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/GridClusterStateProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/GridClusterStateProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/GridClusterStateProcessor.java
index 031c596..d57c720 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/GridClusterStateProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/GridClusterStateProcessor.java
@@ -725,13 +725,6 @@ public class GridClusterStateProcessor extends GridProcessorAdapter {
             log.info("Start activation process [nodeId=" + ctx.localNodeId() + ", client=" + client +
                 ", topVer=" + cgsCtx.topVer + "]");
 
-        Collection<StoredCacheData> cfgs = new ArrayList<>();
-
-        for (DynamicCacheChangeRequest req : cgsCtx.batch.requests()) {
-            if (req.startCacheConfiguration() != null)
-                cfgs.add(new StoredCacheData(req.startCacheConfiguration()));
-        }
-
         try {
             if (!client)
                 sharedCtx.database().lock();