提交 0f28095f 编写于 作者: S StephanEwen

Fixed bug in PactString append.

上级 242c7042
......@@ -457,7 +457,7 @@ public class PactString implements Key, NormalizableKey, CharSequence, CopyableV
public Appendable append(CharSequence csq, int start, int end) {
final int otherLen = end - start;
grow(this.len + otherLen);
for (int pos = start; pos < len; pos++)
for (int pos = start; pos < end; pos++)
this.value[this.len + pos] = csq.charAt(pos);
this.len += otherLen;
return this;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册