You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2019/02/19 19:44:47 UTC

[activemq-artemis] branch master updated: NO-JIRA Removing Debug Message from code

This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/master by this push:
     new e1c1d6e  NO-JIRA Removing Debug Message from code
     new d78cd81  This closes #2551
e1c1d6e is described below

commit e1c1d6ef66549a9b9bebdec39dc69c9e59cb7153
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Thu Feb 14 17:55:49 2019 +0100

    NO-JIRA Removing Debug Message from code
---
 .../activemq/artemis/protocol/amqp/proton/handler/ProtonHandler.java  | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/proton/handler/ProtonHandler.java b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/proton/handler/ProtonHandler.java
index 2f730fb..a4b2131 100644
--- a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/proton/handler/ProtonHandler.java
+++ b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/proton/handler/ProtonHandler.java
@@ -146,10 +146,6 @@ public class ProtonHandler extends ProtonInitializable implements SaslListener {
 
    public void requireHandler() {
       if (!workerExecutor.inEventLoop()) {
-         new Exception("saco!!!").printStackTrace();
-         // this should not happen unless there is an obvious programming error
-         log.warn("Using inHandler is required", new Exception("trace"));
-         System.exit(-1);
          throw new IllegalStateException("this method requires to be called within the handler, use the executor");
       }
    }