Ignore files starting with '.'

This commit is contained in:
hns 2003-06-26 11:08:35 +00:00
parent 189b79b840
commit 1edfed4583

View file

@ -378,6 +378,11 @@ public final class TypeManager {
for (int i = 0; i < list.length; i++) { for (int i = 0; i < list.length; i++) {
String fn = list[i].getName(); String fn = list[i].getName();
// ignore files starting with ".".
if (fn.startsWith(".")) {
continue;
}
if (!proto.updatables.containsKey(fn)) { if (!proto.updatables.containsKey(fn)) {
if (fn.endsWith(templateExtension) || fn.endsWith(scriptExtension) || if (fn.endsWith(templateExtension) || fn.endsWith(scriptExtension) ||
fn.endsWith(actionExtension) || fn.endsWith(skinExtension) || fn.endsWith(actionExtension) || fn.endsWith(skinExtension) ||