You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2012/06/23 20:33:42 UTC

[jira] [Commented] (COLLECTIONS-324) Fields transformer and decorated in comparators.TransformingComparator could be made final

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

Hudson commented on COLLECTIONS-324:
------------------------------------

Integrated in commons-collections #40 (See [https://builds.apache.org/job/commons-collections/40/])
    [COLLECTIONS-324] Made protected fields final to improve thread-safety. Thanks to sebb for the report. (Revision 1353172)

     Result = SUCCESS
tn : http://svn.apache.org/viewvc/?view=rev&rev=1353172
Files : 
* /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/comparators/TransformingComparator.java

                
> Fields transformer and decorated in comparators.TransformingComparator could be made final
> ------------------------------------------------------------------------------------------
>
>                 Key: COLLECTIONS-324
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-324
>             Project: Commons Collections
>          Issue Type: Improvement
>          Components: Comparator
>            Reporter: Sebb
>             Fix For: 4.0
>
>
> Fields transformer and decorated in comparators.TransformingComparator could be made final to improve thread-safety.
> This will break subclasses that write to the fields, but would such code make any sense?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira