{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/github-plugin/pulls/comments/37205975","id":37205975,"diff_hunk":"@@ -3,24 +3,31 @@\n import hudson.model.AbstractBuild;\n import hudson.plugins.git.Revision;\n import hudson.plugins.git.util.BuildData;\n-import java.io.IOException;\n-import javax.annotation.Nonnull;\n import org.eclipse.jgit.lib.ObjectId;\n \n+import javax.annotation.Nonnull;\n+import java.io.IOException;\n+\n /**\n  * Stores common methods for {@link BuildData} handling.\n+ *\n  * @author Oleg Nenashev <o.v.nenashev@gmail.com>\n  * @since 1.10\n  */\n-public class BuildDataHelper {\n-    \n+public final class BuildDataHelper {\n+    private BuildDataHelper() {\n+    }\n+\n     /**\n      * Gets SHA1 from the build.\n+     *\n      * @param build\n+     *\n      * @return SHA1 of the las\n      * @throws IOException Cannot get the info about commit ID\n      */\n-    public static @Nonnull ObjectId getCommitSHA1(@Nonnull AbstractBuild<?, ?> build) throws IOException {\n+    @Nonnull","path":"src/main/java/org/jenkinsci/plugins/github/util/BuildDataHelper.java","position":32,"original_position":32,"commit_id":"1e91c60e023828623abb0fd6b888c968712698f6","original_commit_id":"8a4592c18b71427d571bcaa8e98acda45e99f1a2","user":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"body":"@oleg-nenashev ?","created_at":"2015-08-17T16:22:46Z","updated_at":"2015-08-17T16:22:46Z","html_url":"https://github.com/jenkinsci/github-plugin/pull/69#discussion_r37205975","pull_request_url":"https://api.github.com/repos/jenkinsci/github-plugin/pulls/69","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/github-plugin/pulls/comments/37205975"},"html":{"href":"https://github.com/jenkinsci/github-plugin/pull/69#discussion_r37205975"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/github-plugin/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/github-plugin/pulls/69","id":42596879,"html_url":"https://github.com/jenkinsci/github-plugin/pull/69","diff_url":"https://github.com/jenkinsci/github-plugin/pull/69.diff","patch_url":"https://github.com/jenkinsci/github-plugin/pull/69.patch","issue_url":"https://api.github.com/repos/jenkinsci/github-plugin/issues/69","number":69,"state":"open","locked":false,"title":"checkstyle with contributing guides","user":{"login":"lanwen","id":1964214,"avatar_url":"https://avatars.githubusercontent.com/u/1964214?v=3","gravatar_id":"","url":"https://api.github.com/users/lanwen","html_url":"https://github.com/lanwen","followers_url":"https://api.github.com/users/lanwen/followers","following_url":"https://api.github.com/users/lanwen/following{/other_user}","gists_url":"https://api.github.com/users/lanwen/gists{/gist_id}","starred_url":"https://api.github.com/users/lanwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanwen/subscriptions","organizations_url":"https://api.github.com/users/lanwen/orgs","repos_url":"https://api.github.com/users/lanwen/repos","events_url":"https://api.github.com/users/lanwen/events{/privacy}","received_events_url":"https://api.github.com/users/lanwen/received_events","type":"User","site_admin":false},"body":"no any functional change, only code style and maven-checkstyle-plugin in pom\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/jenkinsci/github-plugin/69)\n<!-- Reviewable:end -->\n","created_at":"2015-08-17T14:56:17Z","updated_at":"2015-08-17T16:22:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5289a2ec04fe96bbf294f2a453268f37d7e1763","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/github-plugin/pulls/69/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/github-plugin/pulls/69/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/github-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/github-plugin/issues/69/comments","statuses_url":"https://api.github.com/repos/jenkinsci/github-plugin/statuses/1e91c60e023828623abb0fd6b888c968712698f6","head":{"label":"lanwen:checkstyle","ref":"checkstyle","sha":"1e91c60e023828623abb0fd6b888c968712698f6","user":{"login":"lanwen","id":1964214,"avatar_url":"https://avatars.githubusercontent.com/u/1964214?v=3","gravatar_id":"","url":"https://api.github.com/users/lanwen","html_url":"https://github.com/lanwen","followers_url":"https://api.github.com/users/lanwen/followers","following_url":"https://api.github.com/users/lanwen/following{/other_user}","gists_url":"https://api.github.com/users/lanwen/gists{/gist_id}","starred_url":"https://api.github.com/users/lanwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanwen/subscriptions","organizations_url":"https://api.github.com/users/lanwen/orgs","repos_url":"https://api.github.com/users/lanwen/repos","events_url":"https://api.github.com/users/lanwen/events{/privacy}","received_events_url":"https://api.github.com/users/lanwen/received_events","type":"User","site_admin":false},"repo":{"id":37472554,"name":"github-plugin","full_name":"lanwen/github-plugin","owner":{"login":"lanwen","id":1964214,"avatar_url":"https://avatars.githubusercontent.com/u/1964214?v=3","gravatar_id":"","url":"https://api.github.com/users/lanwen","html_url":"https://github.com/lanwen","followers_url":"https://api.github.com/users/lanwen/followers","following_url":"https://api.github.com/users/lanwen/following{/other_user}","gists_url":"https://api.github.com/users/lanwen/gists{/gist_id}","starred_url":"https://api.github.com/users/lanwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanwen/subscriptions","organizations_url":"https://api.github.com/users/lanwen/orgs","repos_url":"https://api.github.com/users/lanwen/repos","events_url":"https://api.github.com/users/lanwen/events{/privacy}","received_events_url":"https://api.github.com/users/lanwen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lanwen/github-plugin","description":"Jenkins github plugin","fork":true,"url":"https://api.github.com/repos/lanwen/github-plugin","forks_url":"https://api.github.com/repos/lanwen/github-plugin/forks","keys_url":"https://api.github.com/repos/lanwen/github-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lanwen/github-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lanwen/github-plugin/teams","hooks_url":"https://api.github.com/repos/lanwen/github-plugin/hooks","issue_events_url":"https://api.github.com/repos/lanwen/github-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/lanwen/github-plugin/events","assignees_url":"https://api.github.com/repos/lanwen/github-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/lanwen/github-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/lanwen/github-plugin/tags","blobs_url":"https://api.github.com/repos/lanwen/github-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lanwen/github-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lanwen/github-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/lanwen/github-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lanwen/github-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/lanwen/github-plugin/languages","stargazers_url":"https://api.github.com/repos/lanwen/github-plugin/stargazers","contributors_url":"https://api.github.com/repos/lanwen/github-plugin/contributors","subscribers_url":"https://api.github.com/repos/lanwen/github-plugin/subscribers","subscription_url":"https://api.github.com/repos/lanwen/github-plugin/subscription","commits_url":"https://api.github.com/repos/lanwen/github-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/lanwen/github-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/lanwen/github-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/lanwen/github-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/lanwen/github-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/lanwen/github-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lanwen/github-plugin/merges","archive_url":"https://api.github.com/repos/lanwen/github-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lanwen/github-plugin/downloads","issues_url":"https://api.github.com/repos/lanwen/github-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/lanwen/github-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/lanwen/github-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/lanwen/github-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lanwen/github-plugin/labels{/name}","releases_url":"https://api.github.com/repos/lanwen/github-plugin/releases{/id}","created_at":"2015-06-15T15:08:01Z","updated_at":"2015-06-15T15:08:01Z","pushed_at":"2015-08-17T16:22:19Z","git_url":"git://github.com/lanwen/github-plugin.git","ssh_url":"git@github.com:lanwen/github-plugin.git","clone_url":"https://github.com/lanwen/github-plugin.git","svn_url":"https://github.com/lanwen/github-plugin","homepage":"http://jenkins-ci.org/","size":547,"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":"jenkinsci:master","ref":"master","sha":"909f546ef7198137738cc8c650d5cdb7aa4b1f0e","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":1163555,"name":"github-plugin","full_name":"jenkinsci/github-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/github-plugin","description":"Jenkins github plugin","fork":false,"url":"https://api.github.com/repos/jenkinsci/github-plugin","forks_url":"https://api.github.com/repos/jenkinsci/github-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/github-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/github-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/github-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/github-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/github-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/github-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/github-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/github-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/github-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/github-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/github-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/github-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/github-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/github-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/github-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/github-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/github-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/github-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/github-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/github-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/github-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/github-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/github-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/github-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/github-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/github-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/github-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/github-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/github-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/github-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/github-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/github-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/github-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/github-plugin/releases{/id}","created_at":"2010-12-13T05:35:14Z","updated_at":"2015-07-30T13:53:25Z","pushed_at":"2015-08-17T16:22:19Z","git_url":"git://github.com/jenkinsci/github-plugin.git","ssh_url":"git@github.com:jenkinsci/github-plugin.git","clone_url":"https://github.com/jenkinsci/github-plugin.git","svn_url":"https://github.com/jenkinsci/github-plugin","homepage":"http://jenkins-ci.org/","size":1374,"stargazers_count":117,"watchers_count":117,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":151,"mirror_url":null,"open_issues_count":7,"forks":151,"open_issues":7,"watchers":117,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/github-plugin/pulls/69"},"html":{"href":"https://github.com/jenkinsci/github-plugin/pull/69"},"issue":{"href":"https://api.github.com/repos/jenkinsci/github-plugin/issues/69"},"comments":{"href":"https://api.github.com/repos/jenkinsci/github-plugin/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/github-plugin/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/github-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/github-plugin/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/github-plugin/statuses/1e91c60e023828623abb0fd6b888c968712698f6"}}}}