commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IMAGING-115) DhtSegment class contains mutable public arrays
Date Tue, 22 Oct 2013 17:40:42 GMT

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

Mime
View raw message