[
https://issues.apache.org/jira/browse/IO-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841273#action_12841273
]
Eugene Smelik commented on IO-231:
----------------------------------
The same problem exists in method isFileOlder()
> FileUtils generate wrong exception message in isFileNewer method
> ----------------------------------------------------------------
>
> Key: IO-231
> URL: https://issues.apache.org/jira/browse/IO-231
> Project: Commons IO
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 1.4
> Reporter: Eugene Smelik
> Fix For: 2.0
>
> Original Estimate: 0.05h
> Remaining Estimate: 0.05h
>
> {code}
> if (!reference.exists()) {
> throw new IllegalArgumentException("The reference file '" + file + "'
> doesn't exist");
> }
> {code}
> If second argument file does not exist isFileNewer method generates exception
> with message about first argument file does not exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.