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 2010/06/08 13:05:11 UTC
[jira] Resolved: (IMAP-151) Replace
MailboxMapper.existsMailboxStartingWith() with hasChildren()
[ https://issues.apache.org/jira/browse/IMAP-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved IMAP-151.
--------------------------------
Fix Version/s: 0.1
Resolution: Fixed
Commited patch IMAP-151a with some small adjustments. Thx for the patch!
> Replace MailboxMapper.existsMailboxStartingWith() with hasChildren()
> --------------------------------------------------------------------
>
> Key: IMAP-151
> URL: https://issues.apache.org/jira/browse/IMAP-151
> Project: JAMES Imap
> Issue Type: Improvement
> Reporter: Tim-Christian Mundt
> Assignee: Norman Maurer
> Fix For: 0.1
>
> Attachments: IMAP-151.patch, IMAP-151a.patch
>
>
> existsMailboxStartingWith() is only used to find out whether a mailbox has children. For some implementations it's more efficient to use another mechanism (e.g. JCR nodes have a hasNodes() method). Thus existsMailboxStartingWith() should be removed, hasChildren() should be added and the implementations should make use of that.
--
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org