You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by "chibenwa (via GitHub)" <gi...@apache.org> on 2023/06/21 05:30:46 UTC

[GitHub] [james-project] chibenwa commented on a diff in pull request #1600: Add simple null-check in JPAMailboxMessage #JAMES-3915

chibenwa commented on code in PR #1600:
URL: https://github.com/apache/james-project/pull/1600#discussion_r1236304907


##########
mailbox/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/openjpa/JPAMailboxMessage.java:
##########
@@ -49,6 +49,7 @@
 public class JPAMailboxMessage extends AbstractJPAMailboxMessage {
 
     private static final byte[] EMPTY_BODY = new byte[] {};
+    private static final byte[] EMPTY_HEADER = new byte[] {};

Review Comment:
   Maybe we just need one of these `EMPTY_ARRAY` constant, returned in both cases?



-- 
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: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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