summaryrefslogtreecommitdiff
path: root/qpid/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
commit10faf43196760585ea6cadf8fb3a8775e231969c (patch)
tree1354888b75fdf0849cd196587213b3f668449fa0 /qpid/java/common/src/test
parent196c7e7d2c1038e923159a42ddb17242390a5124 (diff)
downloadqpid-python-10faf43196760585ea6cadf8fb3a8775e231969c.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@901000 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common/src/test')
-rw-r--r--qpid/java/common/src/test/java/org/apache/qpid/transport/TestNetworkDriver.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/common/src/test/java/org/apache/qpid/transport/TestNetworkDriver.java b/qpid/java/common/src/test/java/org/apache/qpid/transport/TestNetworkDriver.java
index a4c4b59cdd..ffe6c63d96 100644
--- a/qpid/java/common/src/test/java/org/apache/qpid/transport/TestNetworkDriver.java
+++ b/qpid/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)
{
}