Menu

#6 Post class missing hashCode implementation

open
General (3)
5
2010-10-30
2010-10-30
Anonymous
No

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.

Discussion


Log in to post a comment.