diff --git a/exist-core/src/main/java/org/exist/util/hashtable/SequencedLongHashMap.java b/exist-core/src/main/java/org/exist/util/hashtable/SequencedLongHashMap.java index c03e2bfd0ee..ee5b1e22c80 100644 --- a/exist-core/src/main/java/org/exist/util/hashtable/SequencedLongHashMap.java +++ b/exist-core/src/main/java/org/exist/util/hashtable/SequencedLongHashMap.java @@ -75,7 +75,7 @@ public SequencedLongHashMap(final int iSize) { * @return the value associated with the key, or null if the key is absent */ public @Nullable V get(final long key) { - return map.get(key); + return map.getAndMoveToLast(key); } /**