EA-91889 - IVFAE: PersistentFSImpl.getFileId

This commit is contained in:
Maxim.Mossienko
2016-11-21 14:07:39 +01:00
parent d4697cde06
commit ee0171c290
@@ -1755,7 +1755,7 @@ public class FileBasedIndexImpl extends FileBasedIndex {
clearUpToDateStateForPsiIndicesOfUnsavedDocuments(file);
// the file is for sure not a dir and it was previously indexed by at least one index
if (!isTooLarge(file)) myChangedFilesCollector.scheduleForUpdate(file);
if (file.isValid() && !isTooLarge(file)) myChangedFilesCollector.scheduleForUpdate(file);
}
}
else if (!fileIndexedStatesToUpdate.isEmpty()) { // file was removed, its data should be (lazily) wiped for every index