[
https://issues.apache.org/jira/browse/IO-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niall Pemberton updated IO-135:
-------------------------------
Attachment: IO-135-FileUtils_deleteQuietly.patch
Attaching an alternative patch that handles nulls and returns a boolean if the
file/directory is deleted
> 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.