{"action":"created","comment":{"url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/pulls/comments/37004056","id":37004056,"diff_hunk":"@@ -67,13 +66,12 @@ public String getBaseURL() {\n         return this.baseURL;\n     }\n \n-    public CodeCoverageMetrics getParentCoverage(Differential differential) {\n+    public CodeCoverageMetrics getParentCoverage(String sha) {\n+        if (sha == null) {","path":"src/main/java/com/uber/jenkins/phabricator/uberalls/UberallsClient.java","position":14,"original_position":14,"commit_id":"2a7d666d5b2115503cb7c43c4d1c5e831a08990a","original_commit_id":"2a7d666d5b2115503cb7c43c4d1c5e831a08990a","user":{"login":"jjx","id":8547942,"avatar_url":"https://avatars.githubusercontent.com/u/8547942?v=3","gravatar_id":"","url":"https://api.github.com/users/jjx","html_url":"https://github.com/jjx","followers_url":"https://api.github.com/users/jjx/followers","following_url":"https://api.github.com/users/jjx/following{/other_user}","gists_url":"https://api.github.com/users/jjx/gists{/gist_id}","starred_url":"https://api.github.com/users/jjx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjx/subscriptions","organizations_url":"https://api.github.com/users/jjx/orgs","repos_url":"https://api.github.com/users/jjx/repos","events_url":"https://api.github.com/users/jjx/events{/privacy}","received_events_url":"https://api.github.com/users/jjx/received_events","type":"User","site_admin":false},"body":"Use isBlank? We should add Apache StringUtils as a dependency at some point.","created_at":"2015-08-13T17:54:10Z","updated_at":"2015-08-13T17:54:10Z","html_url":"https://github.com/uber/phabricator-jenkins-plugin/pull/64#discussion_r37004056","pull_request_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/pulls/comments/37004056"},"html":{"href":"https://github.com/uber/phabricator-jenkins-plugin/pull/64#discussion_r37004056"},"pull_request":{"href":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/pulls/64","id":42151711,"html_url":"https://github.com/uber/phabricator-jenkins-plugin/pull/64","diff_url":"https://github.com/uber/phabricator-jenkins-plugin/pull/64.diff","patch_url":"https://github.com/uber/phabricator-jenkins-plugin/pull/64.patch","issue_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/issues/64","number":64,"state":"closed","locked":false,"title":"Add Uberalls client tests","user":{"login":"sectioneight","id":97087,"avatar_url":"https://avatars.githubusercontent.com/u/97087?v=3","gravatar_id":"","url":"https://api.github.com/users/sectioneight","html_url":"https://github.com/sectioneight","followers_url":"https://api.github.com/users/sectioneight/followers","following_url":"https://api.github.com/users/sectioneight/following{/other_user}","gists_url":"https://api.github.com/users/sectioneight/gists{/gist_id}","starred_url":"https://api.github.com/users/sectioneight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sectioneight/subscriptions","organizations_url":"https://api.github.com/users/sectioneight/orgs","repos_url":"https://api.github.com/users/sectioneight/repos","events_url":"https://api.github.com/users/sectioneight/events{/privacy}","received_events_url":"https://api.github.com/users/sectioneight/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-11T16:53:29Z","updated_at":"2015-08-13T17:54:10Z","closed_at":"2015-08-12T16:45:07Z","merged_at":"2015-08-12T16:45:07Z","merge_commit_sha":"55546b70e4f328d9b44758c0f364e8ab4e80a323","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/pulls/64/commits","review_comments_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/pulls/64/comments","review_comment_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/issues/64/comments","statuses_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/statuses/2a7d666d5b2115503cb7c43c4d1c5e831a08990a","head":{"label":"uber:test-uberalls","ref":"test-uberalls","sha":"2a7d666d5b2115503cb7c43c4d1c5e831a08990a","user":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"repo":{"id":33567586,"name":"phabricator-jenkins-plugin","full_name":"uber/phabricator-jenkins-plugin","owner":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uber/phabricator-jenkins-plugin","description":"Jenkins plugin to integrate with Phabricator, Harbormaster, and Uberalls","fork":false,"url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin","forks_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/forks","keys_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/teams","hooks_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/hooks","issue_events_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/events","assignees_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/tags","blobs_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/languages","stargazers_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/stargazers","contributors_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/contributors","subscribers_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/subscribers","subscription_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/subscription","commits_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/merges","archive_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/downloads","issues_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/labels{/name}","releases_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/releases{/id}","created_at":"2015-04-07T20:50:58Z","updated_at":"2015-08-13T09:04:26Z","pushed_at":"2015-08-13T17:40:58Z","git_url":"git://github.com/uber/phabricator-jenkins-plugin.git","ssh_url":"git@github.com:uber/phabricator-jenkins-plugin.git","clone_url":"https://github.com/uber/phabricator-jenkins-plugin.git","svn_url":"https://github.com/uber/phabricator-jenkins-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Phabricator+Differential+Plugin","size":2060,"stargazers_count":36,"watchers_count":36,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":36,"default_branch":"master"}},"base":{"label":"uber:master","ref":"master","sha":"af1829efdecde01685f421214112c8eee35a4c03","user":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"repo":{"id":33567586,"name":"phabricator-jenkins-plugin","full_name":"uber/phabricator-jenkins-plugin","owner":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uber/phabricator-jenkins-plugin","description":"Jenkins plugin to integrate with Phabricator, Harbormaster, and Uberalls","fork":false,"url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin","forks_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/forks","keys_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/teams","hooks_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/hooks","issue_events_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/events","assignees_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/tags","blobs_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/languages","stargazers_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/stargazers","contributors_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/contributors","subscribers_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/subscribers","subscription_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/subscription","commits_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/merges","archive_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/downloads","issues_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/labels{/name}","releases_url":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/releases{/id}","created_at":"2015-04-07T20:50:58Z","updated_at":"2015-08-13T09:04:26Z","pushed_at":"2015-08-13T17:40:58Z","git_url":"git://github.com/uber/phabricator-jenkins-plugin.git","ssh_url":"git@github.com:uber/phabricator-jenkins-plugin.git","clone_url":"https://github.com/uber/phabricator-jenkins-plugin.git","svn_url":"https://github.com/uber/phabricator-jenkins-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Phabricator+Differential+Plugin","size":2060,"stargazers_count":36,"watchers_count":36,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/pulls/64"},"html":{"href":"https://github.com/uber/phabricator-jenkins-plugin/pull/64"},"issue":{"href":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/issues/64"},"comments":{"href":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/uber/phabricator-jenkins-plugin/statuses/2a7d666d5b2115503cb7c43c4d1c5e831a08990a"}}}}