You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Eugene Smelik (JIRA)" <ji...@apache.org> on 2010/03/04 15:13:27 UTC
[jira] Commented: (IO-231) FileUtils generate wrong exception
message in isFileNewer method
[ 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.