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)" <ji...@apache.org> on 2011/06/17 11:59:47 UTC

[jira] [Created] (MAILBOX-94) MessageMapper.findRecentMessagesInMailbox(...) should get renamed to MessageMapper.findRecentMessageUidsInMailbox(..) and only return the uids

MessageMapper.findRecentMessagesInMailbox(...) should get renamed to MessageMapper.findRecentMessageUidsInMailbox(..) and only return the uids
----------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MAILBOX-94
                 URL: https://issues.apache.org/jira/browse/MAILBOX-94
             Project: James Mailbox
          Issue Type: Improvement
          Components: store
    Affects Versions: 0.2
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 0.3


MessageMapper.findRecentMessagesInMailbox(..) returns a List of Message<?> instances but only the UIDs are needed. So I think it would make sense to rename the method to MessageMapper.findRecentMessageUidsInMailbox(..) and return a List of Long objects. This can allow the implementation to handle this in a more optimized fashion

--
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] (MAILBOX-94) MessageMapper.findRecentMessagesInMailbox(...) should get renamed to MessageMapper.findRecentMessageUidsInMailbox(..) and only return the uids

Posted by "Norman Maurer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAILBOX-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved MAILBOX-94.
----------------------------------

    Resolution: Fixed

> MessageMapper.findRecentMessagesInMailbox(...) should get renamed to MessageMapper.findRecentMessageUidsInMailbox(..) and only return the uids
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MAILBOX-94
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-94
>             Project: James Mailbox
>          Issue Type: Improvement
>          Components: store
>    Affects Versions: 0.2
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.3
>
>
> MessageMapper.findRecentMessagesInMailbox(..) returns a List of Message<?> instances but only the UIDs are needed. So I think it would make sense to rename the method to MessageMapper.findRecentMessageUidsInMailbox(..) and return a List of Long objects. This can allow the implementation to handle this in a more optimized fashion

--
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