You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2014/12/03 18:38:51 UTC

qpid-jms git commit: remove overridden method in QueueBrowser that does the same as its parent

Repository: qpid-jms
Updated Branches:
  refs/heads/master 33893e8f3 -> 7be4c07a6


remove overridden method in QueueBrowser that does the same as its parent


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

Branch: refs/heads/master
Commit: 7be4c07a6f9fb7cb15207698544117cf0de24bf9
Parents: 33893e8
Author: Robert Gemmell <ro...@apache.org>
Authored: Wed Dec 3 16:30:00 2014 +0000
Committer: Robert Gemmell <ro...@apache.org>
Committed: Wed Dec 3 16:30:00 2014 +0000

----------------------------------------------------------------------
 .../org/apache/qpid/jms/provider/amqp/AmqpQueueBrowser.java | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/7be4c07a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpQueueBrowser.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpQueueBrowser.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpQueueBrowser.java
index 5daeb02..9a3e9f5 100644
--- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpQueueBrowser.java
+++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpQueueBrowser.java
@@ -42,15 +42,6 @@ public class AmqpQueueBrowser extends AmqpConsumer {
     }
 
     /**
-     * Starts the QueueBrowser by activating drain mode with the initial credits.
-     */
-    @Override
-    public void start(AsyncResult request) {
-        getEndpoint().flow(resource.getPrefetchSize());
-        request.onSuccess();
-    }
-
-    /**
      * QueueBrowser will attempt to initiate a pull whenever there are no pending Messages.
      *
      * We need to initiate a drain to see if there are any messages and if the remote sender


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