summaryrefslogtreecommitdiff
path: root/java/common/src/test
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2010-01-19 23:28:45 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2010-01-19 23:28:45 +0000
commitc2f00b035fd3c47e5365294716d919ba997ee1a6 (patch)
tree9d6ba13062d787fb97423b43a7a21edbf6210ccc /java/common/src/test
parent89e6f4eea1d172046c806ca3c01244bb0b9cfeee (diff)
downloadqpid-python-c2f00b035fd3c47e5365294716d919ba997ee1a6.tar.gz
Changed the setIdleTimeout method to take an int instead of a long.
The socket interface takes the so_timeout as an int and also the AMQP heartbeat interval is taken as an int. This change will help simplify the code that handles heartbeats. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901000 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/common/src/test')
-rw-r--r--java/common/src/test/java/org/apache/qpid/transport/TestNetworkDriver.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/common/src/test/java/org/apache/qpid/transport/TestNetworkDriver.java b/java/common/src/test/java/org/apache/qpid/transport/TestNetworkDriver.java
index a4c4b59cdd..ffe6c63d96 100644
--- a/java/common/src/test/java/org/apache/qpid/transport/TestNetworkDriver.java
+++ b/java/common/src/test/java/org/apache/qpid/transport/TestNetworkDriver.java
@@ -109,7 +109,7 @@ public class TestNetworkDriver implements NetworkDriver
}
- public void setIdleTimeout(long l)
+ public void setIdleTimeout(int i)
{
}