chibenwa commented on a change in pull request #351:
URL: https://github.com/apache/james-project/pull/351#discussion_r606818623



##########
File path: 
server/protocols/jmap-rfc-8621/src/main/scala/org/apache/james/jmap/mail/MDNParse.scala
##########
@@ -71,7 +71,7 @@ case class MDNNotParsable(value: Set[UnparsedBlobId]) {
 object MDNDisposition {
   def fromJava(javaDisposition: JavaDisposition): MDNDisposition =
     MDNDisposition(actionMode = javaDisposition.getActionMode.getValue,
-      sendingMode = javaDisposition.getSendingMode.getValue,
+      sendingMode = javaDisposition.getSendingMode.getValue.toLowerCase,

Review comment:
       toLowerCase should always take a Locale.
   
   Here: 
   
   ```
   .toLowerCase(Locale.US)
   ```
   
   Will be fine.




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

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to