You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2017/12/30 09:06:04 UTC
[jira] [Closed] (OAK-7031) DeleteOnCloseFileInputStream should
properly handle errors when deleting the file
[ https://issues.apache.org/jira/browse/OAK-7031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke closed OAK-7031.
-------------------------------
> DeleteOnCloseFileInputStream should properly handle errors when deleting the file
> ---------------------------------------------------------------------------------
>
> Key: OAK-7031
> URL: https://issues.apache.org/jira/browse/OAK-7031
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segment-tar
> Reporter: Francesco Mari
> Assignee: Francesco Mari
> Fix For: 1.7.14, 1.8
>
>
> {{DeleteOnCloseFileInputStream}} uses {{File#delete}} to delete the temporary file. It would be an improvement to use {{Files#deleteIfExists}}, which would provided more detailed reports in case of errors.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)