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

Method normalizeToken

output/java_guava/1.4.18/MediaType.java:912–915  ·  view source on GitHub ↗
(String token)

Source from the content-addressed store, hash-verified

910 }
911
912 private static String normalizeToken(String token) {
913 checkArgument(TOKEN_MATCHER.matchesAllOf(token));
914 return Ascii.toLowerCase(token);
915 }
916
917 private static String normalizeParameterValue(String attribute, String value) {
918 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