Set initial value for lastChecksum to -1 to avoid null reference for empty repositories

This commit is contained in:
hns 2005-04-05 13:12:57 +00:00
parent 4d1e6868cd
commit 5d754c46a7

View file

@ -44,7 +44,7 @@ public final class Prototype {
Resource[] resources; Resource[] resources;
// tells us the checksum of the repositories at the time we last updated them // tells us the checksum of the repositories at the time we last updated them
long lastChecksum = 0; long lastChecksum = -1;
// the time at which any of the prototype's files were found updated the last time // the time at which any of the prototype's files were found updated the last time
long lastCodeUpdate = 0; long lastCodeUpdate = 0;