{"action":"opened","number":141,"pull_request":{"url":"https://api.github.com/repos/jitsi/libjitsi/pulls/141","id":66488295,"html_url":"https://github.com/jitsi/libjitsi/pull/141","diff_url":"https://github.com/jitsi/libjitsi/pull/141.diff","patch_url":"https://github.com/jitsi/libjitsi/pull/141.patch","issue_url":"https://api.github.com/repos/jitsi/libjitsi/issues/141","number":141,"state":"open","locked":false,"title":"Ensure localSourceID is positive","user":{"login":"champtar","id":3536755,"avatar_url":"https://avatars.githubusercontent.com/u/3536755?v=3","gravatar_id":"","url":"https://api.github.com/users/champtar","html_url":"https://github.com/champtar","followers_url":"https://api.github.com/users/champtar/followers","following_url":"https://api.github.com/users/champtar/following{/other_user}","gists_url":"https://api.github.com/users/champtar/gists{/gist_id}","starred_url":"https://api.github.com/users/champtar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/champtar/subscriptions","organizations_url":"https://api.github.com/users/champtar/orgs","repos_url":"https://api.github.com/users/champtar/repos","events_url":"https://api.github.com/users/champtar/events{/privacy}","received_events_url":"https://api.github.com/users/champtar/received_events","type":"User","site_admin":false},"body":"Math.abs(Long.MIN_VALUE) == Long.MIN_VALUE which is negative\r\nhttps://docs.oracle.com/javase/7/docs/api/java/lang/Math.html#abs%28long%29\r\n\r\nBefore this commit\r\n 0 <= localSourceID < Integer.MAX_VALUE\r\n or localSourceID == (Long.MIN_VALUE % Integer.MAX_VALUE) == -2\r\nAfter\r\n 0 <= localSourceID <= Integer.MAX_VALUE\r\n\r\nThis was found using FindBugs\r\nhttp://findbugs.sourceforge.net/bugDescriptions.html#RV_ABSOLUTE_VALUE_OF_RANDOM_INT\r\n\r\nSigned-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>","created_at":"2016-04-14T13:57:34Z","updated_at":"2016-04-14T13:57:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jitsi/libjitsi/pulls/141/commits","review_comments_url":"https://api.github.com/repos/jitsi/libjitsi/pulls/141/comments","review_comment_url":"https://api.github.com/repos/jitsi/libjitsi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jitsi/libjitsi/issues/141/comments","statuses_url":"https://api.github.com/repos/jitsi/libjitsi/statuses/82724449beaadb01b6a57f30f8c0ef7cbc001395","head":{"label":"champtar:math.abs_neg","ref":"math.abs_neg","sha":"82724449beaadb01b6a57f30f8c0ef7cbc001395","user":{"login":"champtar","id":3536755,"avatar_url":"https://avatars.githubusercontent.com/u/3536755?v=3","gravatar_id":"","url":"https://api.github.com/users/champtar","html_url":"https://github.com/champtar","followers_url":"https://api.github.com/users/champtar/followers","following_url":"https://api.github.com/users/champtar/following{/other_user}","gists_url":"https://api.github.com/users/champtar/gists{/gist_id}","starred_url":"https://api.github.com/users/champtar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/champtar/subscriptions","organizations_url":"https://api.github.com/users/champtar/orgs","repos_url":"https://api.github.com/users/champtar/repos","events_url":"https://api.github.com/users/champtar/events{/privacy}","received_events_url":"https://api.github.com/users/champtar/received_events","type":"User","site_admin":false},"repo":{"id":49262637,"name":"libjitsi","full_name":"champtar/libjitsi","owner":{"login":"champtar","id":3536755,"avatar_url":"https://avatars.githubusercontent.com/u/3536755?v=3","gravatar_id":"","url":"https://api.github.com/users/champtar","html_url":"https://github.com/champtar","followers_url":"https://api.github.com/users/champtar/followers","following_url":"https://api.github.com/users/champtar/following{/other_user}","gists_url":"https://api.github.com/users/champtar/gists{/gist_id}","starred_url":"https://api.github.com/users/champtar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/champtar/subscriptions","organizations_url":"https://api.github.com/users/champtar/orgs","repos_url":"https://api.github.com/users/champtar/repos","events_url":"https://api.github.com/users/champtar/events{/privacy}","received_events_url":"https://api.github.com/users/champtar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/champtar/libjitsi","description":"Advanced Java media library for secure real-time audio/video communication.","fork":true,"url":"https://api.github.com/repos/champtar/libjitsi","forks_url":"https://api.github.com/repos/champtar/libjitsi/forks","keys_url":"https://api.github.com/repos/champtar/libjitsi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/champtar/libjitsi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/champtar/libjitsi/teams","hooks_url":"https://api.github.com/repos/champtar/libjitsi/hooks","issue_events_url":"https://api.github.com/repos/champtar/libjitsi/issues/events{/number}","events_url":"https://api.github.com/repos/champtar/libjitsi/events","assignees_url":"https://api.github.com/repos/champtar/libjitsi/assignees{/user}","branches_url":"https://api.github.com/repos/champtar/libjitsi/branches{/branch}","tags_url":"https://api.github.com/repos/champtar/libjitsi/tags","blobs_url":"https://api.github.com/repos/champtar/libjitsi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/champtar/libjitsi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/champtar/libjitsi/git/refs{/sha}","trees_url":"https://api.github.com/repos/champtar/libjitsi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/champtar/libjitsi/statuses/{sha}","languages_url":"https://api.github.com/repos/champtar/libjitsi/languages","stargazers_url":"https://api.github.com/repos/champtar/libjitsi/stargazers","contributors_url":"https://api.github.com/repos/champtar/libjitsi/contributors","subscribers_url":"https://api.github.com/repos/champtar/libjitsi/subscribers","subscription_url":"https://api.github.com/repos/champtar/libjitsi/subscription","commits_url":"https://api.github.com/repos/champtar/libjitsi/commits{/sha}","git_commits_url":"https://api.github.com/repos/champtar/libjitsi/git/commits{/sha}","comments_url":"https://api.github.com/repos/champtar/libjitsi/comments{/number}","issue_comment_url":"https://api.github.com/repos/champtar/libjitsi/issues/comments{/number}","contents_url":"https://api.github.com/repos/champtar/libjitsi/contents/{+path}","compare_url":"https://api.github.com/repos/champtar/libjitsi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/champtar/libjitsi/merges","archive_url":"https://api.github.com/repos/champtar/libjitsi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/champtar/libjitsi/downloads","issues_url":"https://api.github.com/repos/champtar/libjitsi/issues{/number}","pulls_url":"https://api.github.com/repos/champtar/libjitsi/pulls{/number}","milestones_url":"https://api.github.com/repos/champtar/libjitsi/milestones{/number}","notifications_url":"https://api.github.com/repos/champtar/libjitsi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/champtar/libjitsi/labels{/name}","releases_url":"https://api.github.com/repos/champtar/libjitsi/releases{/id}","deployments_url":"https://api.github.com/repos/champtar/libjitsi/deployments","created_at":"2016-01-08T09:21:51Z","updated_at":"2016-01-13T07:38:48Z","pushed_at":"2016-04-14T13:56:00Z","git_url":"git://github.com/champtar/libjitsi.git","ssh_url":"git@github.com:champtar/libjitsi.git","clone_url":"https://github.com/champtar/libjitsi.git","svn_url":"https://github.com/champtar/libjitsi","homepage":"","size":84013,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"jitsi:master","ref":"master","sha":"b9b35dfe0dab8ce2186f36602c34e0b27de734a6","user":{"login":"jitsi","id":3671647,"avatar_url":"https://avatars.githubusercontent.com/u/3671647?v=3","gravatar_id":"","url":"https://api.github.com/users/jitsi","html_url":"https://github.com/jitsi","followers_url":"https://api.github.com/users/jitsi/followers","following_url":"https://api.github.com/users/jitsi/following{/other_user}","gists_url":"https://api.github.com/users/jitsi/gists{/gist_id}","starred_url":"https://api.github.com/users/jitsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jitsi/subscriptions","organizations_url":"https://api.github.com/users/jitsi/orgs","repos_url":"https://api.github.com/users/jitsi/repos","events_url":"https://api.github.com/users/jitsi/events{/privacy}","received_events_url":"https://api.github.com/users/jitsi/received_events","type":"Organization","site_admin":false},"repo":{"id":9657553,"name":"libjitsi","full_name":"jitsi/libjitsi","owner":{"login":"jitsi","id":3671647,"avatar_url":"https://avatars.githubusercontent.com/u/3671647?v=3","gravatar_id":"","url":"https://api.github.com/users/jitsi","html_url":"https://github.com/jitsi","followers_url":"https://api.github.com/users/jitsi/followers","following_url":"https://api.github.com/users/jitsi/following{/other_user}","gists_url":"https://api.github.com/users/jitsi/gists{/gist_id}","starred_url":"https://api.github.com/users/jitsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jitsi/subscriptions","organizations_url":"https://api.github.com/users/jitsi/orgs","repos_url":"https://api.github.com/users/jitsi/repos","events_url":"https://api.github.com/users/jitsi/events{/privacy}","received_events_url":"https://api.github.com/users/jitsi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jitsi/libjitsi","description":"Advanced Java media library for secure real-time audio/video communication.","fork":false,"url":"https://api.github.com/repos/jitsi/libjitsi","forks_url":"https://api.github.com/repos/jitsi/libjitsi/forks","keys_url":"https://api.github.com/repos/jitsi/libjitsi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jitsi/libjitsi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jitsi/libjitsi/teams","hooks_url":"https://api.github.com/repos/jitsi/libjitsi/hooks","issue_events_url":"https://api.github.com/repos/jitsi/libjitsi/issues/events{/number}","events_url":"https://api.github.com/repos/jitsi/libjitsi/events","assignees_url":"https://api.github.com/repos/jitsi/libjitsi/assignees{/user}","branches_url":"https://api.github.com/repos/jitsi/libjitsi/branches{/branch}","tags_url":"https://api.github.com/repos/jitsi/libjitsi/tags","blobs_url":"https://api.github.com/repos/jitsi/libjitsi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jitsi/libjitsi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jitsi/libjitsi/git/refs{/sha}","trees_url":"https://api.github.com/repos/jitsi/libjitsi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jitsi/libjitsi/statuses/{sha}","languages_url":"https://api.github.com/repos/jitsi/libjitsi/languages","stargazers_url":"https://api.github.com/repos/jitsi/libjitsi/stargazers","contributors_url":"https://api.github.com/repos/jitsi/libjitsi/contributors","subscribers_url":"https://api.github.com/repos/jitsi/libjitsi/subscribers","subscription_url":"https://api.github.com/repos/jitsi/libjitsi/subscription","commits_url":"https://api.github.com/repos/jitsi/libjitsi/commits{/sha}","git_commits_url":"https://api.github.com/repos/jitsi/libjitsi/git/commits{/sha}","comments_url":"https://api.github.com/repos/jitsi/libjitsi/comments{/number}","issue_comment_url":"https://api.github.com/repos/jitsi/libjitsi/issues/comments{/number}","contents_url":"https://api.github.com/repos/jitsi/libjitsi/contents/{+path}","compare_url":"https://api.github.com/repos/jitsi/libjitsi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jitsi/libjitsi/merges","archive_url":"https://api.github.com/repos/jitsi/libjitsi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jitsi/libjitsi/downloads","issues_url":"https://api.github.com/repos/jitsi/libjitsi/issues{/number}","pulls_url":"https://api.github.com/repos/jitsi/libjitsi/pulls{/number}","milestones_url":"https://api.github.com/repos/jitsi/libjitsi/milestones{/number}","notifications_url":"https://api.github.com/repos/jitsi/libjitsi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jitsi/libjitsi/labels{/name}","releases_url":"https://api.github.com/repos/jitsi/libjitsi/releases{/id}","deployments_url":"https://api.github.com/repos/jitsi/libjitsi/deployments","created_at":"2013-04-24T21:01:15Z","updated_at":"2016-04-08T16:47:48Z","pushed_at":"2016-04-14T12:25:37Z","git_url":"git://github.com/jitsi/libjitsi.git","ssh_url":"git@github.com:jitsi/libjitsi.git","clone_url":"https://github.com/jitsi/libjitsi.git","svn_url":"https://github.com/jitsi/libjitsi","homepage":"","size":84810,"stargazers_count":165,"watchers_count":165,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":109,"mirror_url":null,"open_issues_count":19,"forks":109,"open_issues":19,"watchers":165,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jitsi/libjitsi/pulls/141"},"html":{"href":"https://github.com/jitsi/libjitsi/pull/141"},"issue":{"href":"https://api.github.com/repos/jitsi/libjitsi/issues/141"},"comments":{"href":"https://api.github.com/repos/jitsi/libjitsi/issues/141/comments"},"review_comments":{"href":"https://api.github.com/repos/jitsi/libjitsi/pulls/141/comments"},"review_comment":{"href":"https://api.github.com/repos/jitsi/libjitsi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jitsi/libjitsi/pulls/141/commits"},"statuses":{"href":"https://api.github.com/repos/jitsi/libjitsi/statuses/82724449beaadb01b6a57f30f8c0ef7cbc001395"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":2,"changed_files":1}}