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)" <ji...@apache.org> on 2015/06/22 17:18:00 UTC

[jira] [Created] (MAILBOX-240) Improve setFlags API

Tellier Benoit created MAILBOX-240:
--------------------------------------

             Summary: Improve setFlags API
                 Key: MAILBOX-240
                 URL: https://issues.apache.org/jira/browse/MAILBOX-240
             Project: James Mailbox
          Issue Type: Improvement
          Components: api
    Affects Versions: 0.6
            Reporter: Tellier Benoit
             Fix For: 0.6


We found two booleans in the signature of MessageManager::setFlags method. We found that this is unclear. We want to introduce a constant to replace these two boolean by something that is easily to undestand.

We also noticed that each mailbox have the same code fragment for transforming stored flags to their new value. We abstracted this process with an helper class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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