MCPcopy Create free account
hub / github.com/antlr/codebuff / normalizeParameterValue

Method normalizeParameterValue

output/java_guava/1.4.19/MediaType.java:918–920  ·  view source on GitHub ↗
(String attribute, String value)

Source from the content-addressed store, hash-verified

916 }
917
918 private static String normalizeParameterValue(String attribute, String value) {
919 return CHARSET_ATTRIBUTE.equals(attribute) ? Ascii.toLowerCase(value) : value;
920 }
921
922 /**
923 * Parses a media type from its string representation.

Callers 2

withParameterMethod · 0.95
createMethod · 0.95

Calls 2

toLowerCaseMethod · 0.95
equalsMethod · 0.65

Tested by

no test coverage detected