ijuma commented on a change in pull request #9645:
URL: https://github.com/apache/kafka/pull/9645#discussion_r528947251



##########
File path: 
clients/src/main/java/org/apache/kafka/common/header/internals/RecordHeader.java
##########
@@ -70,7 +70,7 @@ public boolean equals(Object o) {
 
     @Override
     public int hashCode() {
-        int result = key() != null ? key().hashCode() : 0;
+        int result = key().hashCode();

Review comment:
       cc @chia7712 since you changed related code recently.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to