Set initial value for lastChecksum to -1 to avoid null reference for empty repositories
This commit is contained in:
parent
4d1e6868cd
commit
5d754c46a7
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public final class Prototype {
|
|||
Resource[] resources;
|
||||
|
||||
// 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
|
||||
long lastCodeUpdate = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue