Skip to content

Commit 4609bb7

Browse files
authored
Merge pull request #5881 from nverwer/develop-6.x.x-monex299
Make unique query history keys for monex
2 parents 261d81c + ab0c76d commit 4609bb7

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)