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