summaryrefslogtreecommitdiff
path: root/qpid/java
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2009-05-14 15:16:11 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2009-05-14 15:16:11 +0000
commit70c71154f9daa923734c473cc6966cdcbb01408f (patch)
tree02d87ca846f39cd7c5d160ef9f4ab60a9438a1c7 /qpid/java
parent33ca9c1908d37b1442d0aa6118d0604c6ac99365 (diff)
downloadqpid-python-70c71154f9daa923734c473cc6966cdcbb01408f.tar.gz
This is related to QPID-1853. Since the socket is being closed inside the finnaly block we can remove the socket.close after the while loop inside the run method.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@774812 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
-rw-r--r--qpid/java/common/src/main/java/org/apache/qpid/transport/network/io/IoReceiver.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/qpid/java/common/src/main/java/org/apache/qpid/transport/network/io/IoReceiver.java b/qpid/java/common/src/main/java/org/apache/qpid/transport/network/io/IoReceiver.java
index 13fd470e61..6144edb947 100644
--- a/qpid/java/common/src/main/java/org/apache/qpid/transport/network/io/IoReceiver.java
+++ b/qpid/java/common/src/main/java/org/apache/qpid/transport/network/io/IoReceiver.java
@@ -134,7 +134,6 @@ final class IoReceiver implements Runnable
}
}
}
- socket.close();
}
catch (Throwable t)
{