Collection<VirtualFile> (@NotNull Map<VirtualFile, List<VirtualFile>> filesByRoots) { Collection<VirtualFile> rootsWithIncorrectAutoCrlf = new ArrayList<>(); for (Map.Entry<VirtualFile, List<VirtualFile>> entry : filesByRoots.entrySet()) { VirtualFile root = entry.getKey(); boolean autocrlf = isAutoCrlfSetRight(root); if (!autocrlf) { rootsWithIncorrectAutoCrlf.add(root); } } return rootsWithIncorrectAutoCrlf; }