code: public void removeRepository(String id) {
        for (UpdateRepository repo : getRepositories()) {
          if (id.equals(repo.getId())) {
            repositories.remove(repo);
            break;
          }
        }
        log.warn("Repository with id " + id + " not found, doing nothing");
      }
docs: Remove a repository by id.
  
  @param id of repository to remove