You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by GitBox <gi...@apache.org> on 2022/04/26 03:40:58 UTC

[GitHub] [james-project] quantranhong1999 commented on a diff in pull request #969: [IMAP] Some other tiny performance enhancements

quantranhong1999 commented on code in PR #969:
URL: https://github.com/apache/james-project/pull/969#discussion_r858230138


##########
protocols/imap/src/main/java/org/apache/james/imap/encode/base/ImapResponseComposerImpl.java:
##########
@@ -238,6 +238,14 @@ public ImapResponseComposer quote(String message) throws IOException {
         return this;
     }
 
+    @Override
+    public ImapResponseComposer quote(char message) throws IOException {
+        space();
+        buffer.write(BYTE_DQUOTE);
+        buffer.write(message);
+        buffer.write(BYTE_DQUOTE);
+        return null;

Review Comment:
   ```suggestion
           return this;
   ```
   ?



-- 
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