void (final int rootIndex, final String path, Collection<String> deletedFiles) { if (deletedFiles.contains(path)) { return; } Set<String> paths = filesToProcess.get(rootIndex); if (paths == null) { paths = CollectionFactory.createFilePathSet(); filesToProcess.put(rootIndex, paths); } paths.add(path); }