MCPcopy
hub / github.com/google/guava / addKnownType

Method addKnownType

guava/src/com/google/common/net/MediaType.java:121–125  ·  view source on GitHub ↗
(MediaType mediaType)

Source from the content-addressed store, hash-verified

119 }
120
121 @CanIgnoreReturnValue
122 private static MediaType addKnownType(MediaType mediaType) {
123 knownTypes.put(mediaType, mediaType);
124 return mediaType;
125 }
126
127 /*
128 * The following constants are grouped by their type and ordered alphabetically by the constant

Callers 2

createConstantMethod · 0.95
createConstantUtf8Method · 0.95

Calls 1

putMethod · 0.65

Tested by

no test coverage detected