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 2025/02/12 15:54:22 UTC
(activemq-artemis) 05/13: ARTEMIS-5297 remove duplicate if statements
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 <jb...@apache.org>
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: commits-unsubscribe@activemq.apache.org
For additional commands, e-mail: commits-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact