always clean FSState before initialization

This commit is contained in:
Eugene Zhuravlev
2012-02-13 15:01:35 +01:00
parent fe2df3beb6
commit 2bd76a9f6c
@@ -324,10 +324,8 @@ public class CompileContext extends UserDataHolderBase implements MessageHandler
if (!rd.root.exists()) {
continue;
}
if (forceMarkDirty) {
myFsState.clearRecompile(rd);
myFsState.clearDeletedPaths(module, isCompilingTests());
}
myFsState.clearRecompile(rd);
myFsState.clearDeletedPaths(module, isCompilingTests());
traverseRecursively(rd, rd.root, excludes, tsStorage, forceMarkDirty, currentFiles);
}
}