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:
Gustaf Lundh 2013-02-25 18:24:16 +01:00
parent 9613b04d81
commit 212fb3071c
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}