diff options
| author | Robert Gemmell <robbie@apache.org> | 2009-04-10 23:37:27 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2009-04-10 23:37:27 +0000 |
| commit | f0e81541320bc06abfd6c3a179f36054c4a1585c (patch) | |
| tree | 37e23a0afa6c25ebca6a296a800f6285a43924a5 /qpid/java | |
| parent | 67d42467daf75929c657f54b5b0a4c7421069b70 (diff) | |
| download | qpid-python-f0e81541320bc06abfd6c3a179f36054c4a1585c.tar.gz | |
QPID-1800: remove unecessary addAll() command, as the list is about to be cloned we can simply use the original list
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764105 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
| -rw-r--r-- | qpid/java/broker/src/main/java/org/apache/qpid/server/transactionlog/BaseTransactionLog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/broker/src/main/java/org/apache/qpid/server/transactionlog/BaseTransactionLog.java b/qpid/java/broker/src/main/java/org/apache/qpid/server/transactionlog/BaseTransactionLog.java index 7bf78ad977..6af39e3d1b 100644 --- a/qpid/java/broker/src/main/java/org/apache/qpid/server/transactionlog/BaseTransactionLog.java +++ b/qpid/java/broker/src/main/java/org/apache/qpid/server/transactionlog/BaseTransactionLog.java @@ -98,7 +98,7 @@ public class BaseTransactionLog implements TransactionLog else { //No existing list, add all provided queues (cloning toEnqueueList in case someone else changes original). - toEnqueueList.addAll(queues); + toEnqueueList = queues; _idToQueues.put(messageId, Collections.synchronizedList((ArrayList<AMQQueue>)toEnqueueList.clone())); } |
