{"action":"created","comment":{"url":"https://api.github.com/repos/tomasbjerre/violations-test/pulls/comments/55064066","id":55064066,"diff_hunk":"@@ -0,0 +1,19 @@\n+package se.bjurr.violations.lib.example;","path":"src/main/java/se/bjurr/violations/lib/example/CopyOfMyClass.java","position":1,"original_position":1,"commit_id":"83eaa2d839134cc3a177a5121495c334968e92a2","original_commit_id":"2dc27d48f85c86c9c64d37378bea7b65cf993743","user":{"login":"tomasbjerre","id":439571,"avatar_url":"https://avatars.githubusercontent.com/u/439571?v=3","gravatar_id":"","url":"https://api.github.com/users/tomasbjerre","html_url":"https://github.com/tomasbjerre","followers_url":"https://api.github.com/users/tomasbjerre/followers","following_url":"https://api.github.com/users/tomasbjerre/following{/other_user}","gists_url":"https://api.github.com/users/tomasbjerre/gists{/gist_id}","starred_url":"https://api.github.com/users/tomasbjerre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomasbjerre/subscriptions","organizations_url":"https://api.github.com/users/tomasbjerre/orgs","repos_url":"https://api.github.com/users/tomasbjerre/repos","events_url":"https://api.github.com/users/tomasbjerre/events{/privacy}","received_events_url":"https://api.github.com/users/tomasbjerre/received_events","type":"User","site_admin":false},"body":"Violation: FINDBUGS Rule: HE_EQUALS_USE_HASHCODE Severity: WARN\nFile: se/bjurr/violations/lib/example/CopyOfMyClass.java (se.bjurr.violations.lib.example.CopyOfMyClass)\nClass defines equals() and uses Object.hashCode()\n\n\n  <p> This class overrides <code>equals(Object)</code>, but does not\n  override <code>hashCode()</code>, and inherits the implementation of\n  <code>hashCode()</code> from <code>java.lang.Object</code> (which returns\n  the identity hash code, an arbitrary value assigned to the object\n  by the VM).&nbsp; Therefore, the class is very likely to violate the\n  invariant that equal objects must have equal hashcodes.</p>\n\n<p>If you don't think instances of this class will ever be inserted into a HashMap/HashTable,\nthe recommended <code>hashCode</code> implementation to use is:</p>\n<pre>public int hashCode() {\n  assert false : \"hashCode not designed\";\n  return 42; // any arbitrary constant will do\n  }</pre>\n\n\n<this is a auto generated comment from violation-comments-lib F7F8ASD8123FSDF>\n","created_at":"2016-03-04T17:58:44Z","updated_at":"2016-03-04T17:58:44Z","html_url":"https://github.com/tomasbjerre/violations-test/pull/1#discussion_r55064066","pull_request_url":"https://api.github.com/repos/tomasbjerre/violations-test/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/tomasbjerre/violations-test/pulls/comments/55064066"},"html":{"href":"https://github.com/tomasbjerre/violations-test/pull/1#discussion_r55064066"},"pull_request":{"href":"https://api.github.com/repos/tomasbjerre/violations-test/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/tomasbjerre/violations-test/pulls/1","id":61606136,"html_url":"https://github.com/tomasbjerre/violations-test/pull/1","diff_url":"https://github.com/tomasbjerre/violations-test/pull/1.diff","patch_url":"https://github.com/tomasbjerre/violations-test/pull/1.patch","issue_url":"https://api.github.com/repos/tomasbjerre/violations-test/issues/1","number":1,"state":"open","locked":false,"title":"Feature/addingcrap","user":{"login":"tomasbjerre","id":439571,"avatar_url":"https://avatars.githubusercontent.com/u/439571?v=3","gravatar_id":"","url":"https://api.github.com/users/tomasbjerre","html_url":"https://github.com/tomasbjerre","followers_url":"https://api.github.com/users/tomasbjerre/followers","following_url":"https://api.github.com/users/tomasbjerre/following{/other_user}","gists_url":"https://api.github.com/users/tomasbjerre/gists{/gist_id}","starred_url":"https://api.github.com/users/tomasbjerre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomasbjerre/subscriptions","organizations_url":"https://api.github.com/users/tomasbjerre/orgs","repos_url":"https://api.github.com/users/tomasbjerre/repos","events_url":"https://api.github.com/users/tomasbjerre/events{/privacy}","received_events_url":"https://api.github.com/users/tomasbjerre/received_events","type":"User","site_admin":false},"body":"for testing","created_at":"2016-03-03T18:50:22Z","updated_at":"2016-03-04T17:58:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bf004aec45d7d2a3aeced7dc667e4b9dc9f1713e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tomasbjerre/violations-test/pulls/1/commits","review_comments_url":"https://api.github.com/repos/tomasbjerre/violations-test/pulls/1/comments","review_comment_url":"https://api.github.com/repos/tomasbjerre/violations-test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tomasbjerre/violations-test/issues/1/comments","statuses_url":"https://api.github.com/repos/tomasbjerre/violations-test/statuses/83eaa2d839134cc3a177a5121495c334968e92a2","head":{"label":"tomasbjerre:feature/addingcrap","ref":"feature/addingcrap","sha":"83eaa2d839134cc3a177a5121495c334968e92a2","user":{"login":"tomasbjerre","id":439571,"avatar_url":"https://avatars.githubusercontent.com/u/439571?v=3","gravatar_id":"","url":"https://api.github.com/users/tomasbjerre","html_url":"https://github.com/tomasbjerre","followers_url":"https://api.github.com/users/tomasbjerre/followers","following_url":"https://api.github.com/users/tomasbjerre/following{/other_user}","gists_url":"https://api.github.com/users/tomasbjerre/gists{/gist_id}","starred_url":"https://api.github.com/users/tomasbjerre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomasbjerre/subscriptions","organizations_url":"https://api.github.com/users/tomasbjerre/orgs","repos_url":"https://api.github.com/users/tomasbjerre/repos","events_url":"https://api.github.com/users/tomasbjerre/events{/privacy}","received_events_url":"https://api.github.com/users/tomasbjerre/received_events","type":"User","site_admin":false},"repo":{"id":53073571,"name":"violations-test","full_name":"tomasbjerre/violations-test","owner":{"login":"tomasbjerre","id":439571,"avatar_url":"https://avatars.githubusercontent.com/u/439571?v=3","gravatar_id":"","url":"https://api.github.com/users/tomasbjerre","html_url":"https://github.com/tomasbjerre","followers_url":"https://api.github.com/users/tomasbjerre/followers","following_url":"https://api.github.com/users/tomasbjerre/following{/other_user}","gists_url":"https://api.github.com/users/tomasbjerre/gists{/gist_id}","starred_url":"https://api.github.com/users/tomasbjerre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomasbjerre/subscriptions","organizations_url":"https://api.github.com/users/tomasbjerre/orgs","repos_url":"https://api.github.com/users/tomasbjerre/repos","events_url":"https://api.github.com/users/tomasbjerre/events{/privacy}","received_events_url":"https://api.github.com/users/tomasbjerre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomasbjerre/violations-test","description":"This is just a test repo where I try out some static code analyzers.","fork":false,"url":"https://api.github.com/repos/tomasbjerre/violations-test","forks_url":"https://api.github.com/repos/tomasbjerre/violations-test/forks","keys_url":"https://api.github.com/repos/tomasbjerre/violations-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomasbjerre/violations-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomasbjerre/violations-test/teams","hooks_url":"https://api.github.com/repos/tomasbjerre/violations-test/hooks","issue_events_url":"https://api.github.com/repos/tomasbjerre/violations-test/issues/events{/number}","events_url":"https://api.github.com/repos/tomasbjerre/violations-test/events","assignees_url":"https://api.github.com/repos/tomasbjerre/violations-test/assignees{/user}","branches_url":"https://api.github.com/repos/tomasbjerre/violations-test/branches{/branch}","tags_url":"https://api.github.com/repos/tomasbjerre/violations-test/tags","blobs_url":"https://api.github.com/repos/tomasbjerre/violations-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomasbjerre/violations-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomasbjerre/violations-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomasbjerre/violations-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomasbjerre/violations-test/statuses/{sha}","languages_url":"https://api.github.com/repos/tomasbjerre/violations-test/languages","stargazers_url":"https://api.github.com/repos/tomasbjerre/violations-test/stargazers","contributors_url":"https://api.github.com/repos/tomasbjerre/violations-test/contributors","subscribers_url":"https://api.github.com/repos/tomasbjerre/violations-test/subscribers","subscription_url":"https://api.github.com/repos/tomasbjerre/violations-test/subscription","commits_url":"https://api.github.com/repos/tomasbjerre/violations-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomasbjerre/violations-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomasbjerre/violations-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomasbjerre/violations-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomasbjerre/violations-test/contents/{+path}","compare_url":"https://api.github.com/repos/tomasbjerre/violations-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomasbjerre/violations-test/merges","archive_url":"https://api.github.com/repos/tomasbjerre/violations-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomasbjerre/violations-test/downloads","issues_url":"https://api.github.com/repos/tomasbjerre/violations-test/issues{/number}","pulls_url":"https://api.github.com/repos/tomasbjerre/violations-test/pulls{/number}","milestones_url":"https://api.github.com/repos/tomasbjerre/violations-test/milestones{/number}","notifications_url":"https://api.github.com/repos/tomasbjerre/violations-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomasbjerre/violations-test/labels{/name}","releases_url":"https://api.github.com/repos/tomasbjerre/violations-test/releases{/id}","deployments_url":"https://api.github.com/repos/tomasbjerre/violations-test/deployments","created_at":"2016-03-03T18:31:25Z","updated_at":"2016-03-03T18:37:50Z","pushed_at":"2016-03-04T10:07:47Z","git_url":"git://github.com/tomasbjerre/violations-test.git","ssh_url":"git@github.com:tomasbjerre/violations-test.git","clone_url":"https://github.com/tomasbjerre/violations-test.git","svn_url":"https://github.com/tomasbjerre/violations-test","homepage":null,"size":57,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"tomasbjerre:master","ref":"master","sha":"e45eebdf10e2b83105259eda9e6d535d52cd747d","user":{"login":"tomasbjerre","id":439571,"avatar_url":"https://avatars.githubusercontent.com/u/439571?v=3","gravatar_id":"","url":"https://api.github.com/users/tomasbjerre","html_url":"https://github.com/tomasbjerre","followers_url":"https://api.github.com/users/tomasbjerre/followers","following_url":"https://api.github.com/users/tomasbjerre/following{/other_user}","gists_url":"https://api.github.com/users/tomasbjerre/gists{/gist_id}","starred_url":"https://api.github.com/users/tomasbjerre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomasbjerre/subscriptions","organizations_url":"https://api.github.com/users/tomasbjerre/orgs","repos_url":"https://api.github.com/users/tomasbjerre/repos","events_url":"https://api.github.com/users/tomasbjerre/events{/privacy}","received_events_url":"https://api.github.com/users/tomasbjerre/received_events","type":"User","site_admin":false},"repo":{"id":53073571,"name":"violations-test","full_name":"tomasbjerre/violations-test","owner":{"login":"tomasbjerre","id":439571,"avatar_url":"https://avatars.githubusercontent.com/u/439571?v=3","gravatar_id":"","url":"https://api.github.com/users/tomasbjerre","html_url":"https://github.com/tomasbjerre","followers_url":"https://api.github.com/users/tomasbjerre/followers","following_url":"https://api.github.com/users/tomasbjerre/following{/other_user}","gists_url":"https://api.github.com/users/tomasbjerre/gists{/gist_id}","starred_url":"https://api.github.com/users/tomasbjerre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomasbjerre/subscriptions","organizations_url":"https://api.github.com/users/tomasbjerre/orgs","repos_url":"https://api.github.com/users/tomasbjerre/repos","events_url":"https://api.github.com/users/tomasbjerre/events{/privacy}","received_events_url":"https://api.github.com/users/tomasbjerre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomasbjerre/violations-test","description":"This is just a test repo where I try out some static code analyzers.","fork":false,"url":"https://api.github.com/repos/tomasbjerre/violations-test","forks_url":"https://api.github.com/repos/tomasbjerre/violations-test/forks","keys_url":"https://api.github.com/repos/tomasbjerre/violations-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomasbjerre/violations-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomasbjerre/violations-test/teams","hooks_url":"https://api.github.com/repos/tomasbjerre/violations-test/hooks","issue_events_url":"https://api.github.com/repos/tomasbjerre/violations-test/issues/events{/number}","events_url":"https://api.github.com/repos/tomasbjerre/violations-test/events","assignees_url":"https://api.github.com/repos/tomasbjerre/violations-test/assignees{/user}","branches_url":"https://api.github.com/repos/tomasbjerre/violations-test/branches{/branch}","tags_url":"https://api.github.com/repos/tomasbjerre/violations-test/tags","blobs_url":"https://api.github.com/repos/tomasbjerre/violations-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomasbjerre/violations-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomasbjerre/violations-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomasbjerre/violations-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomasbjerre/violations-test/statuses/{sha}","languages_url":"https://api.github.com/repos/tomasbjerre/violations-test/languages","stargazers_url":"https://api.github.com/repos/tomasbjerre/violations-test/stargazers","contributors_url":"https://api.github.com/repos/tomasbjerre/violations-test/contributors","subscribers_url":"https://api.github.com/repos/tomasbjerre/violations-test/subscribers","subscription_url":"https://api.github.com/repos/tomasbjerre/violations-test/subscription","commits_url":"https://api.github.com/repos/tomasbjerre/violations-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomasbjerre/violations-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomasbjerre/violations-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomasbjerre/violations-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomasbjerre/violations-test/contents/{+path}","compare_url":"https://api.github.com/repos/tomasbjerre/violations-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomasbjerre/violations-test/merges","archive_url":"https://api.github.com/repos/tomasbjerre/violations-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomasbjerre/violations-test/downloads","issues_url":"https://api.github.com/repos/tomasbjerre/violations-test/issues{/number}","pulls_url":"https://api.github.com/repos/tomasbjerre/violations-test/pulls{/number}","milestones_url":"https://api.github.com/repos/tomasbjerre/violations-test/milestones{/number}","notifications_url":"https://api.github.com/repos/tomasbjerre/violations-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomasbjerre/violations-test/labels{/name}","releases_url":"https://api.github.com/repos/tomasbjerre/violations-test/releases{/id}","deployments_url":"https://api.github.com/repos/tomasbjerre/violations-test/deployments","created_at":"2016-03-03T18:31:25Z","updated_at":"2016-03-03T18:37:50Z","pushed_at":"2016-03-04T10:07:47Z","git_url":"git://github.com/tomasbjerre/violations-test.git","ssh_url":"git@github.com:tomasbjerre/violations-test.git","clone_url":"https://github.com/tomasbjerre/violations-test.git","svn_url":"https://github.com/tomasbjerre/violations-test","homepage":null,"size":57,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tomasbjerre/violations-test/pulls/1"},"html":{"href":"https://github.com/tomasbjerre/violations-test/pull/1"},"issue":{"href":"https://api.github.com/repos/tomasbjerre/violations-test/issues/1"},"comments":{"href":"https://api.github.com/repos/tomasbjerre/violations-test/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/tomasbjerre/violations-test/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/tomasbjerre/violations-test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tomasbjerre/violations-test/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/tomasbjerre/violations-test/statuses/83eaa2d839134cc3a177a5121495c334968e92a2"}}}}