You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by kl...@apache.org on 2016/02/01 21:55:27 UTC

[10/50] [abbrv] incubator-geode git commit: Fixed typo while comparing two network address.

Fixed typo while comparing two network address.


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

Branch: refs/heads/feature/GEODE-773-2
Commit: 8a8571f43e4dbefa02d00e4d57a8f7965ed4fa09
Parents: 3bd930f
Author: Hitesh Khamesra <hk...@pivotal.io>
Authored: Wed Jan 27 10:07:01 2016 -0800
Committer: Hitesh Khamesra <hk...@pivotal.io>
Committed: Wed Jan 27 15:52:56 2016 -0800

----------------------------------------------------------------------
 .../gemfire/cache/client/internal/AutoConnectionSourceImpl.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/8a8571f4/gemfire-core/src/main/java/com/gemstone/gemfire/cache/client/internal/AutoConnectionSourceImpl.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/cache/client/internal/AutoConnectionSourceImpl.java b/gemfire-core/src/main/java/com/gemstone/gemfire/cache/client/internal/AutoConnectionSourceImpl.java
index 1098fbe..6fe1c6b 100644
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/cache/client/internal/AutoConnectionSourceImpl.java
+++ b/gemfire-core/src/main/java/com/gemstone/gemfire/cache/client/internal/AutoConnectionSourceImpl.java
@@ -75,7 +75,7 @@ public class AutoConnectionSourceImpl implements ConnectionSource {
         return 0;
       }
       
-      int result = o1.getAddress().getCanonicalHostName().compareTo(o1.getAddress().getCanonicalHostName());
+      int result = o1.getAddress().getCanonicalHostName().compareTo(o2.getAddress().getCanonicalHostName());
       if(result != 0) {
         return result;
       }