ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [07/45] incubator-ignite git commit: #IGNITE-86: remove unused param leftNodeId from onUndeploy function
Date Mon, 02 Feb 2015 16:54:47 GMT
#IGNITE-86: remove  unused param leftNodeId from  onUndeploy function


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

Branch: refs/heads/ignite-121-logging
Commit: 581949346ac506a13569f51c43a95a642e9e6c74
Parents: 4174a74
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Fri Jan 23 14:49:12 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Fri Jan 23 14:49:12 2015 +0300

----------------------------------------------------------------------
 .../deployment/GridDeploymentPerLoaderStore.java    | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/58194934/modules/core/src/main/java/org/gridgain/grid/kernal/managers/deployment/GridDeploymentPerLoaderStore.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/gridgain/grid/kernal/managers/deployment/GridDeploymentPerLoaderStore.java
b/modules/core/src/main/java/org/gridgain/grid/kernal/managers/deployment/GridDeploymentPerLoaderStore.java
index 9deb83c..a079e02 100644
--- a/modules/core/src/main/java/org/gridgain/grid/kernal/managers/deployment/GridDeploymentPerLoaderStore.java
+++ b/modules/core/src/main/java/org/gridgain/grid/kernal/managers/deployment/GridDeploymentPerLoaderStore.java
@@ -29,8 +29,6 @@ import org.gridgain.grid.kernal.managers.eventstorage.*;
 import org.gridgain.grid.kernal.processors.timeout.*;
 import org.gridgain.grid.util.*;
 import org.gridgain.grid.util.typedef.internal.*;
-import org.jetbrains.annotations.*;
-
 import java.util.*;
 
 import static org.apache.ignite.events.IgniteEventType.*;
@@ -91,7 +89,7 @@ public class GridDeploymentPerLoaderStore extends GridDeploymentStoreAdapter
{
                     }
 
                     for (IsolatedDeployment dep : rmv)
-                        dep.recordUndeployed(nodeId);
+                        dep.recordUndeployed();
                 }
             }
         };
@@ -122,7 +120,7 @@ public class GridDeploymentPerLoaderStore extends GridDeploymentStoreAdapter
{
         }
 
         for (IsolatedDeployment dep : cp)
-            dep.recordUndeployed(null);
+            dep.recordUndeployed();
 
         if (log.isDebugEnabled())
             log.debug(stopInfo());
@@ -150,7 +148,7 @@ public class GridDeploymentPerLoaderStore extends GridDeploymentStoreAdapter
{
         }
 
         for (IsolatedDeployment dep : rmv)
-            dep.recordUndeployed(null);
+            dep.recordUndeployed();
 
         if (log.isDebugEnabled())
             log.debug("Registered deployment discovery listener: " + discoLsnr);
@@ -351,7 +349,7 @@ public class GridDeploymentPerLoaderStore extends GridDeploymentStoreAdapter
{
                     }
 
                     if (rmv)
-                        dep.recordUndeployed(null);
+                        dep.recordUndeployed();
                 }
             });
         }
@@ -384,7 +382,7 @@ public class GridDeploymentPerLoaderStore extends GridDeploymentStoreAdapter
{
         }
 
         for (IsolatedDeployment dep : undeployed)
-            dep.recordUndeployed(null);
+            dep.recordUndeployed();
     }
 
     /** {@inheritDoc} */
@@ -462,10 +460,8 @@ public class GridDeploymentPerLoaderStore extends GridDeploymentStoreAdapter
{
 
         /**
          * Called to record all undeployed classes..
-         *
-         * @param leftNodeId Left node ID.
          */
-        void recordUndeployed(@Nullable UUID leftNodeId) {
+        void recordUndeployed() {
             assert !Thread.holdsLock(mux);
 
             GridEventStorageManager evts = ctx.event();


Mime
View raw message