Skip to content

Commit

Permalink
pr feedback round two
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Walter Knize <[email protected]>
  • Loading branch information
nknize committed Jul 24, 2023
1 parent b180080 commit c7eacc4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
* @opensearch.internal
*/
public final class MediaTypeParserRegistry {
private static Map<String, MediaType> formatToMediaType = new HashMap<>();
private static Map<String, MediaType> typeWithSubtypeToMediaType = new HashMap<>();
private static Map<String, MediaType> formatToMediaType = Map.of();
private static Map<String, MediaType> typeWithSubtypeToMediaType = Map.of();

// Default mediaType singleton
private static MediaType DEFAULT_MEDIA_TYPE;
Expand Down

0 comments on commit c7eacc4

Please sign in to comment.