void (@NotNull Set<FilePath> oldIgnored, @NotNull List<FilePath> newIgnored) { List<FilePath> addedIgnored = new ArrayList<>(); for (FilePath filePath : newIgnored) { if (!oldIgnored.contains(filePath)) { addedIgnored.add(filePath); } } if (!addedIgnored.isEmpty()) { myProject.getService(IgnoredToExcludedSynchronizer.class).ignoredUpdateFinished(addedIgnored); } }