im not suggesting that any interface be amended - im just saying instead of
delegating to classes Object.equals(Object) wrap tests with extra tests if
either implement CanEquals(Object). In the end whole idea is broken because
you can never do the right thing and some hidden wrong action is just going
to screw someone up. If people want proper equals/hashcoding they can design
the class hierarchies properly and do the equals and hashcodes properly.

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to javapo...@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to