qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [2/2] qpid-proton git commit: NO-JIRA: fix erroneous getRemoteIdleTimeout()
Date Thu, 02 Apr 2015 20:02:22 GMT
NO-JIRA: fix erroneous getRemoteIdleTimeout()

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


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

Branch: refs/heads/master
Commit: 677ea33fd6dfc362ab4272da394aa5944cc15637
Parents: 836cf27
Author: Dominic Evans <dominic.evans@uk.ibm.com>
Authored: Thu Apr 2 21:00:41 2015 +0100
Committer: Dominic Evans <dominic.evans@uk.ibm.com>
Committed: Thu Apr 2 21:00:41 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/677ea33f/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