[ 
https://issues.apache.org/jira/browse/KAFKA-16970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chia-Ping Tsai updated KAFKA-16970:
-----------------------------------
    Summary: Fix hash implementation of `ScramCredentialValue`, 
`ScramCredentialData`, and `ContextualRecord`  (was: `ScramCredentialValue`, 
`ScramCredentialData`, and `ContextualRecord` has incorrect hash implementation)

> Fix hash implementation of `ScramCredentialValue`, `ScramCredentialData`, and 
> `ContextualRecord`
> ------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-16970
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16970
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>
> All of them get hash code from "array" reference rather than the "content", 
> and hence they don't follow the best practice - if `equals` return true, they 
> ought to have the same hash code!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to