MCPcopy Index your code
hub / github.com/apache/tomcat / setString

Method setString

java/org/apache/tomcat/util/buf/MessageBytes.java:172–181  ·  view source on GitHub ↗

Set the content to be a string @param s The string

(String s)

Source from the content-addressed store, hash-verified

170 * @param s The string
171 */
172 public void setString(String s) {
173 strValue = s;
174 hasHashCode = false;
175 hasLongValue = false;
176 if (s == null) {
177 type = T_NULL;
178 } else {
179 type = T_STR;
180 }
181 }
182
183 // -------------------- Conversion and getters --------------------
184

Callers 15

getRequestPathMBMethod · 0.95
testParseHostMethod · 0.95
testConversionNullMethod · 0.95
testPerformanceImplMethod · 0.95
testMapMethod · 0.95
testCompareIgnoreCaseMethod · 0.95

Calls

no outgoing calls

Tested by 15

getRequestPathMBMethod · 0.76
testParseHostMethod · 0.76
testConversionNullMethod · 0.76
testPerformanceImplMethod · 0.76
testMapMethod · 0.76
testCompareIgnoreCaseMethod · 0.76