You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2007/10/25 20:53:50 UTC

[jira] Updated: (IO-133) Make fields final so classes are immutable/threadsafe

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

Sebb updated IO-133:
--------------------

    Attachment: filefilter.patch

Patch to make filefilter fields final (also fixes 1 string.toString() call)

> 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: AFTER-1.4
>            Reporter: Sebb
>         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.