diff --git a/server/src/main/java/org/elasticsearch/monitor/jvm/DeadlockAnalyzer.java b/server/src/main/java/org/elasticsearch/monitor/jvm/DeadlockAnalyzer.java index 1d4234d689e..19253c52e30 100644 --- a/server/src/main/java/org/elasticsearch/monitor/jvm/DeadlockAnalyzer.java +++ b/server/src/main/java/org/elasticsearch/monitor/jvm/DeadlockAnalyzer.java @@ -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()); }