SyntaxFix
Write A Post
Hire A Developer
Questions
You should read up on how to ensure that you've implemented equals and hashCode properly. This is a good starting point: What issues should be considered when overriding equals and hashCode in Java?