{"issue":{"created_at":"2011-11-23T20:37:23Z","state":"closed","updated_at":"2011-11-23T20:45:50Z","user":{"gravatar_id":"01c4bb8048409cf0238a6518b96d8e05","id":71668,"url":"https://api.github.com/users/matthewfarwell","login":"matthewfarwell","avatar_url":"https://secure.gravatar.com/avatar/01c4bb8048409cf0238a6518b96d8e05?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"body":"## EqualsHashCode\r\nChecks that classes that override equals() also override hashCode().\r\nRationale: The contract of equals() and hashCode() requires that equal objects have the same hashCode.\r\nHence, whenever you override equals() you must override hashCode() to ensure that your class can be used in collections that are hash based. ","assignee":{"gravatar_id":"01c4bb8048409cf0238a6518b96d8e05","id":71668,"url":"https://api.github.com/users/matthewfarwell","login":"matthewfarwell","avatar_url":"https://secure.gravatar.com/avatar/01c4bb8048409cf0238a6518b96d8e05?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2334284,"labels":[],"number":2,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Implement EqualsHashCode","closed_at":"2011-11-23T20:45:50Z","html_url":"https://github.com/scalastyle/scalastyle/issues/2","milestone":null,"url":"https://api.github.com/repos/scalastyle/scalastyle/issues/2"},"action":"closed"}