void (Collection<FilePath> filesToFilter) { for (Iterator<FilePath> iter = filesToFilter.iterator(); iter.hasNext(); ) { final FilePath filePath = iter.next(); if (HgUtil.getHgRootOrNull(myProject, filePath) == null) { iter.remove(); } } }