{"action":"created","issue":{"url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/610","repository_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo","labels_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/610/labels{/name}","comments_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/610/comments","events_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/610/events","html_url":"https://github.com/joelittlejohn/jsonschema2pojo/issues/610","id":171184449,"number":610,"title":"equals and hashcode invokes super even if superclass has no fields","user":{"login":"ashish-sharma09","id":5764596,"avatar_url":"https://avatars.githubusercontent.com/u/5764596?v=3","gravatar_id":"","url":"https://api.github.com/users/ashish-sharma09","html_url":"https://github.com/ashish-sharma09","followers_url":"https://api.github.com/users/ashish-sharma09/followers","following_url":"https://api.github.com/users/ashish-sharma09/following{/other_user}","gists_url":"https://api.github.com/users/ashish-sharma09/gists{/gist_id}","starred_url":"https://api.github.com/users/ashish-sharma09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashish-sharma09/subscriptions","organizations_url":"https://api.github.com/users/ashish-sharma09/orgs","repos_url":"https://api.github.com/users/ashish-sharma09/repos","events_url":"https://api.github.com/users/ashish-sharma09/events{/privacy}","received_events_url":"https://api.github.com/users/ashish-sharma09/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-15T14:43:43Z","updated_at":"2016-08-15T21:41:07Z","closed_at":null,"body":"I can see in the previous pull requests that it was fixed to invoke super equals and hashcode due to older versions not doing the same. This is working all right except for the case (as ours) where top most class in the hierarchy has no fields hence no equals and hashcode implementation generated for the same and the immediate childs of this class ends up calling Objects equals and hashcode which in effect nullifies everything if not comparing same instances.\r\n\r\nDue to this issue we are not able to use the latest version of the library. Can this be looked into as soon as possible?\r\n\r\nMany thanks and let me know if there are any questions with regard to the same."},"comment":{"url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/comments/239938045","html_url":"https://github.com/joelittlejohn/jsonschema2pojo/issues/610#issuecomment-239938045","issue_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/610","id":239938045,"user":{"login":"joelittlejohn","id":686384,"avatar_url":"https://avatars.githubusercontent.com/u/686384?v=3","gravatar_id":"","url":"https://api.github.com/users/joelittlejohn","html_url":"https://github.com/joelittlejohn","followers_url":"https://api.github.com/users/joelittlejohn/followers","following_url":"https://api.github.com/users/joelittlejohn/following{/other_user}","gists_url":"https://api.github.com/users/joelittlejohn/gists{/gist_id}","starred_url":"https://api.github.com/users/joelittlejohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelittlejohn/subscriptions","organizations_url":"https://api.github.com/users/joelittlejohn/orgs","repos_url":"https://api.github.com/users/joelittlejohn/repos","events_url":"https://api.github.com/users/joelittlejohn/events{/privacy}","received_events_url":"https://api.github.com/users/joelittlejohn/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T21:41:07Z","updated_at":"2016-08-15T21:41:07Z","body":"Sounds like we need to not call super if the superclass is Object. Happy to accept a PR for this."}}
{"actor":{"display_login":"joelittlejohn"}}