See gh-22340
This commit is contained in:
Brian Clozel
2019-02-11 10:45:50 +01:00
parent f7e53a071b
commit fb4a28f904
2 changed files with 3 additions and 0 deletions

View File

@@ -167,6 +167,7 @@ public abstract class MimeTypeUtils {
private static volatile Random random;
static {
// Not using "parseMimeType" to avoid static init cost
ALL = new MimeType("*", "*");
APPLICATION_JSON = new MimeType("application", "json");
APPLICATION_OCTET_STREAM = new MimeType("application", "octet-stream");