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

Method normalizeToken

output/java_guava/1.4.19/MediaType.java:913–916  ·  view source on GitHub ↗
(String token)

Source from the content-addressed store, hash-verified

911 }
912
913 private static String normalizeToken(String token) {
914 checkArgument(TOKEN_MATCHER.matchesAllOf(token));
915 return Ascii.toLowerCase(token);
916 }
917
918 private static String normalizeParameterValue(String attribute, String value) {
919 return CHARSET_ATTRIBUTE.equals(attribute) ? Ascii.toLowerCase(value) : value;

Callers 2

withParameterMethod · 0.95
createMethod · 0.95

Calls 3

toLowerCaseMethod · 0.95
checkArgumentMethod · 0.45
matchesAllOfMethod · 0.45

Tested by

no test coverage detected