public boolean contains(String url) {
    final String pathOrUrl = MavenIndexUtils.normalizePathOrUrl(url);
    for (MavenRemoteRepository repository : myRemoteRepositories) {
      if (MavenIndexUtils.normalizePathOrUrl(repository.getUrl()).equals(pathOrUrl)) return true;
    }
    return false;
  }
public boolean contains(String url)