From db9a8bb76f08690309da387f9ebdf665c459465f Mon Sep 17 00:00:00 2001 From: Robert Godfrey Date: Thu, 14 Aug 2014 22:53:31 +0000 Subject: QPID-3978 : [Java Broker] Fix bug in unacknowledged map where non locked (deleted) messages were not being excluded from the messages to dequeue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618079 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/qpid/server/protocol/v0_8/UnacknowledgedMessageMapImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/java') diff --git a/qpid/java/broker-plugins/amqp-0-8-protocol/src/main/java/org/apache/qpid/server/protocol/v0_8/UnacknowledgedMessageMapImpl.java b/qpid/java/broker-plugins/amqp-0-8-protocol/src/main/java/org/apache/qpid/server/protocol/v0_8/UnacknowledgedMessageMapImpl.java index 1bd9ab079e..c33af48d8e 100644 --- a/qpid/java/broker-plugins/amqp-0-8-protocol/src/main/java/org/apache/qpid/server/protocol/v0_8/UnacknowledgedMessageMapImpl.java +++ b/qpid/java/broker-plugins/amqp-0-8-protocol/src/main/java/org/apache/qpid/server/protocol/v0_8/UnacknowledgedMessageMapImpl.java @@ -158,7 +158,7 @@ public class UnacknowledgedMessageMapImpl implements UnacknowledgedMessageMap acknowledged.add(instance); } } - return ackedMessageMap.values(); + return acknowledged; } private void collect(long key, Map msgs) -- cgit v1.2.1