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

Remove unused code.

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