qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject [07/13] qpid-proton git commit: NO-JIRA: fix erroneous getRemoteIdleTimeout()
Date Sat, 25 Apr 2015 19:36:08 GMT
NO-JIRA: fix erroneous getRemoteIdleTimeout()

The getter was incorrectly dividing the value in half before returning
it.

(cherry picked from commit 677ea33fd6dfc362ab4272da394aa5944cc15637)


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/c4b63419
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/c4b63419
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/c4b63419

Branch: refs/heads/0.9.x
Commit: c4b63419c26ce7afeaad9304934bd68efbd543b0
Parents: 073a9c1
Author: Dominic Evans <dominic.evans@uk.ibm.com>
Authored: Thu Apr 2 21:00:41 2015 +0100
Committer: Robert Gemmell <robbie@apache.org>
Committed: Sat Apr 25 20:24:17 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/qpid/proton/engine/impl/TransportImpl.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/c4b63419/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/TransportImpl.java
----------------------------------------------------------------------
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/TransportImpl.java
b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/TransportImpl.java
index 39a059b..ee190a6 100644
--- a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/TransportImpl.java
+++ b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/TransportImpl.java
@@ -1458,7 +1458,7 @@ public class TransportImpl extends EndpointImpl
     }
 
     public int getRemoteIdleTimeout() {
-        return _remoteIdleTimeout / 2;
+        return _remoteIdleTimeout;
     }
 
     @Override


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message