On 28/11/2014 19:07, Konstantin Kolinko wrote: > 2014-11-28 21:29 GMT+03:00 Mark Thomas <ma...@apache.org>: >> 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.
Thanks. Fixed. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org