Hello,
The Post class overrides equals and MUST override hashCode() as per java specification. An implementation of hashCode() that returns href.hashCode() should be ok.
Thanks.
Log in to post a comment.