提交 550afcc9 编写于 作者: K Kohsuke Kawaguchi

simplification

上级 7917ccb7
......@@ -375,9 +375,7 @@ public abstract class AbstractLazyLoadRunMap<R> extends AbstractMap<Integer,R> i
// invariant: 0<=lo<=pivot<=hi<=idOnDisk.size()
while (true) {
if (hi<=lo) break; // end of search
while (lo<hi) {
final int pivot = (lo+hi)/2;
R r = load(idOnDisk.get(pivot), null);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册