Arsnael commented on code in PR #1670:
URL: https://github.com/apache/james-project/pull/1670#discussion_r1290835962


##########
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:
   Make the constructor private then?



##########
core/src/main/java/org/apache/james/core/quota/QuotaType.java:
##########
@@ -23,6 +23,13 @@
 
 public class QuotaType extends StringWrapper {
 
+    public static final QuotaType COUNT = of("count");
+    public static final QuotaType SIZE = of("size");
+
+    public static QuotaType of(String value) {

Review Comment:
   Make the constructor private then?



##########
core/src/main/java/org/apache/james/core/quota/QuotaScope.java:
##########
@@ -23,6 +23,14 @@
 
 public class QuotaScope extends StringWrapper {
 
+    public static final QuotaScope GLOBAL = of("global");
+    public static final QuotaScope DOMAIN = of("domain");
+    public static final QuotaScope USER = of("user");
+
+    public static QuotaScope of(String value) {

Review Comment:
   Make the constructor private 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.

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]

Reply via email to