{"action":"created","issue":{"url":"https://api.github.com/repos/floodlight/loxigen/issues/497","repository_url":"https://api.github.com/repos/floodlight/loxigen","labels_url":"https://api.github.com/repos/floodlight/loxigen/issues/497/labels{/name}","comments_url":"https://api.github.com/repos/floodlight/loxigen/issues/497/comments","events_url":"https://api.github.com/repos/floodlight/loxigen/issues/497/events","html_url":"https://github.com/floodlight/loxigen/pull/497","id":161428818,"number":497,"title":"Add equalsIgnoreXid() + hashCodeIgnoreXid() to OFMessage","user":{"login":"rizard","id":4602945,"avatar_url":"https://avatars.githubusercontent.com/u/4602945?v=3","gravatar_id":"","url":"https://api.github.com/users/rizard","html_url":"https://github.com/rizard","followers_url":"https://api.github.com/users/rizard/followers","following_url":"https://api.github.com/users/rizard/following{/other_user}","gists_url":"https://api.github.com/users/rizard/gists{/gist_id}","starred_url":"https://api.github.com/users/rizard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rizard/subscriptions","organizations_url":"https://api.github.com/users/rizard/orgs","repos_url":"https://api.github.com/users/rizard/repos","events_url":"https://api.github.com/users/rizard/events{/privacy}","received_events_url":"https://api.github.com/users/rizard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-06-21T12:52:38Z","updated_at":"2016-06-22T15:14:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/floodlight/loxigen/pulls/497","html_url":"https://github.com/floodlight/loxigen/pull/497","diff_url":"https://github.com/floodlight/loxigen/pull/497.diff","patch_url":"https://github.com/floodlight/loxigen/pull/497.patch"},"body":"Reviewer: @andi-bigswitch \r\n\r\nOtherwise, we have to cast to the specific implementing class to access the function. The assumption is that all implementers of OFMessage will have an equalsIgnoreXid() function generated for them, which they should and do.\r\n\r\nAlso, removed extra space from of_interface.java.\r\n\r\nAnd lastly, introduce hashCodeIgnoreXid() for OFMessage and its implementing classes. This will allow us to hash an OFMessage disregarding the XID such that two or more OFMessages that are equal except for the XID field will produce the same hash."},"comment":{"url":"https://api.github.com/repos/floodlight/loxigen/issues/comments/227776482","html_url":"https://github.com/floodlight/loxigen/pull/497#issuecomment-227776482","issue_url":"https://api.github.com/repos/floodlight/loxigen/issues/497","id":227776482,"user":{"login":"bsn-abat","id":1144962,"avatar_url":"https://avatars.githubusercontent.com/u/1144962?v=3","gravatar_id":"","url":"https://api.github.com/users/bsn-abat","html_url":"https://github.com/bsn-abat","followers_url":"https://api.github.com/users/bsn-abat/followers","following_url":"https://api.github.com/users/bsn-abat/following{/other_user}","gists_url":"https://api.github.com/users/bsn-abat/gists{/gist_id}","starred_url":"https://api.github.com/users/bsn-abat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsn-abat/subscriptions","organizations_url":"https://api.github.com/users/bsn-abat/orgs","repos_url":"https://api.github.com/users/bsn-abat/repos","events_url":"https://api.github.com/users/bsn-abat/events{/privacy}","received_events_url":"https://api.github.com/users/bsn-abat/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T15:14:27Z","updated_at":"2016-06-22T15:14:27Z","body":"\nRefer to this link for build results (access rights to CI server needed): \nhttps://jenkins.bigswitch.com/job/loxigen_pull_req_artifacts/42/\n"}}
{"actor":{"display_login":"bsn-abat"}}