public void addRepositories(Set<PomRepository> repositories) { for (PomRepository repository : repositories) { if (!this.pomRepositories.containsKey(repository.getUID())) { this.pomRepositories.put(repository.getUID(), repository); } } }
public void addRepository(PomRepository pomRepository) { this.pomRepositories.put(pomRepository.getUID(), pomRepository); }