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 2022/05/13 14:14:21 UTC

[activemq-artemis] branch new-logging updated: typo on comment

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

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


The following commit(s) were added to refs/heads/new-logging by this push:
     new 9befcecfcd typo on comment
9befcecfcd is described below

commit 9befcecfcd648530b2f0d5c84b137b5cadfaa7c5
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Fri May 13 10:14:14 2022 -0400

    typo on comment
---
 .../java/org/apache/activemq/artemis/logprocessor/LogProcessor.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/artemis-log-processor/src/main/java/org/apache/activemq/artemis/logprocessor/LogProcessor.java b/artemis-log-processor/src/main/java/org/apache/activemq/artemis/logprocessor/LogProcessor.java
index efadf15dc7..9b3b047de5 100644
--- a/artemis-log-processor/src/main/java/org/apache/activemq/artemis/logprocessor/LogProcessor.java
+++ b/artemis-log-processor/src/main/java/org/apache/activemq/artemis/logprocessor/LogProcessor.java
@@ -234,7 +234,7 @@ public class LogProcessor extends AbstractProcessor {
          return false;
       }
       String parameterClazz = parameter.toString();
-      if (parameterClazz.equals("java.lang.Throwable") || parameterClazz.endsWith("Exception")) { // bad luck if you named or class with Exception and it was not an exception ;)
+      if (parameterClazz.equals("java.lang.Throwable") || parameterClazz.endsWith("Exception")) { // bad luck if you named a class with Exception and it was not an exception ;)
          return true;
       }