File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
jetty-core/jetty-http/src/main/java/org/eclipse/jetty/http Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ public class MimeTypes
4646{
4747 static final Logger LOG = LoggerFactory .getLogger (MimeTypes .class );
4848 private static final Set <Locale > KNOWN_LOCALES = Set .copyOf (Arrays .stream (Locale .getAvailableLocales ()).filter (l -> !StringUtil .isBlank (l .getLanguage ())).toList ());
49- public static final String ISO_8859_1 = StandardCharsets .ISO_8859_1 .name ().toLowerCase ();
50- public static final String UTF8 = StandardCharsets .UTF_8 .name ().toLowerCase ();
51- public static final String UTF16 = StandardCharsets .UTF_16 .name ().toLowerCase ();
49+ public static final String ISO_8859_1 = StandardCharsets .ISO_8859_1 .name ().toLowerCase (Locale . ENGLISH );
50+ public static final String UTF8 = StandardCharsets .UTF_8 .name ().toLowerCase (Locale . ENGLISH );
51+ public static final String UTF16 = StandardCharsets .UTF_16 .name ().toLowerCase (Locale . ENGLISH );
5252 private static final Index <String > CHARSETS = new Index .Builder <String >()
5353 .caseSensitive (false )
5454 .with ("utf-8" , UTF8 )
You can’t perform that action at this time.
0 commit comments