From 5d754c46a77ed75094b03c6c909bc52390d3bb7a Mon Sep 17 00:00:00 2001 From: hns Date: Tue, 5 Apr 2005 13:12:57 +0000 Subject: [PATCH] Set initial value for lastChecksum to -1 to avoid null reference for empty repositories --- src/helma/framework/core/Prototype.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helma/framework/core/Prototype.java b/src/helma/framework/core/Prototype.java index de84473a..7aa77a74 100644 --- a/src/helma/framework/core/Prototype.java +++ b/src/helma/framework/core/Prototype.java @@ -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;