You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2021/10/15 03:43:35 UTC
[james-project] branch master updated: JAMES-3658 Make
appendMessageToMailbox protected for reusage
This is an automated email from the ASF dual-hosted git repository.
rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
The following commit(s) were added to refs/heads/master by this push:
new 7dfc09c JAMES-3658 Make appendMessageToMailbox protected for reusage
7dfc09c is described below
commit 7dfc09c6ab05cd4ddc45b1ae6963c50c9460d527
Author: Rene Cordier <rc...@linagora.com>
AuthorDate: Wed Oct 13 10:41:48 2021 +0700
JAMES-3658 Make appendMessageToMailbox protected for reusage
---
.../apache/james/transport/mailets/delivery/MailboxAppenderImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/delivery/MailboxAppenderImpl.java b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/delivery/MailboxAppenderImpl.java
index a2d4979..09f32bb 100644
--- a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/delivery/MailboxAppenderImpl.java
+++ b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/delivery/MailboxAppenderImpl.java
@@ -81,7 +81,7 @@ public class MailboxAppenderImpl implements MailboxAppender {
}
}
- private AppendResult appendMessageToMailbox(MimeMessage mail, MailboxSession session, MailboxPath path) throws MailboxException, MessagingException {
+ protected AppendResult appendMessageToMailbox(MimeMessage mail, MailboxSession session, MailboxPath path) throws MailboxException, MessagingException {
MessageManager mailbox = createMailboxIfNotExist(session, path);
if (mailbox == null) {
throw new MessagingException("Mailbox " + path + " for user " + session.getUser().asString() + " was not found on this server.");
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org