[jcifs] SmbFile.equals() always returning false

Michael B.Allen mballen at erols.com
Tue Dec 11 19:24:14 EST 2001


On Mon, 10 Dec 2001 13:59:23 -0800
Rob Wygand <rob at wygand.com> wrote:

> For the record, I fixed this by added a hashCode() function to 
> UniAddress that explicity called hashCode on the address object.
> 
> That is, I added:
> 
> public int hashCode () {
>    return addr.hashCode();
> }

Yup, I just looked at the code and this is the right fix.

Thanks for the follow-through,
Mike

-- 
May The Source be with you.




More information about the jcifs mailing list