ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [10/47] incubator-ignite git commit: #IGNITE-86: refactoring
Date Tue, 03 Feb 2015 06:51:46 GMT
#IGNITE-86:  refactoring


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

Branch: refs/heads/ignite-sql
Commit: 6e1aa2a538f5109ed64f4c8a981e65502780c16a
Parents: 958401d
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Fri Jan 23 17:03:14 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Fri Jan 23 17:03:14 2015 +0300

----------------------------------------------------------------------
 .../grid/kernal/processors/cache/GridCacheDeploymentManager.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6e1aa2a5/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheDeploymentManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheDeploymentManager.java
b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheDeploymentManager.java
index c3578b7..7563ee9 100644
--- a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheDeploymentManager.java
+++ b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheDeploymentManager.java
@@ -182,10 +182,8 @@ public class GridCacheDeploymentManager<K, V> extends GridCacheSharedManagerAdap
     public void unwind(GridCacheContext ctx) {
         int cnt = 0;
 
-        //TODO:
-        if (undeploys.get(ctx) == null) {
+        if (undeploys.get(ctx) == null)
             return;
-        }
 
         for (CA c = undeploys.get(ctx).poll(); c != null; c = undeploys.get(ctx).poll())
{
             c.apply();


Mime
View raw message