[
https://issues.apache.org/jira/browse/IMAP-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913464#action_12913464
]
Eric Charles commented on IMAP-217:
-----------------------------------
InMemoryMailboxSessionMapperFactory uses mapper.deleteAll
mailbox-memory project does not compile on my side.
public void deleteAll() throws MailboxException {
final MailboxMapper<Long> mapper = mailboxMapper;
mapper.execute(new Mapper.VoidTransaction() {
public void runVoid() throws MailboxException {
mapper.deleteAll();
}
});
((InMemoryMessageMapper) messageMapper).deleteAll();
((InMemorySubscriptionMapper) subscriptionMapper).deleteAll();
}
> Remove methods findMailboxById and deleteAll from MailboxMapper
> ----------------------------------------------------------------
>
> Key: IMAP-217
> URL: https://issues.apache.org/jira/browse/IMAP-217
> Project: JAMES Imap
> Issue Type: Improvement
> Components: Store
> Affects Versions: 0.1, 0.2
> Reporter: François-Denis Gonthier
> Assignee: Norman Maurer
> Fix For: 0.2
>
>
> findMailboxById and deleteAll are either not really used, or totally unused.
> From Norman:
> I just reviewed the code and you are right.. We should remove both
> methods form the interface (KISS).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]