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 "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2019/01/04 07:34:00 UTC

[jira] [Closed] (JAMES-2633) [MailboxEvent] Simpify constructor of FlagsUpdated

     [ https://issues.apache.org/jira/browse/JAMES-2633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tellier Benoit closed JAMES-2633.
---------------------------------

> [MailboxEvent] Simpify constructor of FlagsUpdated
> --------------------------------------------------
>
>                 Key: JAMES-2633
>                 URL: https://issues.apache.org/jira/browse/JAMES-2633
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Trần Tiến Đức
>            Priority: Major
>             Fix For: 3.3.0
>
>
> {code:java}
> public FlagsUpdated(MailboxSession.SessionId sessionId, User user, MailboxPath path, MailboxId mailboxId, List<MessageUid> uids, List<UpdatedFlags> updatedFlags) {
>     super(sessionId, user, path, mailboxId);
>     this.uids = ImmutableList.copyOf(uids);
>     this.updatedFlags = ImmutableList.copyOf(updatedFlags);
> }
> {code}
>  
> uids list can be computed from updatedFlags list. We can remove uids in the parameters of FlagsUpdated constructor



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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