You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ro...@apache.org on 2022/07/21 15:49:24 UTC

[activemq-artemis] branch new-logging updated: fix up errorprone error and an IDE warning

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

robbie 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 3b25a796a0 fix up errorprone error and an IDE warning
3b25a796a0 is described below

commit 3b25a796a070c9304810ad26625e55a2c8961d90
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Thu Jul 21 16:49:11 2022 +0100

    fix up errorprone error and an IDE warning
---
 .../java/org/apache/activemq/artemis/logprocessor/MyException.java     | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/artemis-log-processor/src/test/java/org/apache/activemq/artemis/logprocessor/MyException.java b/artemis-log-processor/src/test/java/org/apache/activemq/artemis/logprocessor/MyException.java
index 1c99e60d01..80f7daac55 100644
--- a/artemis-log-processor/src/test/java/org/apache/activemq/artemis/logprocessor/MyException.java
+++ b/artemis-log-processor/src/test/java/org/apache/activemq/artemis/logprocessor/MyException.java
@@ -19,6 +19,8 @@ package org.apache.activemq.artemis.logprocessor;
 
 public class MyException extends Exception {
 
+   private static final long serialVersionUID = 1L;
+
    public MyException(String error) {
       super(error);
    }
@@ -27,6 +29,7 @@ public class MyException extends Exception {
       super(error, cause);
    }
 
+   @Override
    public String toString() {
       return getMessage();
    }