You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2013/07/02 17:02:21 UTC
[jira] [Commented] (VFS-479) Implement Utility closeQuietly()
[ https://issues.apache.org/jira/browse/VFS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13697855#comment-13697855 ]
Gary Gregory commented on VFS-479:
----------------------------------
FileObject in trunk already implements {{java.io.Closeable}}:
{code:java}
public interface FileObject extends Comparable<FileObject>, Iterable<FileObject>, Closeable
{code}
> Implement Utility closeQuietly()
> --------------------------------
>
> Key: VFS-479
> URL: https://issues.apache.org/jira/browse/VFS-479
> Project: Commons VFS
> Issue Type: Wish
> Reporter: BELUGA BEHR
> Priority: Minor
>
> It would be great if there was a static utility function that acted on ... that would swallow any errors while closing a .....
> It would work much the same way as the closeQuietly() methods of the Commons IO library.
> Would it be possible to have FileObject extend java.io.Closeable and therefore it will work with the existing Common IO library.
> Another way would be to add a closeQuietly() method added to Commons IO to support FileObjects.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira