Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2633

[MailboxEvent] Simpify constructor of FlagsUpdated

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • None
    • None

    Description

      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);
      }
      

       

      uids list can be computed from updatedFlags list. We can remove uids in the parameters of FlagsUpdated constructor

      Attachments

        Activity

          People

            Unassigned Unassigned
            trantienduchn Trần Tiến Đức
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: