[ 
https://issues.apache.org/jira/browse/IMAGING-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13802051#comment-13802051
 ] 

Matt Benson commented on IMAGING-115:
-------------------------------------

Maybe some alternate design should be explored whereby the arrays are 
maintained privately to classes whose methods use the arrays with parameters 
that have been passed in.

> DhtSegment class contains mutable public arrays
> -----------------------------------------------
>
>                 Key: IMAGING-115
>                 URL: https://issues.apache.org/jira/browse/IMAGING-115
>             Project: Commons Imaging
>          Issue Type: Bug
>            Reporter: Sebb
>
> Mutable public arrays are very bad for thread-safety and maintainability.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to