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 <nknize@apache.org>
  • 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 {

Check warning on line 44 in libs/core/src/main/java/org/opensearch/core/xcontent/MediaTypeParserRegistry.java

View check run for this annotation

Codecov / codecov/patch

libs/core/src/main/java/org/opensearch/core/xcontent/MediaTypeParserRegistry.java#L44

Added line #L44 was not covered by tests
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.