https://bz.apache.org/bugzilla/show_bug.cgi?id=62287
--- Comment #5 from Christopher Schultz <ch...@christopherschultz.net> --- I would actually prefer to drop the hashCode because: 1. It complicates code unnecessarily (!) 2. It makes a guess about the implementation of Node.equals() that a hash-code check is faster than any other check 2a. Some hashCode calls are expensive (eg SimpleNode.hashCode where "children" is long) 2b. Checking node's runtime type is probably the quickest possible rule-out 2c. Node.equals(Object) already checks object types -- 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