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…
Reference in New Issue