void () { if (!myTransactionStarted) return; myTransactionStarted = false; super.endTransaction(); Set<VirtualFile> map = filesToScan; if (!map.isEmpty()) map.clear(); filesToScan = filesToScan2; filesToScan2 = map; }