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

Reply via email to