Arsnael commented on code in PR #1670:
URL: https://github.com/apache/james-project/pull/1670#discussion_r1289756065
##########
core/src/main/java/org/apache/james/core/quota/QuotaComponent.java:
##########
@@ -23,6 +23,14 @@
public class QuotaComponent extends StringWrapper {
+ public static final QuotaComponent MAILBOX = of("mailbox");
+ public static final QuotaComponent SIEVE = of("sieve");
+ public static final QuotaComponent JMAP_UPLOADS = of("jmapUploads");
+
+ public static QuotaComponent of(String value) {
Review Comment:
I find adding a whole static method just to pass from `new QuotaComponent`
to `of` is adding more verbosity for... not much any kind of gain?
--
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]