You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2007/11/15 18:19:43 UTC

[jira] Commented: (IO-135) Add convenience deleteQuietly to FileUtils

    [ https://issues.apache.org/jira/browse/IO-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542821 ] 

Niall Pemberton commented on IO-135:
------------------------------------

Looks reasonable, my comment would be IO-118 requests forceDelete to return a boolean - probably would be useful here too.

> Add convenience deleteQuietly to FileUtils
> ------------------------------------------
>
>                 Key: IO-135
>                 URL: https://issues.apache.org/jira/browse/IO-135
>             Project: Commons IO
>          Issue Type: Improvement
>          Components: Utilities
>            Reporter: Kevin Conaway
>            Priority: Minor
>         Attachments: io-135.patch
>
>
> It is occasionally useful to delete a file or directory and not care whether that call succeeds or not.   I'm not quite sure what others do when deleting a file or directory fails but most often the case is to simply log the event and move on.
> The attached patch includes a new method deleteQuietly() and supporting test cases

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.