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 "Norman Maurer (JIRA)" <se...@james.apache.org> on 2011/08/24 07:36:29 UTC
[jira] [Created] (IMAP-336) Use static fields where possible for
CAPABILITIES
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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Resolved] (IMAP-336) Use static fields where possible for
CAPABILITIES
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/IMAP-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved IMAP-336.
--------------------------------
Resolution: Fixed
> 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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org