commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miroslav Pokorny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VFS-357) FtpFileSystemConfigBuilder and other builders are all singletons which leads to problems if one wishes ftp connections with different incompatible settings.
Date Tue, 19 Jul 2011 09:43:58 GMT

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

Miroslav Pokorny commented on VFS-357:
--------------------------------------

Im sorry my original statement was wrong, either way it would lead to less confusion (at least
for me) if the builder wasnt a singleton or the doco stated it doenst contain state.

> FtpFileSystemConfigBuilder and other builders are all singletons which leads to problems
if one wishes ftp connections with different incompatible settings.
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: VFS-357
>                 URL: https://issues.apache.org/jira/browse/VFS-357
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Miroslav Pokorny
>
> RamFileSystemConfigBuilder also exhibits the same problem. The documentation does not
make it sure if the max size is read during the factory or while running...
> I believe it would be simpler to remove the singletonness and allow different objects
to be created and set with their own properties.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message