{"action":"created","comment":{"url":"https://api.github.com/repos/kohsuke/github-api/pulls/comments/41239102","id":41239102,"diff_hunk":"@@ -128,7 +129,13 @@\n         } else {\n             if (password!=null) {\n                 String authorization = (login + ':' + password);\n-                encodedAuthorization = \"Basic \"+new String(Base64.encodeBase64(authorization.getBytes()));\n+                final Charset charset;\n+                try {\n+                    charset = Charset.forName(\"UTF-8\");","path":"src/main/java/org/kohsuke/github/GitHub.java","position":15,"original_position":15,"commit_id":"79c5b2edd5f918a26908ab5060b5b869ef0cc30c","original_commit_id":"79c5b2edd5f918a26908ab5060b5b869ef0cc30c","user":{"login":"stephenc","id":209336,"avatar_url":"https://avatars.githubusercontent.com/u/209336?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenc","html_url":"https://github.com/stephenc","followers_url":"https://api.github.com/users/stephenc/followers","following_url":"https://api.github.com/users/stephenc/following{/other_user}","gists_url":"https://api.github.com/users/stephenc/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenc/subscriptions","organizations_url":"https://api.github.com/users/stephenc/orgs","repos_url":"https://api.github.com/users/stephenc/repos","events_url":"https://api.github.com/users/stephenc/events{/privacy}","received_events_url":"https://api.github.com/users/stephenc/received_events","type":"User","site_admin":false},"body":"Guava is a dangerous dependency to rely on as they do not have the same backwards compat rules as Jenkins follows and you can end up breaking your plugins. Exposing core's Guava to plugins was a major mistake...","created_at":"2015-10-06T08:51:31Z","updated_at":"2015-10-06T08:51:31Z","html_url":"https://github.com/kohsuke/github-api/pull/210#discussion_r41239102","pull_request_url":"https://api.github.com/repos/kohsuke/github-api/pulls/210","_links":{"self":{"href":"https://api.github.com/repos/kohsuke/github-api/pulls/comments/41239102"},"html":{"href":"https://github.com/kohsuke/github-api/pull/210#discussion_r41239102"},"pull_request":{"href":"https://api.github.com/repos/kohsuke/github-api/pulls/210"}}},"pull_request":{"url":"https://api.github.com/repos/kohsuke/github-api/pulls/210","id":40315290,"html_url":"https://github.com/kohsuke/github-api/pull/210","diff_url":"https://github.com/kohsuke/github-api/pull/210.diff","patch_url":"https://github.com/kohsuke/github-api/pull/210.patch","issue_url":"https://api.github.com/repos/kohsuke/github-api/issues/210","number":210,"state":"closed","locked":false,"title":"Cleanup issues discovered by FindBugs","user":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"body":"The change closes about 100 issues (mostly API ones), but there're also several changes for encodings and file streams\r\n\r\n@reviewbybees @lanwen @KostyaSha ","created_at":"2015-07-19T21:21:56Z","updated_at":"2015-10-06T08:51:31Z","closed_at":"2015-07-24T12:57:31Z","merged_at":"2015-07-24T12:57:31Z","merge_commit_sha":"c68af0d5f5bf93bd16c92085a2c1a76b5fb5762f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kohsuke/github-api/pulls/210/commits","review_comments_url":"https://api.github.com/repos/kohsuke/github-api/pulls/210/comments","review_comment_url":"https://api.github.com/repos/kohsuke/github-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kohsuke/github-api/issues/210/comments","statuses_url":"https://api.github.com/repos/kohsuke/github-api/statuses/79c5b2edd5f918a26908ab5060b5b869ef0cc30c","head":{"label":"oleg-nenashev:findbugs-cleanup","ref":"findbugs-cleanup","sha":"79c5b2edd5f918a26908ab5060b5b869ef0cc30c","user":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"repo":{"id":24952800,"name":"github-api","full_name":"oleg-nenashev/github-api","owner":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oleg-nenashev/github-api","description":"Java API for GitHub","fork":true,"url":"https://api.github.com/repos/oleg-nenashev/github-api","forks_url":"https://api.github.com/repos/oleg-nenashev/github-api/forks","keys_url":"https://api.github.com/repos/oleg-nenashev/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oleg-nenashev/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oleg-nenashev/github-api/teams","hooks_url":"https://api.github.com/repos/oleg-nenashev/github-api/hooks","issue_events_url":"https://api.github.com/repos/oleg-nenashev/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/oleg-nenashev/github-api/events","assignees_url":"https://api.github.com/repos/oleg-nenashev/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/oleg-nenashev/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/oleg-nenashev/github-api/tags","blobs_url":"https://api.github.com/repos/oleg-nenashev/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oleg-nenashev/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oleg-nenashev/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/oleg-nenashev/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oleg-nenashev/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/oleg-nenashev/github-api/languages","stargazers_url":"https://api.github.com/repos/oleg-nenashev/github-api/stargazers","contributors_url":"https://api.github.com/repos/oleg-nenashev/github-api/contributors","subscribers_url":"https://api.github.com/repos/oleg-nenashev/github-api/subscribers","subscription_url":"https://api.github.com/repos/oleg-nenashev/github-api/subscription","commits_url":"https://api.github.com/repos/oleg-nenashev/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/oleg-nenashev/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/oleg-nenashev/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/oleg-nenashev/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/oleg-nenashev/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/oleg-nenashev/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oleg-nenashev/github-api/merges","archive_url":"https://api.github.com/repos/oleg-nenashev/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oleg-nenashev/github-api/downloads","issues_url":"https://api.github.com/repos/oleg-nenashev/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/oleg-nenashev/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/oleg-nenashev/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/oleg-nenashev/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oleg-nenashev/github-api/labels{/name}","releases_url":"https://api.github.com/repos/oleg-nenashev/github-api/releases{/id}","created_at":"2014-10-08T17:47:02Z","updated_at":"2015-07-17T11:21:57Z","pushed_at":"2015-07-20T09:28:51Z","git_url":"git://github.com/oleg-nenashev/github-api.git","ssh_url":"git@github.com:oleg-nenashev/github-api.git","clone_url":"https://github.com/oleg-nenashev/github-api.git","svn_url":"https://github.com/oleg-nenashev/github-api","homepage":"http://github-api.kohsuke.org/","size":4340,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kohsuke:master","ref":"master","sha":"2d45ac51efb4ad5f9121b328825e27067b7bad3c","user":{"login":"kohsuke","id":50003,"avatar_url":"https://avatars.githubusercontent.com/u/50003?v=3","gravatar_id":"","url":"https://api.github.com/users/kohsuke","html_url":"https://github.com/kohsuke","followers_url":"https://api.github.com/users/kohsuke/followers","following_url":"https://api.github.com/users/kohsuke/following{/other_user}","gists_url":"https://api.github.com/users/kohsuke/gists{/gist_id}","starred_url":"https://api.github.com/users/kohsuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kohsuke/subscriptions","organizations_url":"https://api.github.com/users/kohsuke/orgs","repos_url":"https://api.github.com/users/kohsuke/repos","events_url":"https://api.github.com/users/kohsuke/events{/privacy}","received_events_url":"https://api.github.com/users/kohsuke/received_events","type":"User","site_admin":false},"repo":{"id":617210,"name":"github-api","full_name":"kohsuke/github-api","owner":{"login":"kohsuke","id":50003,"avatar_url":"https://avatars.githubusercontent.com/u/50003?v=3","gravatar_id":"","url":"https://api.github.com/users/kohsuke","html_url":"https://github.com/kohsuke","followers_url":"https://api.github.com/users/kohsuke/followers","following_url":"https://api.github.com/users/kohsuke/following{/other_user}","gists_url":"https://api.github.com/users/kohsuke/gists{/gist_id}","starred_url":"https://api.github.com/users/kohsuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kohsuke/subscriptions","organizations_url":"https://api.github.com/users/kohsuke/orgs","repos_url":"https://api.github.com/users/kohsuke/repos","events_url":"https://api.github.com/users/kohsuke/events{/privacy}","received_events_url":"https://api.github.com/users/kohsuke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kohsuke/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/kohsuke/github-api","forks_url":"https://api.github.com/repos/kohsuke/github-api/forks","keys_url":"https://api.github.com/repos/kohsuke/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kohsuke/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kohsuke/github-api/teams","hooks_url":"https://api.github.com/repos/kohsuke/github-api/hooks","issue_events_url":"https://api.github.com/repos/kohsuke/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/kohsuke/github-api/events","assignees_url":"https://api.github.com/repos/kohsuke/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/kohsuke/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/kohsuke/github-api/tags","blobs_url":"https://api.github.com/repos/kohsuke/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kohsuke/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kohsuke/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/kohsuke/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kohsuke/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/kohsuke/github-api/languages","stargazers_url":"https://api.github.com/repos/kohsuke/github-api/stargazers","contributors_url":"https://api.github.com/repos/kohsuke/github-api/contributors","subscribers_url":"https://api.github.com/repos/kohsuke/github-api/subscribers","subscription_url":"https://api.github.com/repos/kohsuke/github-api/subscription","commits_url":"https://api.github.com/repos/kohsuke/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/kohsuke/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/kohsuke/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/kohsuke/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/kohsuke/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/kohsuke/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kohsuke/github-api/merges","archive_url":"https://api.github.com/repos/kohsuke/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kohsuke/github-api/downloads","issues_url":"https://api.github.com/repos/kohsuke/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/kohsuke/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/kohsuke/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/kohsuke/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kohsuke/github-api/labels{/name}","releases_url":"https://api.github.com/repos/kohsuke/github-api/releases{/id}","created_at":"2010-04-19T04:13:03Z","updated_at":"2015-10-05T10:34:39Z","pushed_at":"2015-10-06T07:43:42Z","git_url":"git://github.com/kohsuke/github-api.git","ssh_url":"git@github.com:kohsuke/github-api.git","clone_url":"https://github.com/kohsuke/github-api.git","svn_url":"https://github.com/kohsuke/github-api","homepage":"http://github-api.kohsuke.org/","size":8338,"stargazers_count":206,"watchers_count":206,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":167,"mirror_url":null,"open_issues_count":19,"forks":167,"open_issues":19,"watchers":206,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kohsuke/github-api/pulls/210"},"html":{"href":"https://github.com/kohsuke/github-api/pull/210"},"issue":{"href":"https://api.github.com/repos/kohsuke/github-api/issues/210"},"comments":{"href":"https://api.github.com/repos/kohsuke/github-api/issues/210/comments"},"review_comments":{"href":"https://api.github.com/repos/kohsuke/github-api/pulls/210/comments"},"review_comment":{"href":"https://api.github.com/repos/kohsuke/github-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kohsuke/github-api/pulls/210/commits"},"statuses":{"href":"https://api.github.com/repos/kohsuke/github-api/statuses/79c5b2edd5f918a26908ab5060b5b869ef0cc30c"}}}}