https://bz.apache.org/bugzilla/show_bug.cgi?id=62287

--- Comment #8 from Christopher Schultz <ch...@christopherschultz.net> ---
(In reply to Mark Struberg from comment #7)
> But of course hashCode() will likely again be called in Node#equals(). That
> would make it being called twice - which makes no sense.

I've rarely seen an equals() method use hashCode for anything.

It's not used in SimpleNode#equals, for instance.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to