[
https://issues.apache.org/jira/browse/KAFKA-21423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lucy Liu reassigned KAFKA-21423:
--------------------------------
Assignee: Lucy Liu (was: Chia-Ping Tsai)
> Replace mkMap and mkEntry with Map.of
> -------------------------------------
>
> Key: KAFKA-21423
> URL: https://issues.apache.org/jira/browse/KAFKA-21423
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Lucy Liu
> Priority: Trivial
>
> KAFKA-21121 showed the drawback of mkMap: it silently de-duplicates keys, so
> a test may end up checking something different from what it intends. We
> should replace them with Map.of to get a more modern style.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)