Merge pull request #120 from shannah/fix_stringbuilder_deleteCharAt

Fixed StringBuilder.deleteCharAt
This commit is contained in:
Alexey Andreev 2015-05-30 18:32:44 +03:00
commit a0d223cc1b

View File

@ -686,7 +686,6 @@ class TAbstractStringBuilder extends TObject implements TSerializable, TCharSequ
for (int i = index; i < length; ++i) { for (int i = index; i < length; ++i) {
buffer[i] = buffer[i + 1]; buffer[i] = buffer[i + 1];
} }
--length;
return this; return this;
} }