Uploaded image for project: 'James Mime4j'
  1. James Mime4j
  2. MIME4J-245

Return value of File.[delete|mkdir] is ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • None
    • None

    Description

      In various places we use java.io.File.[delete|mkdir] without respecting the return value. File.delete e.g. may just return false if the file/directory can't be deleted/created because of any other reason than a SecurityException [1].

      In case the return value is false an IOException should be thrown

      Attachments

        Activity

          People

            Unassigned Unassigned
            aduprat Antoine Duprat
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: