void (Set<File> added, Set<File> failedToAdd) { if (stopped.get()) return; if (!added.isEmpty() || !failedToAdd.isEmpty()) { ApplicationManager.getApplication().getMessageBus().syncPublisher(INDEXER_TOPIC).indexUpdated(added, failedToAdd); } }