You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Mario Ivankovits (JIRA)" <ji...@apache.org> on 2007/05/14 21:11:16 UTC

[jira] Resolved: (VFS-156) Use a set to hold the listeners in AbstractFileSystem

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

Mario Ivankovits resolved VFS-156.
----------------------------------

    Resolution: Won't Fix

Adding a new (non optional) dependency is a no go.

If we would like to avoid duplicate adds of listeners we can add a if (list.contains), though, I am fine with leaving this responsibility at the user.

> Use a set to hold the listeners in AbstractFileSystem
> -----------------------------------------------------
>
>                 Key: VFS-156
>                 URL: https://issues.apache.org/jira/browse/VFS-156
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 1.1
>            Reporter: Adam Heath
>            Priority: Minor
>         Attachments: feature_ListOrderedSet-listeners.patch
>
>
> Use a set(from commons-collections) to hold the listeners, so that a listener isn't added multiple times.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org