rouazana commented on a change in pull request #435:
URL: https://github.com/apache/james-project/pull/435#discussion_r633368674
##########
File path:
mailbox/store/src/main/java/org/apache/james/mailbox/store/mail/model/FlagsFactory.java
##########
@@ -60,10 +60,7 @@ private static Flags asFlags(MailboxMessage mailboxMessage,
String[] userFlags)
}
public static Flags createFlags(MailboxMessage mailboxMessage, String[]
userFlags) {
- return builder()
- .flags(asFlags(mailboxMessage, userFlags))
- .addUserFlags(userFlags)
- .build();
+ return asFlags(mailboxMessage, userFlags);
Review comment:
why not removing createFlags and replace it by asFlags then?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]