[jira] [Resolved] (VFS-254) Let FileObject and FileContent extend java.io.Closeable

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (VFS-254) Let FileObject and FileContent extend java.io.Closeable

Gary D. Gregory (Jira)

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

Gary D. Gregory resolved VFS-254.
---------------------------------

    Resolution: Fixed

Committed revision 1339187.
               

> Let FileObject and FileContent extend java.io.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.1
>
>         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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira