You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ro...@apache.org on 2016/12/19 10:38:37 UTC

[7/9] james-project git commit: JAMES-1888 Remove ImmutableMap violation in MailboxEventDispatcher

JAMES-1888 Remove ImmutableMap violation in MailboxEventDispatcher


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/c2960936
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/c2960936
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/c2960936

Branch: refs/heads/master
Commit: c2960936ddeea572730eb83af7c4e200a177cf26
Parents: b88d0d0
Author: Benoit Tellier <bt...@linagora.com>
Authored: Fri Dec 16 11:10:15 2016 +0700
Committer: Benoit Tellier <bt...@linagora.com>
Committed: Mon Dec 19 16:36:29 2016 +0700

----------------------------------------------------------------------
 .../apache/james/mailbox/store/event/MailboxEventDispatcher.java    | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/c2960936/mailbox/store/src/main/java/org/apache/james/mailbox/store/event/MailboxEventDispatcher.java
----------------------------------------------------------------------
diff --git a/mailbox/store/src/main/java/org/apache/james/mailbox/store/event/MailboxEventDispatcher.java b/mailbox/store/src/main/java/org/apache/james/mailbox/store/event/MailboxEventDispatcher.java
index 082c309..0f833e5 100644
--- a/mailbox/store/src/main/java/org/apache/james/mailbox/store/event/MailboxEventDispatcher.java
+++ b/mailbox/store/src/main/java/org/apache/james/mailbox/store/event/MailboxEventDispatcher.java
@@ -64,7 +64,6 @@ public class MailboxEventDispatcher {
         SortedMap<MessageUid, MessageMetaData> metaDataMap = ImmutableSortedMap.<MessageUid, MessageMetaData>naturalOrder()
                 .put(messageMetaData.getUid(), messageMetaData)
                 .build();
-        metaDataMap.put(messageMetaData.getUid(), messageMetaData);
         added(session, metaDataMap, mailbox);
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org