Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7031

DeleteOnCloseFileInputStream should properly handle errors when deleting the file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.14, 1.8.0
    • segment-tar
    • None

    Description

      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.

      Attachments

        Activity

          People

            frm Francesco Mari
            frm Francesco Mari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: