{"action":"created","comment":{"url":"https://api.github.com/repos/uber/rides-android-sdk/pulls/comments/59806746","id":59806746,"diff_hunk":"@@ -0,0 +1,35 @@\n+/*\n+ * Copyright (c) 2015 Uber Technologies, Inc.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in\n+ * all copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n+ * THE SOFTWARE.\n+ */\n+ \n+package android.net.http;\n+\n+/**\n+ * Since Apache HTTP Client was deprecated, it was no longer on the compile classpath. \n+ * However, Robolectric 3.0 still links to it. So we need to add no-op class for successful compiling.\n+ * This workaround work only if we do not use AndroidHttpClient in our test cases. \n+ * \n+ * Link to Robolectric issue https://github.com/robolectric/robolectric/issues/1862\n+ * \n+ * Created by Antonenko Viacheslav on 24/02/16.","path":"sdk/src/test/java/android/net/http/AndroidHttpClient.java","position":32,"original_position":32,"commit_id":"197e55a873755fdda58286d2f7c9e5971f42aa2e","original_commit_id":"197e55a873755fdda58286d2f7c9e5971f42aa2e","user":{"login":"itstexter","id":2568271,"avatar_url":"https://avatars.githubusercontent.com/u/2568271?v=3","gravatar_id":"","url":"https://api.github.com/users/itstexter","html_url":"https://github.com/itstexter","followers_url":"https://api.github.com/users/itstexter/followers","following_url":"https://api.github.com/users/itstexter/following{/other_user}","gists_url":"https://api.github.com/users/itstexter/gists{/gist_id}","starred_url":"https://api.github.com/users/itstexter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itstexter/subscriptions","organizations_url":"https://api.github.com/users/itstexter/orgs","repos_url":"https://api.github.com/users/itstexter/repos","events_url":"https://api.github.com/users/itstexter/events{/privacy}","received_events_url":"https://api.github.com/users/itstexter/received_events","type":"User","site_admin":false},"body":"Can you remove this line?  Sorry, we don't have any attribution in our JavaDocs.","created_at":"2016-04-14T23:08:09Z","updated_at":"2016-04-14T23:08:09Z","html_url":"https://github.com/uber/rides-android-sdk/pull/10#discussion_r59806746","pull_request_url":"https://api.github.com/repos/uber/rides-android-sdk/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/uber/rides-android-sdk/pulls/comments/59806746"},"html":{"href":"https://github.com/uber/rides-android-sdk/pull/10#discussion_r59806746"},"pull_request":{"href":"https://api.github.com/repos/uber/rides-android-sdk/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/uber/rides-android-sdk/pulls/10","id":60580655,"html_url":"https://github.com/uber/rides-android-sdk/pull/10","diff_url":"https://github.com/uber/rides-android-sdk/pull/10.diff","patch_url":"https://github.com/uber/rides-android-sdk/pull/10.patch","issue_url":"https://api.github.com/repos/uber/rides-android-sdk/issues/10","number":10,"state":"open","locked":false,"title":"Remove Apache dependency","user":{"login":"antslava","id":506456,"avatar_url":"https://avatars.githubusercontent.com/u/506456?v=3","gravatar_id":"","url":"https://api.github.com/users/antslava","html_url":"https://github.com/antslava","followers_url":"https://api.github.com/users/antslava/followers","following_url":"https://api.github.com/users/antslava/following{/other_user}","gists_url":"https://api.github.com/users/antslava/gists{/gist_id}","starred_url":"https://api.github.com/users/antslava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antslava/subscriptions","organizations_url":"https://api.github.com/users/antslava/orgs","repos_url":"https://api.github.com/users/antslava/repos","events_url":"https://api.github.com/users/antslava/events{/privacy}","received_events_url":"https://api.github.com/users/antslava/received_events","type":"User","site_admin":false},"body":"Remove Apache dependency and add workaround for Robolectric issue robolectric/robolectric#1862 until Robolectric release 3.1","created_at":"2016-02-24T21:22:51Z","updated_at":"2016-04-14T23:08:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b4c8e461fa9c09941689137326450377bf9ddb44","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/uber/rides-android-sdk/pulls/10/commits","review_comments_url":"https://api.github.com/repos/uber/rides-android-sdk/pulls/10/comments","review_comment_url":"https://api.github.com/repos/uber/rides-android-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uber/rides-android-sdk/issues/10/comments","statuses_url":"https://api.github.com/repos/uber/rides-android-sdk/statuses/197e55a873755fdda58286d2f7c9e5971f42aa2e","head":{"label":"antslava:remove_apache_dependency","ref":"remove_apache_dependency","sha":"197e55a873755fdda58286d2f7c9e5971f42aa2e","user":{"login":"antslava","id":506456,"avatar_url":"https://avatars.githubusercontent.com/u/506456?v=3","gravatar_id":"","url":"https://api.github.com/users/antslava","html_url":"https://github.com/antslava","followers_url":"https://api.github.com/users/antslava/followers","following_url":"https://api.github.com/users/antslava/following{/other_user}","gists_url":"https://api.github.com/users/antslava/gists{/gist_id}","starred_url":"https://api.github.com/users/antslava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antslava/subscriptions","organizations_url":"https://api.github.com/users/antslava/orgs","repos_url":"https://api.github.com/users/antslava/repos","events_url":"https://api.github.com/users/antslava/events{/privacy}","received_events_url":"https://api.github.com/users/antslava/received_events","type":"User","site_admin":false},"repo":{"id":52086682,"name":"rides-android-sdk","full_name":"antslava/rides-android-sdk","owner":{"login":"antslava","id":506456,"avatar_url":"https://avatars.githubusercontent.com/u/506456?v=3","gravatar_id":"","url":"https://api.github.com/users/antslava","html_url":"https://github.com/antslava","followers_url":"https://api.github.com/users/antslava/followers","following_url":"https://api.github.com/users/antslava/following{/other_user}","gists_url":"https://api.github.com/users/antslava/gists{/gist_id}","starred_url":"https://api.github.com/users/antslava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antslava/subscriptions","organizations_url":"https://api.github.com/users/antslava/orgs","repos_url":"https://api.github.com/users/antslava/repos","events_url":"https://api.github.com/users/antslava/events{/privacy}","received_events_url":"https://api.github.com/users/antslava/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/antslava/rides-android-sdk","description":"Uber Rides Android SDK (beta)","fork":true,"url":"https://api.github.com/repos/antslava/rides-android-sdk","forks_url":"https://api.github.com/repos/antslava/rides-android-sdk/forks","keys_url":"https://api.github.com/repos/antslava/rides-android-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antslava/rides-android-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antslava/rides-android-sdk/teams","hooks_url":"https://api.github.com/repos/antslava/rides-android-sdk/hooks","issue_events_url":"https://api.github.com/repos/antslava/rides-android-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/antslava/rides-android-sdk/events","assignees_url":"https://api.github.com/repos/antslava/rides-android-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/antslava/rides-android-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/antslava/rides-android-sdk/tags","blobs_url":"https://api.github.com/repos/antslava/rides-android-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antslava/rides-android-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antslava/rides-android-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/antslava/rides-android-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antslava/rides-android-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/antslava/rides-android-sdk/languages","stargazers_url":"https://api.github.com/repos/antslava/rides-android-sdk/stargazers","contributors_url":"https://api.github.com/repos/antslava/rides-android-sdk/contributors","subscribers_url":"https://api.github.com/repos/antslava/rides-android-sdk/subscribers","subscription_url":"https://api.github.com/repos/antslava/rides-android-sdk/subscription","commits_url":"https://api.github.com/repos/antslava/rides-android-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/antslava/rides-android-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/antslava/rides-android-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/antslava/rides-android-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/antslava/rides-android-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/antslava/rides-android-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antslava/rides-android-sdk/merges","archive_url":"https://api.github.com/repos/antslava/rides-android-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antslava/rides-android-sdk/downloads","issues_url":"https://api.github.com/repos/antslava/rides-android-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/antslava/rides-android-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/antslava/rides-android-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/antslava/rides-android-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antslava/rides-android-sdk/labels{/name}","releases_url":"https://api.github.com/repos/antslava/rides-android-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/antslava/rides-android-sdk/deployments","created_at":"2016-02-19T12:36:34Z","updated_at":"2016-02-19T12:36:35Z","pushed_at":"2016-03-21T17:08:06Z","git_url":"git://github.com/antslava/rides-android-sdk.git","ssh_url":"git@github.com:antslava/rides-android-sdk.git","clone_url":"https://github.com/antslava/rides-android-sdk.git","svn_url":"https://github.com/antslava/rides-android-sdk","homepage":"","size":157,"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":"uber:master","ref":"master","sha":"ae8cbd7767afc1e687f442866bc4b90f3b528859","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":46449357,"name":"rides-android-sdk","full_name":"uber/rides-android-sdk","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/rides-android-sdk","description":"Uber Rides Android SDK (beta)","fork":false,"url":"https://api.github.com/repos/uber/rides-android-sdk","forks_url":"https://api.github.com/repos/uber/rides-android-sdk/forks","keys_url":"https://api.github.com/repos/uber/rides-android-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber/rides-android-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber/rides-android-sdk/teams","hooks_url":"https://api.github.com/repos/uber/rides-android-sdk/hooks","issue_events_url":"https://api.github.com/repos/uber/rides-android-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/uber/rides-android-sdk/events","assignees_url":"https://api.github.com/repos/uber/rides-android-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/uber/rides-android-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/uber/rides-android-sdk/tags","blobs_url":"https://api.github.com/repos/uber/rides-android-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber/rides-android-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber/rides-android-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber/rides-android-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber/rides-android-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/uber/rides-android-sdk/languages","stargazers_url":"https://api.github.com/repos/uber/rides-android-sdk/stargazers","contributors_url":"https://api.github.com/repos/uber/rides-android-sdk/contributors","subscribers_url":"https://api.github.com/repos/uber/rides-android-sdk/subscribers","subscription_url":"https://api.github.com/repos/uber/rides-android-sdk/subscription","commits_url":"https://api.github.com/repos/uber/rides-android-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber/rides-android-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber/rides-android-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber/rides-android-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber/rides-android-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/uber/rides-android-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber/rides-android-sdk/merges","archive_url":"https://api.github.com/repos/uber/rides-android-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber/rides-android-sdk/downloads","issues_url":"https://api.github.com/repos/uber/rides-android-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/uber/rides-android-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/uber/rides-android-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/uber/rides-android-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber/rides-android-sdk/labels{/name}","releases_url":"https://api.github.com/repos/uber/rides-android-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/uber/rides-android-sdk/deployments","created_at":"2015-11-18T21:43:03Z","updated_at":"2016-04-04T14:55:37Z","pushed_at":"2016-04-14T22:54:16Z","git_url":"git://github.com/uber/rides-android-sdk.git","ssh_url":"git@github.com:uber/rides-android-sdk.git","clone_url":"https://github.com/uber/rides-android-sdk.git","svn_url":"https://github.com/uber/rides-android-sdk","homepage":"","size":225,"stargazers_count":50,"watchers_count":50,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":6,"forks":13,"open_issues":6,"watchers":50,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uber/rides-android-sdk/pulls/10"},"html":{"href":"https://github.com/uber/rides-android-sdk/pull/10"},"issue":{"href":"https://api.github.com/repos/uber/rides-android-sdk/issues/10"},"comments":{"href":"https://api.github.com/repos/uber/rides-android-sdk/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/uber/rides-android-sdk/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/uber/rides-android-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uber/rides-android-sdk/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/uber/rides-android-sdk/statuses/197e55a873755fdda58286d2f7c9e5971f42aa2e"}}}}