提交 848d98f1 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 5cbc873e
......@@ -87,7 +87,7 @@ public class ObjectArray {
private void ensureCapacity(int i) {
while (i >= data.length) {
Object[] d = new Object[data.length * 2];
Object[] d = new Object[Math.max(SIZE_INIT, data.length * 2)];
System.arraycopy(data, 0, d, 0, data.length);
data = d;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论