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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to