Skip to content

Commit cee26f8

Browse files
authored
Merge pull request #161 from evolvedbinary/6.x.x/hotfix/jmx-query-keys
[6.x.x] Fix Query identity in the JMX process output
2 parents cf21a90 + 8bee9fa commit cee26f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

exist-core/src/main/java/org/exist/management/impl/ProcessReportMXBean.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ public int compareTo(final QueryKey other) {
123123
if (other == null) {
124124
return 1;
125125
}
126-
126+
if (id != other.id) {
127+
return Integer.compare(id, other.id);
128+
}
127129
return key.compareTo(other.key);
128130
}
129131
}

0 commit comments

Comments
 (0)