commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <niall.pember...@gmail.com>
Subject Re: Commons IO FileUtils question
Date Mon, 30 Jun 2008 21:21:46 GMT
On Mon, Jun 30, 2008 at 8:15 PM, Eric Hamacher
<eric.hamacher@enetrix.com> wrote:
> Hello:
>
> I took a file on my filesystem, copied and renamed it.  I took the two
> files and compared them using FileUtils.contentEquals(File, File).  In
> this case, shouldn't the method return true?  If not, when would it
> return true?

Yes it should return true. Can you use a debugger to find out which
line in FileUtils is returning false? Also best to say which version
of Commons IO you are using.

Niall

>
> Thanks
>
>
>
> Regards,
>
> Eric Hamacher

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message