qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject [2/3] git commit: Fix method name to match the add variant.
Date Tue, 07 Oct 2014 22:47:17 GMT
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 <tabish121@gmail.com>
Authored: Tue Oct 7 18:40:00 2014 -0400
Committer: Timothy Bish <tabish121@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


Mime
View raw message