Description
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