You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Konstantine Karantasis (Jira)" <ji...@apache.org> on 2020/05/21 03:08:00 UTC

[jira] [Resolved] (KAFKA-9409) Increase Immutability of ClusterConfigState

     [ 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)