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

Konstantine Karantasis resolved KAFKA-9409.
-------------------------------------------
    Resolution: Fixed

> Increase Immutability of ClusterConfigState
> -------------------------------------------
>
>                 Key: KAFKA-9409
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9409
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> The class claims that it is immutable, but there are some mutable features of 
> this class.
>  
> Increase the immutability of it and add a little cleanup:
>  * Pre-initialize size of ArrayList
>  * Remove superfluous syntax
>  * Use ArrayList instead of LinkedList since the list is created once



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to