I still do not understand the logic behind these t0 etc. Why is the timestamp here t0? The value of dcIt.getDirCacheEntry().getLastModified() here is the third in the TreeSet<Long> modTimes, but why do I get t0 here?

Shouldn't the Map lookup in RepositoryTestCase be prefilled with the modTimes?