This is a thinko -- the codepath will never trigger, eventhough
it should normally trigger all the time.
Change-Id: I29b24a3823c08c64c8c8a74e7be3b96e07672313
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
}
// Update last history we have seen
}
// Update last history we have seen
- if (lastSeenHistory != null && Long.compareUnsigned(lastSeenHistory, id.getHistoryId()) < 0) {
+ if (lastSeenHistory == null || Long.compareUnsigned(lastSeenHistory, id.getHistoryId()) < 0) {
lastSeenHistory = id.getHistoryId();
}
lastSeenHistory = id.getHistoryId();
}