On 26/04/2010 14:26, Stefan Bodewig wrote:
> "abc" has to exist, does it in your testcase?
No it didn't exists, I simply coded:-
if (new File("c:\\abc.txt").equals(new File("c:\\ABC.txt"))){
System.out.println("Equals");
} else {
System.out.println("NOT Equals");
}
and ran it.
The existence (or not) of either file abc.txt or ABC.txt made no
difference to the return of '.equals', but I did not expect it to?
Perhaps the result of running the specific test on xp would have been
better information to share.
--
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]