You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "healchow (via GitHub)" <gi...@apache.org> on 2023/06/19 08:25:51 UTC
[GitHub] [inlong] healchow commented on a diff in pull request #8273: [INLONG-8272][SDK] Fix DataProxy's HTTP SDK verification response code error
healchow commented on code in PR #8273:
URL: https://github.com/apache/inlong/pull/8273#discussion_r1233702998
##########
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/config/HostInfo.java:
##########
@@ -50,9 +52,14 @@ public int compareTo(HostInfo other) {
return referenceName.compareTo(other.getReferenceName());
}
+ @Override
+ public int hashCode() {
Review Comment:
The `HostInfo` was used by Map, so it must implement both of `hashCode` and `equals` methods.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org