You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2019/11/18 02:50:44 UTC

[james-project] 10/44: [Refactoring] ResultUtils: Remove unused javadoc and constants

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 4caef1433ab8a6a64d2d1d1e76296b26a2f23ed3
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Thu Nov 14 10:54:42 2019 +0700

    [Refactoring] ResultUtils: Remove unused javadoc and constants
---
 .../java/org/apache/james/mailbox/store/ResultUtils.java     | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/mailbox/store/src/main/java/org/apache/james/mailbox/store/ResultUtils.java b/mailbox/store/src/main/java/org/apache/james/mailbox/store/ResultUtils.java
index 22bf394..5c89c36 100644
--- a/mailbox/store/src/main/java/org/apache/james/mailbox/store/ResultUtils.java
+++ b/mailbox/store/src/main/java/org/apache/james/mailbox/store/ResultUtils.java
@@ -42,17 +42,8 @@ import org.apache.james.mime4j.stream.RawField;
 import org.apache.james.mime4j.util.ByteSequence;
 import org.apache.james.mime4j.util.ContentUtil;
 
-/**
- *
- */
 public class ResultUtils {
 
-    public static final byte[] BYTES_NEW_LINE = { 0x0D, 0x0A };
-
-    public static final byte[] BYTES_HEADER_FIELD_VALUE_SEP = { 0x3A, 0x20 };
-
-    static final Charset US_ASCII = Charset.forName("US-ASCII");
-
     public static List<MessageResult.Header> createHeaders(MailboxMessage document) throws IOException {
         final List<MessageResult.Header> results = new ArrayList<>();
         final MimeStreamParser parser = new MimeStreamParser(MimeConfig.PERMISSIVE);
@@ -96,9 +87,6 @@ public class ResultUtils {
         }
         return results;
     }
-
-  
-  
     
     /**
      * Return the {@link MessageResult} for the given {@link MailboxMessage} and {@link FetchGroup}


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org