frankvicky commented on code in PR #18783:
URL: https://github.com/apache/kafka/pull/18783#discussion_r1938894196
##########
server/src/main/java/org/apache/kafka/server/Assignment.java:
##########
@@ -96,23 +57,6 @@ boolean valid(int nodeId, MetadataImage image) {
return Replicas.contains(partition.replicas, nodeId);
}
- @Override
- public boolean equals(Object o) {
- if (o == null || (!(o instanceof Assignment other))) return false;
- return topicIdPartition.equals(other.topicIdPartition) &&
- directoryId.equals(other.directoryId) &&
- submissionTimeNs == other.submissionTimeNs &&
- successCallback.equals(other.successCallback);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(topicIdPartition,
- directoryId,
- submissionTimeNs,
- successCallback);
- }
-
@Override
public String toString() {
StringBuilder bld = new StringBuilder();
Review Comment:
Same reason: https://github.com/apache/kafka/pull/18783/files#r1938893604
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]