commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Kan (JIRA)" <j...@apache.org>
Subject [jira] Created: (IO-254) FileUtils.contentEquals returns true for equal file names, but file is actually not existing
Date Tue, 26 Oct 2010 10:31:25 GMT
FileUtils.contentEquals returns true for equal file names, but file is actually not existing
--------------------------------------------------------------------------------------------

                 Key: IO-254
                 URL: https://issues.apache.org/jira/browse/IO-254
             Project: Commons IO
          Issue Type: Bug
         Environment: windows and linux
            Reporter: Dmitry Kan
            Priority: Trivial


It is said in the documentation, that:

"This method checks to see if the two files are different lengths or if they point to the
same file, before resorting to byte-by-byte comparison of the contents. "

Does it make sense to return true when the file does not exist even if comparison of a file
to itself was attempted?

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