[
https://issues.apache.org/jira/browse/VFS-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707951#action_12707951
]
Sebb commented on VFS-254:
--------------------------
Closeable requires Java 1.5+
AFAIK, currently VFS targets Java 1.4 (or possibly 1.3)
> 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.