From 6182b9313a9682a6660e928eb5b9a36e3231c449 Mon Sep 17 00:00:00 2001 From: hns Date: Fri, 2 Aug 2002 13:25:22 +0000 Subject: [PATCH] Return true on needsUpdate if zip file has been removed. --- src/helma/framework/core/ZippedAppFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helma/framework/core/ZippedAppFile.java b/src/helma/framework/core/ZippedAppFile.java index 2812968b..9ccf5fef 100644 --- a/src/helma/framework/core/ZippedAppFile.java +++ b/src/helma/framework/core/ZippedAppFile.java @@ -36,7 +36,7 @@ public class ZippedAppFile implements Updatable { * the file has been modified or deleted. */ public boolean needsUpdate () { - return lastmod != file.lastModified (); + return !file.exists () || lastmod != file.lastModified (); }