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

Method toString

java/org/apache/tomcat/util/buf/CharChunk.java:439–447  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

437 // -------------------- Conversion and getters --------------------
438
439 @Override
440 public String toString() {
441 if (isNull()) {
442 return null;
443 } else if (end - start == 0) {
444 return "";
445 }
446 return StringCache.toString(this);
447 }
448
449
450 /**

Callers 6

testToStringMethod · 0.95
testMessagesMethod · 0.95
testLeftoverChunkMethod · 0.95

Calls 2

toStringMethod · 0.95
isNullMethod · 0.65

Tested by 6

testToStringMethod · 0.76
testMessagesMethod · 0.76
testLeftoverChunkMethod · 0.76