diff options
-rw-r--r-- | java/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java b/java/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java index c17ce562e8..2bfef7f4b8 100644 --- a/java/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java +++ b/java/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java @@ -1823,7 +1823,7 @@ public abstract class AbstractQueue<X extends AbstractQueue<X>> lastSeen = context.getLastSeenEntry(); releasedNode = context.getReleasedEntry(); - node = (releasedNode != null && lastSeen.compareTo(releasedNode)>0) ? releasedNode : getEntries().next( + node = (releasedNode != null && lastSeen.compareTo(releasedNode)>=0) ? releasedNode : getEntries().next( lastSeen); } return node; |