void () { synchronized (myAntFileToContextFileMap) { for (Iterator<Map.Entry<VirtualFile,VirtualFile>> it = myAntFileToContextFileMap.entrySet().iterator(); it.hasNext();) { final Map.Entry<VirtualFile, VirtualFile> entry = it.next(); if (myDeleted.contains(entry.getKey()) || myDeleted.contains(entry.getValue())) { it.remove(); } } } }