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

Method normalizeParameterValue

output/java_guava/1.4.16/MediaType.java:917–919  ·  view source on GitHub ↗
(String attribute, String value)

Source from the content-addressed store, hash-verified

915 }
916
917 private static String normalizeParameterValue(String attribute, String value) {
918 return CHARSET_ATTRIBUTE.equals(attribute) ? Ascii.toLowerCase(value) : value;
919 }
920
921 /**
922 * 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