public MavenProjectsTreeUpdateResult toUpdateResult() {
    return new MavenProjectsTreeUpdateResult(mapToListWithPairs(), new ArrayList<>(deletedProjects));
  }
public MavenProjectsTreeUpdateResult toUpdateResult()