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

Method toString

java/org/apache/tomcat/util/buf/StringCache.java:259–266  ·  view source on GitHub ↗

Converts the given ByteChunk to a String using the cache. @param bc the ByteChunk to convert @return the resulting String

(ByteChunk bc)

Source from the content-addressed store, hash-verified

257 * @return the resulting String
258 */
259 public static String toString(ByteChunk bc) {
260 try {
261 return toString(bc, CodingErrorAction.REPLACE, CodingErrorAction.REPLACE);
262 } catch (CharacterCodingException e) {
263 // Unreachable code. Use of REPLACE above means the exception will never be thrown.
264 throw new IllegalStateException(e);
265 }
266 }
267
268
269 /**

Callers 2

toStringMethod · 0.95
toStringMethod · 0.95

Calls 15

setBytesMethod · 0.95
findClosestMethod · 0.95
findMethod · 0.95
setCharsMethod · 0.95
lengthMethod · 0.80
getValueMethod · 0.65
addMethod · 0.65
getMethod · 0.65
removeMethod · 0.65
clearMethod · 0.65
isDebugEnabledMethod · 0.65
debugMethod · 0.65

Tested by

no test coverage detected