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/07/21 20:58:53 UTC

[activemq-artemis] 31/33: fix up errorprone error and an IDE warning

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

commit 7eb9d2b38551b69ba48bd6eb3a9618ccd18b5ad8
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();
    }