From 2ce2f6fd0ccc8055d93ac5ef9b41ec55b48a3f5c Mon Sep 17 00:00:00 2001 From: hns Date: Tue, 1 Oct 2002 15:54:31 +0000 Subject: [PATCH] Mark prototype as updated when functions, actions or templates are removed from it. --- src/helma/framework/core/Prototype.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/helma/framework/core/Prototype.java b/src/helma/framework/core/Prototype.java index b26b112d..d10091a2 100644 --- a/src/helma/framework/core/Prototype.java +++ b/src/helma/framework/core/Prototype.java @@ -231,18 +231,22 @@ public final class Prototype { public synchronized void removeUpdatable (String fileName) { updatables.remove (fileName); + markUpdated (); } public synchronized void removeAction (String actionName) { actions.remove (actionName); + markUpdated (); } public synchronized void removeFunctionFile (String functionFileName) { functions.remove (functionFileName); + markUpdated (); } - + public synchronized void removeTemplate (String templateName) { templates.remove (templateName); + markUpdated (); }