commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <>
Subject [jira] Commented: (VFS-156) Use a set to hold the listeners in AbstractFileSystem
Date Mon, 14 May 2007 19:36:16 GMT


Mario Ivankovits commented on VFS-156:

reg LRUFileCache: I'll deprecate any cache other than the SoftRef, WeakRef as with any other
implementation VFS will leak memory too ... it will never free the FileSystem map .... if
you don't come up with a patch for this too :-)

Even then LRUFileCache is optional.

Might it be sufficient to add a method e.g. hasFileListener(xx) ?

> Use a set to hold the listeners in AbstractFileSystem
> -----------------------------------------------------
>                 Key: VFS-156
>                 URL:
>             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:
For additional commands, e-mail:

View raw message