commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (IO-133) Make fields final so classes are immutable/threadsafe
Date Thu, 01 Nov 2007 15:51:50 GMT

     [ https://issues.apache.org/jira/browse/IO-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Niall Pemberton resolved IO-133.
--------------------------------

    Resolution: Fixed
      Assignee: Niall Pemberton

Patch applied (with couple of tweaks) thanks.

> Make fields final so classes are immutable/threadsafe
> -----------------------------------------------------
>
>                 Key: IO-133
>                 URL: https://issues.apache.org/jira/browse/IO-133
>             Project: Commons IO
>          Issue Type: Improvement
>          Components: Filters
>    Affects Versions: 1.3.2
>            Reporter: Sebb
>            Assignee: Niall Pemberton
>             Fix For: 1.4
>
>         Attachments: filefilter.patch
>
>
> There are quite a few fields which are only set up in constructors.
> These could be made final so the classes can be immutable, and therefore thread-safe.
> Patch to follow.
> Note: some of the current filters cannot be made thread-safe this way.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message