[
https://issues.apache.org/jira/browse/IO-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niall Pemberton resolved IO-216.
--------------------------------
Resolution: Fixed
OK I've applied the patch I suggested and renamed this ticket to reflect that
change.
> Delete files quietly when an exception is thrown during initialization
> ----------------------------------------------------------------------
>
> Key: IO-216
> URL: https://issues.apache.org/jira/browse/IO-216
> Project: Commons IO
> Issue Type: Bug
> Components: Streams/Writers
> Affects Versions: 1.4
> Reporter: Sebb
> Assignee: Niall Pemberton
> Fix For: 2.0
>
> Attachments: IO-216-deleteQuietly.patch
>
>
> LockableFileWriter fails to report lock file deletion failure - it calls
> lockFile.delete() several times but fails to check the return code.
> N.B. IIRC, file.delete() returns false if there was no file to delete, so any
> fix needs to take this into account.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.