{"action":"created","comment":{"url":"https://api.github.com/repos/square/okhttp/pulls/comments/77541395","id":77541395,"diff_hunk":"@@ -123,6 +126,16 @@ public void log(String message) {\n     System.out.println(message);\n   }\n \n+  public static List<String> alpnProtocolNames(List<Protocol> protocols) {\n+    List<String> names = new ArrayList<>(protocols.size());\n+    for (int i = 0, size = protocols.size(); i < size; i++) {","path":"okhttp/src/main/java/okhttp3/internal/Platform.java","position":23,"original_position":23,"commit_id":"d8552f091ba50a775f10aefb581612c8078962bc","original_commit_id":"d8552f091ba50a775f10aefb581612c8078962bc","user":{"login":"iNoles","id":49764,"avatar_url":"https://avatars.githubusercontent.com/u/49764?v=3","gravatar_id":"","url":"https://api.github.com/users/iNoles","html_url":"https://github.com/iNoles","followers_url":"https://api.github.com/users/iNoles/followers","following_url":"https://api.github.com/users/iNoles/following{/other_user}","gists_url":"https://api.github.com/users/iNoles/gists{/gist_id}","starred_url":"https://api.github.com/users/iNoles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNoles/subscriptions","organizations_url":"https://api.github.com/users/iNoles/orgs","repos_url":"https://api.github.com/users/iNoles/repos","events_url":"https://api.github.com/users/iNoles/events{/privacy}","received_events_url":"https://api.github.com/users/iNoles/received_events","type":"User","site_admin":false},"body":"it is from https://speakerdeck.com/jakewharton/eliminating-code-overhead-square-hq-2015","created_at":"2016-09-05T16:17:12Z","updated_at":"2016-09-05T16:17:12Z","html_url":"https://github.com/square/okhttp/pull/2494#discussion_r77541395","pull_request_url":"https://api.github.com/repos/square/okhttp/pulls/2494","_links":{"self":{"href":"https://api.github.com/repos/square/okhttp/pulls/comments/77541395"},"html":{"href":"https://github.com/square/okhttp/pull/2494#discussion_r77541395"},"pull_request":{"href":"https://api.github.com/repos/square/okhttp/pulls/2494"}}},"pull_request":{"url":"https://api.github.com/repos/square/okhttp/pulls/2494","id":67131893,"html_url":"https://github.com/square/okhttp/pull/2494","diff_url":"https://github.com/square/okhttp/pull/2494.diff","patch_url":"https://github.com/square/okhttp/pull/2494.patch","issue_url":"https://api.github.com/repos/square/okhttp/issues/2494","number":2494,"state":"closed","locked":false,"title":"Java 9 support for ALPN without alpn-boot","user":{"login":"yschimke","id":231923,"avatar_url":"https://avatars.githubusercontent.com/u/231923?v=3","gravatar_id":"","url":"https://api.github.com/users/yschimke","html_url":"https://github.com/yschimke","followers_url":"https://api.github.com/users/yschimke/followers","following_url":"https://api.github.com/users/yschimke/following{/other_user}","gists_url":"https://api.github.com/users/yschimke/gists{/gist_id}","starred_url":"https://api.github.com/users/yschimke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yschimke/subscriptions","organizations_url":"https://api.github.com/users/yschimke/orgs","repos_url":"https://api.github.com/users/yschimke/repos","events_url":"https://api.github.com/users/yschimke/events{/privacy}","received_events_url":"https://api.github.com/users/yschimke/received_events","type":"User","site_admin":false},"body":"Use SSLParameters.setApplicationProtocols(String[]) and SSLSocket.getApplicationProtocol() ","created_at":"2016-04-20T05:52:27Z","updated_at":"2016-09-05T16:17:12Z","closed_at":"2016-04-22T07:57:27Z","merged_at":"2016-04-22T07:57:27Z","merge_commit_sha":"081c74433cd07e1929e36ad6bcdcd55a4e918ffe","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/square/okhttp/pulls/2494/commits","review_comments_url":"https://api.github.com/repos/square/okhttp/pulls/2494/comments","review_comment_url":"https://api.github.com/repos/square/okhttp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/square/okhttp/issues/2494/comments","statuses_url":"https://api.github.com/repos/square/okhttp/statuses/d8552f091ba50a775f10aefb581612c8078962bc","head":{"label":"yschimke:alpn_java9_support","ref":"alpn_java9_support","sha":"d8552f091ba50a775f10aefb581612c8078962bc","user":{"login":"yschimke","id":231923,"avatar_url":"https://avatars.githubusercontent.com/u/231923?v=3","gravatar_id":"","url":"https://api.github.com/users/yschimke","html_url":"https://github.com/yschimke","followers_url":"https://api.github.com/users/yschimke/followers","following_url":"https://api.github.com/users/yschimke/following{/other_user}","gists_url":"https://api.github.com/users/yschimke/gists{/gist_id}","starred_url":"https://api.github.com/users/yschimke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yschimke/subscriptions","organizations_url":"https://api.github.com/users/yschimke/orgs","repos_url":"https://api.github.com/users/yschimke/repos","events_url":"https://api.github.com/users/yschimke/events{/privacy}","received_events_url":"https://api.github.com/users/yschimke/received_events","type":"User","site_admin":false},"repo":{"id":42286486,"name":"okhttp","full_name":"yschimke/okhttp","owner":{"login":"yschimke","id":231923,"avatar_url":"https://avatars.githubusercontent.com/u/231923?v=3","gravatar_id":"","url":"https://api.github.com/users/yschimke","html_url":"https://github.com/yschimke","followers_url":"https://api.github.com/users/yschimke/followers","following_url":"https://api.github.com/users/yschimke/following{/other_user}","gists_url":"https://api.github.com/users/yschimke/gists{/gist_id}","starred_url":"https://api.github.com/users/yschimke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yschimke/subscriptions","organizations_url":"https://api.github.com/users/yschimke/orgs","repos_url":"https://api.github.com/users/yschimke/repos","events_url":"https://api.github.com/users/yschimke/events{/privacy}","received_events_url":"https://api.github.com/users/yschimke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yschimke/okhttp","description":"An HTTP+SPDY client for Android and Java applications.","fork":true,"url":"https://api.github.com/repos/yschimke/okhttp","forks_url":"https://api.github.com/repos/yschimke/okhttp/forks","keys_url":"https://api.github.com/repos/yschimke/okhttp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yschimke/okhttp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yschimke/okhttp/teams","hooks_url":"https://api.github.com/repos/yschimke/okhttp/hooks","issue_events_url":"https://api.github.com/repos/yschimke/okhttp/issues/events{/number}","events_url":"https://api.github.com/repos/yschimke/okhttp/events","assignees_url":"https://api.github.com/repos/yschimke/okhttp/assignees{/user}","branches_url":"https://api.github.com/repos/yschimke/okhttp/branches{/branch}","tags_url":"https://api.github.com/repos/yschimke/okhttp/tags","blobs_url":"https://api.github.com/repos/yschimke/okhttp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yschimke/okhttp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yschimke/okhttp/git/refs{/sha}","trees_url":"https://api.github.com/repos/yschimke/okhttp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yschimke/okhttp/statuses/{sha}","languages_url":"https://api.github.com/repos/yschimke/okhttp/languages","stargazers_url":"https://api.github.com/repos/yschimke/okhttp/stargazers","contributors_url":"https://api.github.com/repos/yschimke/okhttp/contributors","subscribers_url":"https://api.github.com/repos/yschimke/okhttp/subscribers","subscription_url":"https://api.github.com/repos/yschimke/okhttp/subscription","commits_url":"https://api.github.com/repos/yschimke/okhttp/commits{/sha}","git_commits_url":"https://api.github.com/repos/yschimke/okhttp/git/commits{/sha}","comments_url":"https://api.github.com/repos/yschimke/okhttp/comments{/number}","issue_comment_url":"https://api.github.com/repos/yschimke/okhttp/issues/comments{/number}","contents_url":"https://api.github.com/repos/yschimke/okhttp/contents/{+path}","compare_url":"https://api.github.com/repos/yschimke/okhttp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yschimke/okhttp/merges","archive_url":"https://api.github.com/repos/yschimke/okhttp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yschimke/okhttp/downloads","issues_url":"https://api.github.com/repos/yschimke/okhttp/issues{/number}","pulls_url":"https://api.github.com/repos/yschimke/okhttp/pulls{/number}","milestones_url":"https://api.github.com/repos/yschimke/okhttp/milestones{/number}","notifications_url":"https://api.github.com/repos/yschimke/okhttp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yschimke/okhttp/labels{/name}","releases_url":"https://api.github.com/repos/yschimke/okhttp/releases{/id}","deployments_url":"https://api.github.com/repos/yschimke/okhttp/deployments","created_at":"2015-09-11T03:55:14Z","updated_at":"2016-04-20T05:51:09Z","pushed_at":"2016-08-24T06:08:01Z","git_url":"git://github.com/yschimke/okhttp.git","ssh_url":"git@github.com:yschimke/okhttp.git","clone_url":"https://github.com/yschimke/okhttp.git","svn_url":"https://github.com/yschimke/okhttp","homepage":"http://square.github.io/okhttp/","size":11844,"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":"square:master","ref":"master","sha":"b26ad3e01ef2a7200f44bc309f6df852003e6992","user":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"repo":{"id":5152285,"name":"okhttp","full_name":"square/okhttp","owner":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/square/okhttp","description":"An HTTP+HTTP/2 client for Android and Java applications.","fork":false,"url":"https://api.github.com/repos/square/okhttp","forks_url":"https://api.github.com/repos/square/okhttp/forks","keys_url":"https://api.github.com/repos/square/okhttp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/square/okhttp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/square/okhttp/teams","hooks_url":"https://api.github.com/repos/square/okhttp/hooks","issue_events_url":"https://api.github.com/repos/square/okhttp/issues/events{/number}","events_url":"https://api.github.com/repos/square/okhttp/events","assignees_url":"https://api.github.com/repos/square/okhttp/assignees{/user}","branches_url":"https://api.github.com/repos/square/okhttp/branches{/branch}","tags_url":"https://api.github.com/repos/square/okhttp/tags","blobs_url":"https://api.github.com/repos/square/okhttp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/square/okhttp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/square/okhttp/git/refs{/sha}","trees_url":"https://api.github.com/repos/square/okhttp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/square/okhttp/statuses/{sha}","languages_url":"https://api.github.com/repos/square/okhttp/languages","stargazers_url":"https://api.github.com/repos/square/okhttp/stargazers","contributors_url":"https://api.github.com/repos/square/okhttp/contributors","subscribers_url":"https://api.github.com/repos/square/okhttp/subscribers","subscription_url":"https://api.github.com/repos/square/okhttp/subscription","commits_url":"https://api.github.com/repos/square/okhttp/commits{/sha}","git_commits_url":"https://api.github.com/repos/square/okhttp/git/commits{/sha}","comments_url":"https://api.github.com/repos/square/okhttp/comments{/number}","issue_comment_url":"https://api.github.com/repos/square/okhttp/issues/comments{/number}","contents_url":"https://api.github.com/repos/square/okhttp/contents/{+path}","compare_url":"https://api.github.com/repos/square/okhttp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/square/okhttp/merges","archive_url":"https://api.github.com/repos/square/okhttp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/square/okhttp/downloads","issues_url":"https://api.github.com/repos/square/okhttp/issues{/number}","pulls_url":"https://api.github.com/repos/square/okhttp/pulls{/number}","milestones_url":"https://api.github.com/repos/square/okhttp/milestones{/number}","notifications_url":"https://api.github.com/repos/square/okhttp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/square/okhttp/labels{/name}","releases_url":"https://api.github.com/repos/square/okhttp/releases{/id}","deployments_url":"https://api.github.com/repos/square/okhttp/deployments","created_at":"2012-07-23T13:42:55Z","updated_at":"2016-09-05T15:42:54Z","pushed_at":"2016-09-05T15:05:42Z","git_url":"git://github.com/square/okhttp.git","ssh_url":"git@github.com:square/okhttp.git","clone_url":"https://github.com/square/okhttp.git","svn_url":"https://github.com/square/okhttp","homepage":"http://square.github.io/okhttp/","size":32874,"stargazers_count":14078,"watchers_count":14078,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3674,"mirror_url":null,"open_issues_count":124,"forks":3674,"open_issues":124,"watchers":14078,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/square/okhttp/pulls/2494"},"html":{"href":"https://github.com/square/okhttp/pull/2494"},"issue":{"href":"https://api.github.com/repos/square/okhttp/issues/2494"},"comments":{"href":"https://api.github.com/repos/square/okhttp/issues/2494/comments"},"review_comments":{"href":"https://api.github.com/repos/square/okhttp/pulls/2494/comments"},"review_comment":{"href":"https://api.github.com/repos/square/okhttp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/square/okhttp/pulls/2494/commits"},"statuses":{"href":"https://api.github.com/repos/square/okhttp/statuses/d8552f091ba50a775f10aefb581612c8078962bc"}}}}
{"actor":{"display_login":"iNoles"}}