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/12/02 04:50:56 UTC

[GitHub] [james-project] quantranhong1999 commented on a diff in pull request #1331: JAMES-3754 RFC-5819 IMAP4 Extension for Returning STATUS Information in Extended LIST

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


##########
protocols/imap/src/main/java/org/apache/james/imap/decode/parser/ListCommandParser.java:
##########
@@ -149,6 +151,21 @@ private Pair<ListReturnOption, Optional<StatusDataItems>> readStatus(ImapRequest
         return Pair.of(ListReturnOption.STATUS, Optional.of(StatusCommandParser.statusDataItems(request)));
     }
 
+    private ListReturnOption readSpecialUse(ImapRequestLineReader request) throws DecodingException {
+        // 'S' is already consummed
+        assertChar(request, 'P', 'p');
+        assertChar(request, 'E', 'e');
+        assertChar(request, 'C','c');

Review Comment:
   ```suggestion
           assertChar(request, 'C', 'c');



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