You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by iv...@apache.org on 2015/07/20 13:57:33 UTC

incubator-ignite git commit: #ignite-1109: fix comments after review.

Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-1109 70db4a1af -> 1b987a03f


#ignite-1109: fix comments after review.


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

Branch: refs/heads/ignite-1109
Commit: 1b987a03fa51ea522a302aa81a5caaad1bc1ed5c
Parents: 70db4a1
Author: ivasilinets <iv...@gridgain.com>
Authored: Mon Jul 20 14:57:26 2015 +0300
Committer: ivasilinets <iv...@gridgain.com>
Committed: Mon Jul 20 14:57:26 2015 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/cache/GridCacheProcessor.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/1b987a03/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 7297f07..f5ccaec 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
@@ -2645,7 +2645,8 @@ public class GridCacheProcessor extends GridProcessorAdapter {
                         locHashIdResolver, rmtHashIdResolver, true);
                 }
 
-                if (locHashIdResolver == null && rmtHashIdResolver.equals(defHashIdResolver)) {
+                if (locHashIdResolver == null &&
+                    (rmtHashIdResolver != null && rmtHashIdResolver.equals(defHashIdResolver))) {
                     U.warn(log, "Set " + RendezvousAffinityFunction.class + " with " + defHashIdResolver +
                         " to CacheConfiguration to start node [cacheName=" + rmtAttr.cacheName() + "]");
                 }