I Stopped Overriding equals() Without hashCode(). Here’s the Bug That Taught Me Why.
I once added the same logical object to a HashSet twice, watched the set report a size of two instead of one, and spent longer than I want to admit assuming the bug was somewhere…