Use static fields where possible for CAPABILITIES
-------------------------------------------------

                 Key: IMAP-336
                 URL: https://issues.apache.org/jira/browse/IMAP-336
             Project: JAMES Imap
          Issue Type: Improvement
          Components: Protocol
    Affects Versions: 0.2.1
            Reporter: Norman Maurer
            Assignee: Norman Maurer
            Priority: Minor
             Fix For: 0.3


Most times we return the same CAPABILITES everytime to the client. In the code 
we often create a new ArrayList for this on every response. This is not needed 
as these will never change. So we should use a unmodifiable static List and 
just return it

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to