You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Antoine Duprat (JIRA)" <ji...@apache.org> on 2015/05/11 14:13:38 UTC
[jira] [Commented] (MAILBOX-232) Return value of
File.[delete|mkdir] is ignored
[ https://issues.apache.org/jira/browse/MAILBOX-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537867#comment-14537867 ]
Antoine Duprat commented on MAILBOX-232:
----------------------------------------
Related to https://issues.apache.org/jira/browse/JAMES-1310
> Return value of File.[delete|mkdir] is ignored
> ----------------------------------------------
>
> Key: MAILBOX-232
> URL: https://issues.apache.org/jira/browse/MAILBOX-232
> Project: James Mailbox
> Issue Type: Bug
> Affects Versions: 0.6
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org