(String type, String subtype)
| 113 | } |
| 114 | |
| 115 | private static MediaType createConstantUtf8(String type, String subtype) { |
| 116 | MediaType mediaType = addKnownType(new MediaType(type, subtype, UTF_8_CONSTANT_PARAMETERS)); |
| 117 | mediaType.parsedCharset = Optional.of(UTF_8); |
| 118 | return mediaType; |
| 119 | } |
| 120 | |
| 121 | @CanIgnoreReturnValue |
| 122 | private static MediaType addKnownType(MediaType mediaType) { |
no test coverage detected