EA-55869 - NASE: IndexingStamp$Timestamps

This commit is contained in:
Maxim.Mossienko
2014-06-23 11:17:54 +02:00
parent 5e34d9fde8
commit d8cd82fcfd
@@ -166,7 +166,7 @@ public class IndexingStamp {
int[] outdatedIndices = null;
long dominatingIndexStamp = DataInputOutputUtil.readTIME(stream);
long diff = dominatingIndexStamp - DataInputOutputUtil.timeBase;
if (diff != 0 && diff < ID.MAX_NUMBER_OF_INDICES) {
if (diff > 0 && diff < ID.MAX_NUMBER_OF_INDICES) {
int numberOfOutdatedIndices = (int)diff;
outdatedIndices = new int[numberOfOutdatedIndices];
while(numberOfOutdatedIndices > 0) {