mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-18 10:54:54 +00:00
Fix DeadlockAnalyzer printer (#28615)
Remove `if` block that was always true.
This commit is contained in:
parent
617044e5fe
commit
68b7a5c281
@ -137,9 +137,7 @@ public class DeadlockAnalyzer {
|
||||
for (int x = 0; x < members.length; x++) {
|
||||
ThreadInfo ti = members[x];
|
||||
sb.append(ti.getThreadName());
|
||||
if (x < members.length) {
|
||||
sb.append(" > ");
|
||||
}
|
||||
sb.append(" > ");
|
||||
if (x == members.length - 1) {
|
||||
sb.append(ti.getLockOwnerName());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user