mimaison commented on code in PR #19079:
URL: https://github.com/apache/kafka/pull/19079#discussion_r2431773483
##########
metadata/src/main/java/org/apache/kafka/image/ClientQuotasImage.java:
##########
@@ -166,6 +195,19 @@ private static EntryData toDescribeEntry(ClientQuotaEntity
entity,
return data;
}
+ @Override
+ public boolean equals(Object o) {
+ if (!(o instanceof ClientQuotasImage other)) return false;
+ return entities.equals(other.entities);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(entities);
+ }
+
+
Review Comment:
nit: can we trim the extra lines?
--
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]