activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [1/2] activemq-artemis git commit: ARTEMIS-993 removing unreachable code
Date Fri, 24 Feb 2017 21:09:03 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 56ccfdd0c -> f7a9ba4f6


ARTEMIS-993 removing unreachable code


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/16285ba5
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/16285ba5
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/16285ba5

Branch: refs/heads/master
Commit: 16285ba5486be242f2c701f3bdbdfb770174f5f2
Parents: 56ccfdd
Author: Justin Bertram <jbertram@apache.org>
Authored: Fri Feb 24 13:36:23 2017 -0600
Committer: Justin Bertram <jbertram@apache.org>
Committed: Fri Feb 24 13:36:23 2017 -0600

----------------------------------------------------------------------
 .../activemq/artemis/core/client/impl/ClientConsumerImpl.java    | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/16285ba5/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientConsumerImpl.java
----------------------------------------------------------------------
diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientConsumerImpl.java
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientConsumerImpl.java
index f937c40..2b4ab7e 100644
--- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientConsumerImpl.java
+++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientConsumerImpl.java
@@ -253,10 +253,6 @@ public final class ClientConsumerImpl implements ClientConsumerInternal
{
                      }
                   }
 
-                  if (m != null) {
-                     session.workDone();
-                  }
-
                   try {
                      wait(toWait);
                   } catch (InterruptedException e) {


Mime
View raw message