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

Damjan Jovanovic commented on IMAGING-115:
------------------------------------------

DhtSegment fields are accessed from the performance-critical JPEG decompression 
path, so making those arrays private and returning copies in getters is 
probably out of the question.


> 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