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

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new afd7951eb2 ARTEMIS-4749 simplify switch in ThreadDumpUtil
afd7951eb2 is described below

commit afd7951eb20f995347c17b6dc9d8b29ad4f83ba9
Author: Justin Bertram <[email protected]>
AuthorDate: Thu May 2 14:03:23 2024 -0500

    ARTEMIS-4749 simplify switch in ThreadDumpUtil
---
 .../main/java/org/apache/activemq/artemis/utils/ThreadDumpUtil.java    | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/ThreadDumpUtil.java
 
b/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/ThreadDumpUtil.java
index b3aff5e4fa..98d29fbf76 100644
--- 
a/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/ThreadDumpUtil.java
+++ 
b/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/ThreadDumpUtil.java
@@ -107,9 +107,6 @@ public final class ThreadDumpUtil {
                   sb.append('\n');
                   break;
                case WAITING:
-                  sb.append("\t-  waiting on " + threadInfo.getLockInfo());
-                  sb.append('\n');
-                  break;
                case TIMED_WAITING:
                   sb.append("\t-  waiting on " + threadInfo.getLockInfo());
                   sb.append('\n');

Reply via email to