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 <[email protected]>
Authored: Thu Apr 2 21:00:41 2015 +0100
Committer: Robert Gemmell <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to