Lower case with root locale

This commit is contained in:
M66B
2021-05-01 16:55:00 +02:00
parent 23121ac172
commit 9cba293ca2
6 changed files with 12 additions and 10 deletions

View File

@@ -2826,9 +2826,9 @@ public class MessageHelper {
String email1 = ((InternetAddress) a1).getAddress();
String email2 = ((InternetAddress) a2).getAddress();
if (email1 != null)
email1 = email1.toLowerCase();
email1 = email1.toLowerCase(Locale.ROOT);
if (email2 != null)
email2 = email2.toLowerCase();
email2 = email2.toLowerCase(Locale.ROOT);
return Objects.equals(email1, email2);
}