From 0470c24db3776df07bd59734b9afdc8a0e97cc94 Mon Sep 17 00:00:00 2001 From: hns Date: Mon, 16 Oct 2006 13:56:58 +0000 Subject: [PATCH] * Simplified addRepository() a bit, no need to track updated resources here. --- src/helma/framework/core/Prototype.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/helma/framework/core/Prototype.java b/src/helma/framework/core/Prototype.java index 5d18c083..517ef2a7 100644 --- a/src/helma/framework/core/Prototype.java +++ b/src/helma/framework/core/Prototype.java @@ -123,9 +123,8 @@ public final class Prototype { if (update) { RequestEvaluator eval = app.getCurrentRequestEvaluator(); Iterator it = repository.getAllResources().iterator(); - boolean updatedResources = false; while (it.hasNext()) { - updatedResources |= checkResource((Resource) it.next(), eval.scriptingEngine); + checkResource((Resource) it.next(), eval.scriptingEngine); } } }