Chia-Ping Tsai created KAFKA-21423:
--------------------------------------

             Summary: 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: Chia-Ping Tsai


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)

Reply via email to