chibenwa commented on code in PR #997:
URL: https://github.com/apache/james-project/pull/997#discussion_r878973055
##########
mailbox/store/src/main/java/org/apache/james/mailbox/store/StoreMailboxManager.java:
##########
@@ -590,7 +590,7 @@ private List<MailboxRenamedResult> doRenameMailbox(Mailbox
mailbox, MailboxPath
.asUserBound();
locker.executeWithLock(from, (LockAwareExecution<Void>) () -> {
block(mapper.findMailboxWithPathLike(query)
- .flatMap(sub -> {
+ .concatMap(sub -> {
Review Comment:
I think we can agree this concatMap is not really beneficial...
Should we roll it back? What do you think?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]