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

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

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

David Mollitor updated KAFKA-9409:
----------------------------------
    Description: 
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

  was:
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


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