From cefdc8dde47e783db5acda0e56d81ac2f8be45f3 Mon Sep 17 00:00:00 2001 From: Tiago Bueno <49003339+tlbueno@users.noreply.github.com> Date: Wed, 3 Nov 2021 09:25:17 -0300 Subject: [PATCH] ARTEMIS-3538 fix extra-tests formatting and examples compilation - Checkstyle verification fails on JMSXDeliveryCountTest because of empty line with trailing spaces - examples classes DummyXid failed to compile because of uncommented separation comment --- .../java/org/apache/activemq/artemis/jms/example/DummyXid.java | 2 -- .../java/org/apache/activemq/artemis/jms/example/DummyXid.java | 2 -- .../java/org/apache/activemq/artemis/jms/example/DummyXid.java | 2 -- 3 files changed, 6 deletions(-) diff --git a/examples/features/standard/xa-heuristic/src/main/java/org/apache/activemq/artemis/jms/example/DummyXid.java b/examples/features/standard/xa-heuristic/src/main/java/org/apache/activemq/artemis/jms/example/DummyXid.java index 5321b883c2..e6426e6091 100644 --- a/examples/features/standard/xa-heuristic/src/main/java/org/apache/activemq/artemis/jms/example/DummyXid.java +++ b/examples/features/standard/xa-heuristic/src/main/java/org/apache/activemq/artemis/jms/example/DummyXid.java @@ -98,8 +98,6 @@ public class DummyXid implements Xid { return globalTransactionId; } ----------- - @Override public int hashCode() { if (!hashCalculated) { diff --git a/examples/features/standard/xa-receive/src/main/java/org/apache/activemq/artemis/jms/example/DummyXid.java b/examples/features/standard/xa-receive/src/main/java/org/apache/activemq/artemis/jms/example/DummyXid.java index aa23863ea0..9f79782b12 100644 --- a/examples/features/standard/xa-receive/src/main/java/org/apache/activemq/artemis/jms/example/DummyXid.java +++ b/examples/features/standard/xa-receive/src/main/java/org/apache/activemq/artemis/jms/example/DummyXid.java @@ -99,8 +99,6 @@ public class DummyXid implements Xid { return globalTransactionId; } ----------- - @Override public int hashCode() { if (!hashCalculated) { diff --git a/examples/features/standard/xa-send/src/main/java/org/apache/activemq/artemis/jms/example/DummyXid.java b/examples/features/standard/xa-send/src/main/java/org/apache/activemq/artemis/jms/example/DummyXid.java index 7e35ce2fe9..f27b782694 100644 --- a/examples/features/standard/xa-send/src/main/java/org/apache/activemq/artemis/jms/example/DummyXid.java +++ b/examples/features/standard/xa-send/src/main/java/org/apache/activemq/artemis/jms/example/DummyXid.java @@ -96,8 +96,6 @@ public class DummyXid implements Xid { return globalTransactionId; } ----------- - @Override public int hashCode() { if (!hashCalculated) {