ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [46/50] [abbrv] incubator-ignite git commit: #ignite-gg-9966: Small fixes.
Date Fri, 03 Apr 2015 10:47:52 GMT
#ignite-gg-9966: Small fixes.


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

Branch: refs/heads/gg-9998
Commit: 4f4772fee06a0fd358f2f5a57f858d3d1cd0c2fa
Parents: f3c1c6c
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Fri Apr 3 11:20:59 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Fri Apr 3 11:20:59 2015 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/internal/GridKernalContextImpl.java    | 2 +-
 .../apache/ignite/internal/processors/spi/OsNodeValidator.java    | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4f4772fe/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContextImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContextImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContextImpl.java
index a28c09c..67d0a49 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContextImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContextImpl.java
@@ -476,7 +476,7 @@ public class GridKernalContextImpl implements GridKernalContext, Externalizable
             dataStructuresProc = (DataStructuresProcessor)comp;
         else if (comp instanceof ClusterProcessor)
             cluster = (ClusterProcessor)comp;
-        else if (!(comp instanceof OsNodeValidator))
+        else if (!(comp instanceof NodeValidator))
             assert (comp instanceof GridPluginComponent) : "Unknown manager class: " + comp.getClass();
 
         if (addToList)

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4f4772fe/modules/core/src/main/java/org/apache/ignite/internal/processors/spi/OsNodeValidator.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/spi/OsNodeValidator.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/spi/OsNodeValidator.java
index a350157..0b678df 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/spi/OsNodeValidator.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/spi/OsNodeValidator.java
@@ -25,8 +25,6 @@ import org.apache.ignite.internal.util.typedef.internal.*;
 import org.apache.ignite.spi.*;
 import org.jetbrains.annotations.*;
 
-import java.util.*;
-
 import static org.apache.ignite.internal.IgniteNodeAttributes.*;
 
 /**
@@ -67,7 +65,6 @@ public class OsNodeValidator extends GridProcessorAdapter implements NodeValidat
 
                 return new IgniteSpiNodeValidationResult(node.id(), errMsg, errMsg);
             }
-
         }
 
         return null;


Mime
View raw message