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
commit 5fa18f63d83df1eadc87d767efd5e762798f6a52 Author: Benoit Tellier <[email protected]> AuthorDate: Thu May 13 16:29:53 2021 +0700 [REFACTORING] Reactive version for MessageIdMapper::copyInMailbox --- .../main/java/org/apache/james/mailbox/store/mail/MessageIdMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailbox/store/src/main/java/org/apache/james/mailbox/store/mail/MessageIdMapper.java b/mailbox/store/src/main/java/org/apache/james/mailbox/store/mail/MessageIdMapper.java index 0db04f8..02740cd 100644 --- a/mailbox/store/src/main/java/org/apache/james/mailbox/store/mail/MessageIdMapper.java +++ b/mailbox/store/src/main/java/org/apache/james/mailbox/store/mail/MessageIdMapper.java @@ -58,7 +58,7 @@ public interface MessageIdMapper { void copyInMailbox(MailboxMessage mailboxMessage, Mailbox mailbox) throws MailboxException; default Mono<Void> copyInMailboxReactive(MailboxMessage mailboxMessage, Mailbox mailbox) { - return Mono.fromRunnable(Throwing.runnable(() -> copyInMailboxReactive(mailboxMessage, mailbox)).sneakyThrow()); + return Mono.fromRunnable(Throwing.runnable(() -> copyInMailbox(mailboxMessage, mailbox)).sneakyThrow()); } void delete(MessageId messageId); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
