You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by ed...@apache.org on 2016/03/15 07:08:58 UTC

hama git commit: HAMA-986: Hashcode calculation

Repository: hama
Updated Branches:
  refs/heads/master 7de1cbce3 -> 64d7254fa


HAMA-986: Hashcode calculation


Project: http://git-wip-us.apache.org/repos/asf/hama/repo
Commit: http://git-wip-us.apache.org/repos/asf/hama/commit/64d7254f
Tree: http://git-wip-us.apache.org/repos/asf/hama/tree/64d7254f
Diff: http://git-wip-us.apache.org/repos/asf/hama/diff/64d7254f

Branch: refs/heads/master
Commit: 64d7254fa20c65101e0dd4bbe5c1e85da3e6a152
Parents: 7de1cbc
Author: Edward J. Yoon <ed...@apache.org>
Authored: Tue Mar 15 15:08:17 2016 +0900
Committer: Edward J. Yoon <ed...@apache.org>
Committed: Tue Mar 15 15:08:17 2016 +0900

----------------------------------------------------------------------
 CHANGES.txt                                             | 12 +++++++++++-
 core/src/main/java/org/apache/hama/ipc/AsyncClient.java |  2 +-
 2 files changed, 12 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hama/blob/64d7254f/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 48048c8..d3121e9 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,6 +1,16 @@
 Hama Change Log
 
-Release 0.7.1 (unreleased changes)
+Release 0.7.2 (unreleased changes)
+
+  NEW FEATURES
+
+  BUG FIXES
+
+    HAMA-986: There is a missing value when calculating hashcode of AsyncClient (JongYoon Lim via edwardyoon)
+
+  IMPROVEMENTS
+
+Release 0.7.1 - March 14, 2016
 
   NEW FEATURES
 

http://git-wip-us.apache.org/repos/asf/hama/blob/64d7254f/core/src/main/java/org/apache/hama/ipc/AsyncClient.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/hama/ipc/AsyncClient.java b/core/src/main/java/org/apache/hama/ipc/AsyncClient.java
index ba0266a..1c64c06 100644
--- a/core/src/main/java/org/apache/hama/ipc/AsyncClient.java
+++ b/core/src/main/java/org/apache/hama/ipc/AsyncClient.java
@@ -1127,7 +1127,7 @@ public class AsyncClient {
       result = PRIME * result + maxIdleTime;
       result = PRIME * result + pingInterval;
       result = PRIME * result + ((protocol == null) ? 0 : protocol.hashCode());
-      result = PRIME * rpcTimeout;
+      result = PRIME * result + rpcTimeout;
       result = PRIME * result
           + ((serverPrincipal == null) ? 0 : serverPrincipal.hashCode());
       result = PRIME * result + (tcpNoDelay ? 1231 : 1237);