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

Method subSequence

java/org/apache/tomcat/util/buf/CharChunk.java:712–723  ·  view source on GitHub ↗
(int start, int end)

Source from the content-addressed store, hash-verified

710
711
712 @Override
713 public CharSequence subSequence(int start, int end) {
714 try {
715 CharChunk result = this.clone();
716 result.setStart(this.start + start);
717 result.setEnd(this.start + end);
718 return result;
719 } catch (CloneNotSupportedException e) {
720 // Cannot happen
721 return null;
722 }
723 }
724
725
726 @Override

Callers 6

testBug54928Method · 0.80
escapeMethod · 0.80
encodeForRewriteMethod · 0.80
addTimestampMethod · 0.80
escapeMethod · 0.80

Calls 3

cloneMethod · 0.95
setStartMethod · 0.80
setEndMethod · 0.80

Tested by 1

testBug54928Method · 0.64