[jcifs] SmbFile.equals() always returning false
Allen, Michael B (RSCH)
Michael_B_Allen at ml.com
Tue Dec 11 11:29:20 EST 2001
I meant equals in UniAddress, not SmbFile. UniAddress is a wrapper so all the Object
methods may need to be implemented to call the underlying Object's analogous method.
That's how I overlooked this in the first place.
> -----Original Message-----
> From: Rob Wygand [SMTP:rob at filefish.com]
> It was equals that was failing because hashcodes were always different.
> This fix made equals do the right thing (I've tested it fairly
> thouroughly). I'll let you know if anything else pops up related to this.
> think the above will do just that. This makes me wonder about some other methods
> > though (e.g. equals).
> > Mike
More information about the jcifs