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 "Trần Tiến Đức (JIRA)" <se...@james.apache.org> on 2018/12/19 02:49:00 UTC
[jira] [Created] (JAMES-2633) [MailboxEvent] Simpify constructor of
FlagsUpdated
Trần Tiến Đức created JAMES-2633:
------------------------------------
Summary: [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
{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