void () { if (updatedProjectsWithChanges.isEmpty() && deletedProjects.isEmpty()) { return; } List<Pair<MavenProject, MavenProjectChanges>> updated = mapToListWithPairs(); List<MavenProject> deleted = new ArrayList<>(deletedProjects); fireProjectsUpdated(updated, deleted); }