private static RemoteRepository createRemoteRepository(RemoteRepository prototype) {
    String url = prototype.getUrl();
    return new RemoteRepository.Builder(prototype.getId(), prototype.getContentType(), url).setProxy(ourProxySelector.getProxy(url)).build();
  }
private static RemoteRepository createRemoteRepository(RemoteRepository prototype)