David Latorre wrote:
After changing NativeFtpFile equals to the followingcode :
@Override
public boolean equals(Object obj) {
try{
if(obj != null && obj instanceof NativeFtpFile) {
return this.file.getCanonicalPath().equals( ((NativeFtpFile)
obj).file.getCanonicalPath() ) ;
}
}catch(IOException e){}
return false;
}
All the tests are passing under Windows (Vista) with Jre 1.6.0_7 and Jre
1.5.0_15
Way better than the quick hack I submitted (but I did it around 1 am).
Funny how such a simple problem has stuck at least 8 high level
developpers (!) for one full week... May be not having a Mac is also the
reason we got stuck and also the lack of time for many of us...
Apple, I know at least 8 persons who need a Mac Book Pro 17", 8 Gb, Quad
core 3Ghz, 300 Gb SSD disk, 6h battery...
And a special thank for Saï who finally found the way out of this maze !
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org