2014-11-28 21:29 GMT+03:00 Mark Thomas <[email protected]>:
> On 28/11/2014 17:47, Konstantin Kolinko wrote:
>
> Thanks for the review. I think I've addressed everything.
>
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + lcKey.hashCode();
return result;
}
Essentially (prime * result) is constant, 31.
Just lcKey.hashCode() should be OK.
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]