Fix while boundries in DateRevQueue.add()
In add(), "low" will never equals "first". This fact should be reflected in the code. Change-Id: I5cab51374e67bd2d3301e5d9dac47c4259b5e562
This commit is contained in:
parent
9613b04d81
commit
212fb3071c
|
@ -106,7 +106,7 @@ else if (t > when)
|
|||
}
|
||||
}
|
||||
low = Math.min(low, high);
|
||||
while (low >= first && when == index[low].commit.commitTime)
|
||||
while (low > first && when == index[low].commit.commitTime)
|
||||
--low;
|
||||
q = index[low];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue