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

Tellier Benoit resolved JAMES-2633.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.3.0

Commit 544924a9cb181704bbbc42101f0fb8d2d614fad0 solved this

> [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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to