You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mailet-api@james.apache.org by "Antoine Duprat (JIRA)" <ma...@james.apache.org> on 2015/05/11 14:27:59 UTC

[jira] [Created] (MAILET-95) Return value of File.[delete|mkdir] is ignored

Antoine Duprat created MAILET-95:
------------------------------------

             Summary: Return value of File.[delete|mkdir] is ignored
                 Key: MAILET-95
                 URL: https://issues.apache.org/jira/browse/MAILET-95
             Project: James Mailet
          Issue Type: Bug
    Affects Versions: 3.0
            Reporter: Antoine Duprat




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




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)