[
https://issues.apache.org/jira/browse/VFS-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774792#action_12774792
]
Ralph Goers commented on VFS-254:
---------------------------------
VFS 2.0 targets Java 1.4. When 2.0 is released I am considering starting work
on a 3.0 that will target Java 1.7 since that will introduce the
java.nio.file.spi package.
> 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.