commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (IO-231) FileUtils generate wrong exception message in isFileNewer method
Date Thu, 04 Mar 2010 18:11:27 GMT

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

Sebb resolved IO-231.
---------------------

    Resolution: Fixed

Thanks for the report. Fixed in SVN:

URL: http://svn.apache.org/viewvc?rev=919101&view=rev
Log:
IO-231 FileUtils generate wrong exception message in isFileNewer method

Modified:
   commons/proper/io/trunk/src/java/org/apache/commons/io/FileUtils.java
   commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsTestCase.java

> 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.


Mime
View raw message