[
https://issues.apache.org/jira/browse/VFS-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marek Zawirski updated VFS-254:
-------------------------------
Attachment: extend_cloneable.patch
I am attaching trivial patch proposal.
> Let FileObject and FileContent extend Closeable
> -----------------------------------------------
>
> Key: VFS-254
> URL: https://issues.apache.org/jira/browse/VFS-254
> Project: Commons VFS
> Issue Type: Improvement
> Affects Versions: 1.0, 1.1, later, Nightly Builds, 2.0
> Reporter: Marek Zawirski
> Priority: Trivial
> Fix For: 2.0
>
> Attachments: extend_cloneable.patch
>
>
> What about letting FileObject and FileContent extend java.io.Closeable
> interface?
> Some applications have a generic code for closing such resources (and for
> example ignoring and logging exceptions during close), so it may be useful at
> application-level.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.