You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ta...@apache.org on 2014/10/08 00:47:17 UTC

[2/3] git commit: Fix method name to match the add variant.

Fix method name to match the add variant.

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

Branch: refs/heads/master
Commit: b53f9658da2599b8901662f60ef8d246e37d27c7
Parents: 936098e
Author: Timothy Bish <ta...@gmail.com>
Authored: Tue Oct 7 18:40:00 2014 -0400
Committer: Timothy Bish <ta...@gmail.com>
Committed: Tue Oct 7 18:40:00 2014 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/qpid/jms/JmsConnection.java       | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/b53f9658/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnection.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnection.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnection.java
index 2d49c48..8164049 100644
--- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnection.java
+++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnection.java
@@ -796,9 +796,11 @@ public class JmsConnection implements Connection, TopicConnection, QueueConnecti
      *
      * @param listener
      *        the listener to remove from the collection.
+     *
+     * @return true if the given listener was removed from the current set.
      */
-    public void removeTransportListener(JmsConnectionListener listener) {
-        this.connectionListeners.remove(listener);
+    public boolean removeConnectionListener(JmsConnectionListener listener) {
+        return this.connectionListeners.remove(listener);
     }
 
     public boolean isForceAsyncSend() {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org