This is an automated email from the ASF dual-hosted git repository. robbie pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
commit 27feb5d54e1d621a98f13bba68ef401ded7b684b Author: Justin Bertram <[email protected]> AuthorDate: Tue Feb 4 12:19:49 2025 -0600 ARTEMIS-5297 remove duplicate if statements --- .../main/java/org/apache/activemq/artemis/core/server/QueueConfig.java | 2 -- .../activemq/artemis/tests/extensions/ThreadLeakCheckDelegate.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/QueueConfig.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/QueueConfig.java index 0071e1cb7b..2b8ebb8256 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/QueueConfig.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/QueueConfig.java @@ -552,8 +552,6 @@ public final class QueueConfig { return false; if (delayBeforeDispatch != that.delayBeforeDispatch) return false; - if (purgeOnNoConsumers != that.purgeOnNoConsumers) - return false; if (groupRebalance != that.groupRebalance) return false; if (groupBuckets != that.groupBuckets) diff --git a/artemis-unit-test-support/src/main/java/org/apache/activemq/artemis/tests/extensions/ThreadLeakCheckDelegate.java b/artemis-unit-test-support/src/main/java/org/apache/activemq/artemis/tests/extensions/ThreadLeakCheckDelegate.java index 2ca5ee07d1..a63afb48de 100644 --- a/artemis-unit-test-support/src/main/java/org/apache/activemq/artemis/tests/extensions/ThreadLeakCheckDelegate.java +++ b/artemis-unit-test-support/src/main/java/org/apache/activemq/artemis/tests/extensions/ThreadLeakCheckDelegate.java @@ -242,8 +242,6 @@ public class ThreadLeakCheckDelegate { return true; } else if (threadName.contains("globalEventExecutor")) { return true; - } else if (threadName.contains("threadDeathWatcher")) { - return true; } else if (threadName.contains("netty-threads")) { // This is ok as we use EventLoopGroup.shutdownGracefully() which will shutdown things with a bit of delay // if the EventLoop's are still busy. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information, visit: https://activemq.apache.org/contact
