boolean (Object o, boolean ignoreProtocol) { if (this == o) return true; if (!(o instanceof GithubServerPath path)) return false; return (ignoreProtocol || Objects.equals(myUseHttp, path.myUseHttp)) && Objects.equals(myHost, path.myHost) && Objects.equals(myPort, path.myPort) && Objects.equals(mySuffix, path.mySuffix); }