void (@NotNull VcsDirtyScope scope) { if (myProject.isDisposed()) return; final Iterator<VirtualFile> iterator = myMap.keySet().iterator(); while (iterator.hasNext()) { final VirtualFile file = iterator.next(); if (isFileDirty(scope, file)) { iterator.remove(); } } }