public boolean isEquals(@NotNull Set<String> remoteUrls, @Nullable String localPath) {
    if (!FileUtilRt.pathsEqual(myLocalClassIndex != null ? myLocalClassIndex.getRepository().getUrl() : null, localPath)) return false;
    if (remoteUrls.size() != myRemoteIndices.size()) return false;
    for (MavenIndex index : myRemoteIndices) {
      if (!remoteUrls.contains(index.getRepository().getUrl())) return false;
    }
    return true;
  }
public boolean isEquals(@NotNull Set<String> remoteUrls, @Nullable String localPath)