commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <>
Subject [jira] Commented: (IO-135) Add convenience deleteQuietly to FileUtils
Date Thu, 15 Nov 2007 17:19:43 GMT


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:
>             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.

View raw message