提交 7f3d88e5 authored 作者: Thomas Mueller's avatar Thomas Mueller

Remove unused code.

上级 842341e1
......@@ -44,12 +44,7 @@ public class IntIntHashMap extends HashBase {
zeroValue = value;
return;
}
try {
checkSizePut();
} catch (Exception e) {
// in fact, it is never thrown
// TODO hash: maybe optimize it
}
checkSizePut();
int index = getIndex(key);
int plus = 1;
int deleted = -1;
......@@ -92,12 +87,7 @@ public class IntIntHashMap extends HashBase {
zeroKey = false;
return;
}
try {
checkSizeRemove();
} catch (Exception e) {
// in fact, it is never thrown
// TODO hash: maybe optimize it
}
checkSizeRemove();
int index = getIndex(key);
int plus = 1;
do {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论