[jcifs] SmbFile.equals() always returning false

rjw rob at wygand.com
Tue Dec 11 19:14:40 EST 2001


Hey, it's the least I can do for all your fine work! =)

Michael B. Allen wrote:

> 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
> 
> 


-- 
Robert J. Wygand, III, D.D.                  rob at wygand.com
GPG  [A267 C8F7 34C2 2896 20F3]  [7DC8 2605 9E4C 573A 20EC]

"They that can give up essential liberty to obtain a little
  temporary safety deserve neither liberty nor safety."





More information about the jcifs mailing list