james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Duprat (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] [Resolved] (MIME4J-245) Return value of File.[delete|mkdir] is ignored
Date Mon, 22 Jun 2015 13:45:00 GMT

     [ https://issues.apache.org/jira/browse/MIME4J-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Antoine Duprat resolved MIME4J-245.
-----------------------------------
    Resolution: Fixed

> Return value of File.[delete|mkdir] is ignored
> ----------------------------------------------
>
>                 Key: MIME4J-245
>                 URL: https://issues.apache.org/jira/browse/MIME4J-245
>             Project: James Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Antoine Duprat
>         Attachments: 0001-JWC-126-Use-FileUtils-when-deleting-file-and-creatin.patch
>
>
> 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)

Mime
View raw message