/* Go over the whole list. */
LogChangeSetBinding binding = new LogChangeSetBinding();
long minValue = Long.MAX_VALUE;
for (Map.Entry<String, DatabaseEntry> entry : changeSets.entrySet()) {
LogChangeSet changeSet = binding.entryToObject(entry.getValue());
syncStarts.put(entry.getKey(), changeSet.getNextSyncStart());
/* Find the minSyncStart. */
if (doCompare(minValue, changeSet.getNextSyncStart()) > 0) {
minValue = changeSet.getNextSyncStart();
}