This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit eb53f4992ad65eb3c6b10d8c12f1173574f25adc
Author: Benoit Tellier <[email protected]>
AuthorDate: Wed Dec 11 09:40:37 2019 +0700

    [Refactoring] Remove unused IMAP constants
---
 .../org/apache/james/imap/api/ImapConstants.java   | 30 ----------------------
 1 file changed, 30 deletions(-)

diff --git 
a/protocols/imap/src/main/java/org/apache/james/imap/api/ImapConstants.java 
b/protocols/imap/src/main/java/org/apache/james/imap/api/ImapConstants.java
index 17162f3..d5026f1 100644
--- a/protocols/imap/src/main/java/org/apache/james/imap/api/ImapConstants.java
+++ b/protocols/imap/src/main/java/org/apache/james/imap/api/ImapConstants.java
@@ -41,20 +41,10 @@ public interface ImapConstants {
 
     String UID = "UID";
 
-    String MIME_HEADER_CONTENT_LOCATION = "Content-Location";
-
-    String MIME_HEADER_CONTENT_MD5 = "Content-MD5";
-
-    String MIME_HEADER_CONTENT_LANGUAGE = "Content-Language";
-
-    String[] EMPTY_STRING_ARRAY = {};
-
     byte BYTE_OPENING_PARENTHESIS = 0x28;
 
     byte BYTE_CLOSING_PARENTHESIS = 0x29;
 
-    byte BYTE_SP = 0x20;
-
     byte BYTE_DQUOTE = 0x22;
 
     byte BYTE_BACK_SLASH = 0x5C;
@@ -69,16 +59,6 @@ public interface ImapConstants {
 
     byte BYTE_CLOSE_BRACE = 0x7D;
 
-    char OPENING_PARENTHESIS = '(';
-
-    char CLOSING_PARENTHESIS = ')';
-
-    char OPENING_SQUARE_BRACKET = '[';
-
-    char CLOSING_SQUARE_BRACKET = ']';
-
-    char SP_CHAR = ' ';
-
     char DQUOTE = '\"';
 
     String VERSION = "IMAP4rev1";
@@ -89,8 +69,6 @@ public interface ImapConstants {
 
     Capability SUPPORTS_RFC3348 = Capability.of("CHILDREN");
 
-    String UTF8 = "UTF-8";
-
     Capability SUPPORTS_I18NLEVEL_1 = Capability.of("I18NLEVEL=1");
 
     Capability SUPPORTS_NAMESPACES = Capability.of("NAMESPACE");
@@ -279,12 +257,6 @@ public interface ImapConstants {
 
     String NAME_ATTRIBUTE_UNMARKED = "\\Unmarked";
 
-    String PS_TEXT = "TEXT";
-
-    String PS_HEADER = "HEADER";
-
-    String PS_MIME = "MIME";
-
     String FETCH_RFC822 = "RFC822";
 
     String FETCH_RFC822_HEADER = "RFC822.HEADER";
@@ -306,8 +278,6 @@ public interface ImapConstants {
 
     String COMPRESS_COMMAND_NAME = "COMPRESS";
 
-    int DEFAULT_BATCH_SIZE = 100;
-
     // Quota resources definition
 
     String STORAGE_QUOTA_RESOURCE = "STORAGE";


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to