From 1edfed45835bf631621da9520c342de53e3b29f6 Mon Sep 17 00:00:00 2001 From: hns Date: Thu, 26 Jun 2003 11:08:35 +0000 Subject: [PATCH] Ignore files starting with '.' --- src/helma/framework/core/TypeManager.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/helma/framework/core/TypeManager.java b/src/helma/framework/core/TypeManager.java index b4a54f94..c445c021 100644 --- a/src/helma/framework/core/TypeManager.java +++ b/src/helma/framework/core/TypeManager.java @@ -378,6 +378,11 @@ public final class TypeManager { for (int i = 0; i < list.length; i++) { String fn = list[i].getName(); + // ignore files starting with ".". + if (fn.startsWith(".")) { + continue; + } + if (!proto.updatables.containsKey(fn)) { if (fn.endsWith(templateExtension) || fn.endsWith(scriptExtension) || fn.endsWith(actionExtension) || fn.endsWith(skinExtension) ||