You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Joerg Schaible (JIRA)" <ji...@apache.org> on 2009/08/13 16:34:15 UTC

[jira] Resolved: (VFS-274) StaticUserAuthenticator prevents reuse of FileSystem

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

Joerg Schaible resolved VFS-274.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

svn 803902

> StaticUserAuthenticator prevents reuse of FileSystem
> ----------------------------------------------------
>
>                 Key: VFS-274
>                 URL: https://issues.apache.org/jira/browse/VFS-274
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Joerg Schaible
>            Assignee: Joerg Schaible
>             Fix For: 2.0
>
>
> If a StaticUserAuthenticator is used in the FileSystemOptions it causes that the FileSystem cannot be reused, since the options are part of the key used in the map that tracks the FileSystems. This UserAuthenticator should have proper equals and hashCode methods as well as implement Comparable, since the map is actually a TreeMap.

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