{"action":"created","comment":{"url":"https://api.github.com/repos/JabRef/jabref/pulls/comments/48558390","id":48558390,"diff_hunk":"@@ -144,11 +160,6 @@ public void execute(BstEntry context) {\n                     throw new VMException(\"Can only compare two integers with >\");\n                 }\n ","path":"src/main/java/net/sf/jabref/bst/VM.java","position":67,"original_position":67,"commit_id":"947f065f8fe90a589d4ac9d4729acf3c39328258","original_commit_id":"947f065f8fe90a589d4ac9d4729acf3c39328258","user":{"login":"oscargus","id":8114497,"avatar_url":"https://avatars.githubusercontent.com/u/8114497?v=3","gravatar_id":"","url":"https://api.github.com/users/oscargus","html_url":"https://github.com/oscargus","followers_url":"https://api.github.com/users/oscargus/followers","following_url":"https://api.github.com/users/oscargus/following{/other_user}","gists_url":"https://api.github.com/users/oscargus/gists{/gist_id}","starred_url":"https://api.github.com/users/oscargus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscargus/subscriptions","organizations_url":"https://api.github.com/users/oscargus/orgs","repos_url":"https://api.github.com/users/oscargus/repos","events_url":"https://api.github.com/users/oscargus/events{/privacy}","received_events_url":"https://api.github.com/users/oscargus/received_events","type":"User","site_admin":false},"body":"Both o1 and o2 are Integers (otherwise an Exception would have been thrown on line 160), so should be safe to only compare them using `compareTo`.","created_at":"2015-12-29T18:10:51Z","updated_at":"2015-12-29T18:10:51Z","html_url":"https://github.com/JabRef/jabref/pull/603#discussion_r48558390","pull_request_url":"https://api.github.com/repos/JabRef/jabref/pulls/603","_links":{"self":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/comments/48558390"},"html":{"href":"https://github.com/JabRef/jabref/pull/603#discussion_r48558390"},"pull_request":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/603"}}},"pull_request":{"url":"https://api.github.com/repos/JabRef/jabref/pulls/603","id":54745786,"html_url":"https://github.com/JabRef/jabref/pull/603","diff_url":"https://github.com/JabRef/jabref/pull/603.diff","patch_url":"https://github.com/JabRef/jabref/pull/603.patch","issue_url":"https://api.github.com/repos/JabRef/jabref/issues/603","number":603,"state":"open","locked":false,"title":"Removed Coverity warning in bst and cleaned up all files there","user":{"login":"oscargus","id":8114497,"avatar_url":"https://avatars.githubusercontent.com/u/8114497?v=3","gravatar_id":"","url":"https://api.github.com/users/oscargus","html_url":"https://github.com/oscargus","followers_url":"https://api.github.com/users/oscargus/followers","following_url":"https://api.github.com/users/oscargus/following{/other_user}","gists_url":"https://api.github.com/users/oscargus/gists{/gist_id}","starred_url":"https://api.github.com/users/oscargus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscargus/subscriptions","organizations_url":"https://api.github.com/users/oscargus/orgs","repos_url":"https://api.github.com/users/oscargus/repos","events_url":"https://api.github.com/users/oscargus/events{/privacy}","received_events_url":"https://api.github.com/users/oscargus/received_events","type":"User","site_admin":false},"body":"Fixed all but one of the possible* Coverity warnings for the bst package.\r\n\r\nAlso a PMD cleanup of all those files. Please see Github-comments in VM.java and see if you agree with me (the checks pass).\r\n\r\n* The warnings for the automatically generated files seems more challenging.","created_at":"2015-12-29T18:02:58Z","updated_at":"2015-12-29T18:10:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b6ce3e338b3c12e07d464769218031d0cc579c1d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JabRef/jabref/pulls/603/commits","review_comments_url":"https://api.github.com/repos/JabRef/jabref/pulls/603/comments","review_comment_url":"https://api.github.com/repos/JabRef/jabref/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JabRef/jabref/issues/603/comments","statuses_url":"https://api.github.com/repos/JabRef/jabref/statuses/947f065f8fe90a589d4ac9d4729acf3c39328258","head":{"label":"oscargus:coverityfix","ref":"coverityfix","sha":"947f065f8fe90a589d4ac9d4729acf3c39328258","user":{"login":"oscargus","id":8114497,"avatar_url":"https://avatars.githubusercontent.com/u/8114497?v=3","gravatar_id":"","url":"https://api.github.com/users/oscargus","html_url":"https://github.com/oscargus","followers_url":"https://api.github.com/users/oscargus/followers","following_url":"https://api.github.com/users/oscargus/following{/other_user}","gists_url":"https://api.github.com/users/oscargus/gists{/gist_id}","starred_url":"https://api.github.com/users/oscargus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscargus/subscriptions","organizations_url":"https://api.github.com/users/oscargus/orgs","repos_url":"https://api.github.com/users/oscargus/repos","events_url":"https://api.github.com/users/oscargus/events{/privacy}","received_events_url":"https://api.github.com/users/oscargus/received_events","type":"User","site_admin":false},"repo":{"id":43496954,"name":"jabref","full_name":"oscargus/jabref","owner":{"login":"oscargus","id":8114497,"avatar_url":"https://avatars.githubusercontent.com/u/8114497?v=3","gravatar_id":"","url":"https://api.github.com/users/oscargus","html_url":"https://github.com/oscargus","followers_url":"https://api.github.com/users/oscargus/followers","following_url":"https://api.github.com/users/oscargus/following{/other_user}","gists_url":"https://api.github.com/users/oscargus/gists{/gist_id}","starred_url":"https://api.github.com/users/oscargus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscargus/subscriptions","organizations_url":"https://api.github.com/users/oscargus/orgs","repos_url":"https://api.github.com/users/oscargus/repos","events_url":"https://api.github.com/users/oscargus/events{/privacy}","received_events_url":"https://api.github.com/users/oscargus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oscargus/jabref","description":"Graphical Java application for managing bibtex (.bib) databases","fork":true,"url":"https://api.github.com/repos/oscargus/jabref","forks_url":"https://api.github.com/repos/oscargus/jabref/forks","keys_url":"https://api.github.com/repos/oscargus/jabref/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oscargus/jabref/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oscargus/jabref/teams","hooks_url":"https://api.github.com/repos/oscargus/jabref/hooks","issue_events_url":"https://api.github.com/repos/oscargus/jabref/issues/events{/number}","events_url":"https://api.github.com/repos/oscargus/jabref/events","assignees_url":"https://api.github.com/repos/oscargus/jabref/assignees{/user}","branches_url":"https://api.github.com/repos/oscargus/jabref/branches{/branch}","tags_url":"https://api.github.com/repos/oscargus/jabref/tags","blobs_url":"https://api.github.com/repos/oscargus/jabref/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oscargus/jabref/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oscargus/jabref/git/refs{/sha}","trees_url":"https://api.github.com/repos/oscargus/jabref/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oscargus/jabref/statuses/{sha}","languages_url":"https://api.github.com/repos/oscargus/jabref/languages","stargazers_url":"https://api.github.com/repos/oscargus/jabref/stargazers","contributors_url":"https://api.github.com/repos/oscargus/jabref/contributors","subscribers_url":"https://api.github.com/repos/oscargus/jabref/subscribers","subscription_url":"https://api.github.com/repos/oscargus/jabref/subscription","commits_url":"https://api.github.com/repos/oscargus/jabref/commits{/sha}","git_commits_url":"https://api.github.com/repos/oscargus/jabref/git/commits{/sha}","comments_url":"https://api.github.com/repos/oscargus/jabref/comments{/number}","issue_comment_url":"https://api.github.com/repos/oscargus/jabref/issues/comments{/number}","contents_url":"https://api.github.com/repos/oscargus/jabref/contents/{+path}","compare_url":"https://api.github.com/repos/oscargus/jabref/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oscargus/jabref/merges","archive_url":"https://api.github.com/repos/oscargus/jabref/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oscargus/jabref/downloads","issues_url":"https://api.github.com/repos/oscargus/jabref/issues{/number}","pulls_url":"https://api.github.com/repos/oscargus/jabref/pulls{/number}","milestones_url":"https://api.github.com/repos/oscargus/jabref/milestones{/number}","notifications_url":"https://api.github.com/repos/oscargus/jabref/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oscargus/jabref/labels{/name}","releases_url":"https://api.github.com/repos/oscargus/jabref/releases{/id}","created_at":"2015-10-01T13:07:32Z","updated_at":"2015-10-01T13:07:39Z","pushed_at":"2015-12-29T17:58:08Z","git_url":"git://github.com/oscargus/jabref.git","ssh_url":"git@github.com:oscargus/jabref.git","clone_url":"https://github.com/oscargus/jabref.git","svn_url":"https://github.com/oscargus/jabref","homepage":"http://jabref.sourceforge.net/","size":76253,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JabRef:master","ref":"master","sha":"a1189056a9570fde365d40bc1ba03dd93d1811f5","user":{"login":"JabRef","id":3914421,"avatar_url":"https://avatars.githubusercontent.com/u/3914421?v=3","gravatar_id":"","url":"https://api.github.com/users/JabRef","html_url":"https://github.com/JabRef","followers_url":"https://api.github.com/users/JabRef/followers","following_url":"https://api.github.com/users/JabRef/following{/other_user}","gists_url":"https://api.github.com/users/JabRef/gists{/gist_id}","starred_url":"https://api.github.com/users/JabRef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JabRef/subscriptions","organizations_url":"https://api.github.com/users/JabRef/orgs","repos_url":"https://api.github.com/users/JabRef/repos","events_url":"https://api.github.com/users/JabRef/events{/privacy}","received_events_url":"https://api.github.com/users/JabRef/received_events","type":"Organization","site_admin":false},"repo":{"id":17634071,"name":"jabref","full_name":"JabRef/jabref","owner":{"login":"JabRef","id":3914421,"avatar_url":"https://avatars.githubusercontent.com/u/3914421?v=3","gravatar_id":"","url":"https://api.github.com/users/JabRef","html_url":"https://github.com/JabRef","followers_url":"https://api.github.com/users/JabRef/followers","following_url":"https://api.github.com/users/JabRef/following{/other_user}","gists_url":"https://api.github.com/users/JabRef/gists{/gist_id}","starred_url":"https://api.github.com/users/JabRef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JabRef/subscriptions","organizations_url":"https://api.github.com/users/JabRef/orgs","repos_url":"https://api.github.com/users/JabRef/repos","events_url":"https://api.github.com/users/JabRef/events{/privacy}","received_events_url":"https://api.github.com/users/JabRef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JabRef/jabref","description":"Graphical Java application for managing bibtex (.bib) databases","fork":false,"url":"https://api.github.com/repos/JabRef/jabref","forks_url":"https://api.github.com/repos/JabRef/jabref/forks","keys_url":"https://api.github.com/repos/JabRef/jabref/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JabRef/jabref/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JabRef/jabref/teams","hooks_url":"https://api.github.com/repos/JabRef/jabref/hooks","issue_events_url":"https://api.github.com/repos/JabRef/jabref/issues/events{/number}","events_url":"https://api.github.com/repos/JabRef/jabref/events","assignees_url":"https://api.github.com/repos/JabRef/jabref/assignees{/user}","branches_url":"https://api.github.com/repos/JabRef/jabref/branches{/branch}","tags_url":"https://api.github.com/repos/JabRef/jabref/tags","blobs_url":"https://api.github.com/repos/JabRef/jabref/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JabRef/jabref/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JabRef/jabref/git/refs{/sha}","trees_url":"https://api.github.com/repos/JabRef/jabref/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JabRef/jabref/statuses/{sha}","languages_url":"https://api.github.com/repos/JabRef/jabref/languages","stargazers_url":"https://api.github.com/repos/JabRef/jabref/stargazers","contributors_url":"https://api.github.com/repos/JabRef/jabref/contributors","subscribers_url":"https://api.github.com/repos/JabRef/jabref/subscribers","subscription_url":"https://api.github.com/repos/JabRef/jabref/subscription","commits_url":"https://api.github.com/repos/JabRef/jabref/commits{/sha}","git_commits_url":"https://api.github.com/repos/JabRef/jabref/git/commits{/sha}","comments_url":"https://api.github.com/repos/JabRef/jabref/comments{/number}","issue_comment_url":"https://api.github.com/repos/JabRef/jabref/issues/comments{/number}","contents_url":"https://api.github.com/repos/JabRef/jabref/contents/{+path}","compare_url":"https://api.github.com/repos/JabRef/jabref/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JabRef/jabref/merges","archive_url":"https://api.github.com/repos/JabRef/jabref/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JabRef/jabref/downloads","issues_url":"https://api.github.com/repos/JabRef/jabref/issues{/number}","pulls_url":"https://api.github.com/repos/JabRef/jabref/pulls{/number}","milestones_url":"https://api.github.com/repos/JabRef/jabref/milestones{/number}","notifications_url":"https://api.github.com/repos/JabRef/jabref/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JabRef/jabref/labels{/name}","releases_url":"https://api.github.com/repos/JabRef/jabref/releases{/id}","created_at":"2014-03-11T14:48:42Z","updated_at":"2015-12-29T11:23:31Z","pushed_at":"2015-12-29T18:02:58Z","git_url":"git://github.com/JabRef/jabref.git","ssh_url":"git@github.com:JabRef/jabref.git","clone_url":"https://github.com/JabRef/jabref.git","svn_url":"https://github.com/JabRef/jabref","homepage":"http://www.jabref.org/","size":76537,"stargazers_count":173,"watchers_count":173,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":137,"mirror_url":null,"open_issues_count":119,"forks":137,"open_issues":119,"watchers":173,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/603"},"html":{"href":"https://github.com/JabRef/jabref/pull/603"},"issue":{"href":"https://api.github.com/repos/JabRef/jabref/issues/603"},"comments":{"href":"https://api.github.com/repos/JabRef/jabref/issues/603/comments"},"review_comments":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/603/comments"},"review_comment":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/603/commits"},"statuses":{"href":"https://api.github.com/repos/JabRef/jabref/statuses/947f065f8fe90a589d4ac9d4729acf3c39328258"}}}}