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

Henri Yandell commented on IO-135:
----------------------------------

Looking into how to actually do IO-118; it would also require a boolean return 
from deleteDirectory.

We could add private _deleteDirectory and _forceDelete methods that return 
boolean and then allow this deleteQuietly to return boolean; or we could add 
the patch as is and change all in 2.0.

I'm tempted by the latter - let's just apply as is.

> 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
>             Fix For: 1.4
>
>         Attachments: IO-135-FileUtils_deleteQuietly.patch, 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.

Reply via email to