MCPcopy Create free account
hub / github.com/apache/tomcat / clone

Method clone

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

Source from the content-addressed store, hash-verified

91
92
93 @Override
94 public CharChunk clone() throws CloneNotSupportedException {
95 CharChunk result = (CharChunk) super.clone();
96 if (buff != null) {
97 result.buff = buff.clone();
98 }
99 result.in = null;
100 result.out = null;
101 return result;
102 }
103
104
105 // -------------------- Setup --------------------

Callers 1

subSequenceMethod · 0.95

Calls 1

cloneMethod · 0.65

Tested by

no test coverage detected