fix cursor overshooting granularity boundaries in IncrementalIndexStorageAdapter as well

This commit is contained in:
xvrl 2013-03-21 10:38:39 -07:00
parent c0397aa67c
commit 16e4cd4291
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ public class IncrementalIndexStorageAdapter implements StorageAdapter
timeStart, new String[][]{}
),
new IncrementalIndex.TimeAndDims(
Math.min(actualInterval.getEndMillis(), gran.next(timeStart)), new String[][]{}
Math.min(actualInterval.getEndMillis(), gran.next(input)), new String[][]{}
)
);
time = gran.toDateTime(input);