{"action":"created","comment":{"url":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/comments/64606142","id":64606142,"diff_hunk":"@@ -5,20 +5,20 @@\n import java.io.FileInputStream;\n import java.io.IOException;\n \n-import io.appium.uiautomator2.handler.request.BaseRequestHandler;\n+import io.appium.uiautomator2.handler.request.SafeRequestHandler;\n import io.appium.uiautomator2.http.AppiumResponse;\n import io.appium.uiautomator2.http.IHttpRequest;\n import io.appium.uiautomator2.server.WDStatus;\n import io.appium.uiautomator2.utils.Logger;\n \n-public class AppStrings extends BaseRequestHandler {\n+public class AppStrings extends SafeRequestHandler {\n     public AppStrings(String mappedUri) {\n         super(mappedUri);\n     }\n \n     @Override\n-    public AppiumResponse handle(IHttpRequest request) {\n-        String jsonString = \"\";\n+    public AppiumResponse safeHandle(IHttpRequest request) {\n+        String jsonString;\n         final String filePath = \"/data/local/tmp/strings.json\";\n ","path":"app/src/main/java/io/appium/uiautomator2/handler/AppStrings.java","position":23,"original_position":23,"commit_id":"57df2917ae06f7a007bbd4609d42f6437d69fa1a","original_commit_id":"57df2917ae06f7a007bbd4609d42f6437d69fa1a","user":{"login":"mpujari","id":1962338,"avatar_url":"https://avatars.githubusercontent.com/u/1962338?v=3","gravatar_id":"","url":"https://api.github.com/users/mpujari","html_url":"https://github.com/mpujari","followers_url":"https://api.github.com/users/mpujari/followers","following_url":"https://api.github.com/users/mpujari/following{/other_user}","gists_url":"https://api.github.com/users/mpujari/gists{/gist_id}","starred_url":"https://api.github.com/users/mpujari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpujari/subscriptions","organizations_url":"https://api.github.com/users/mpujari/orgs","repos_url":"https://api.github.com/users/mpujari/repos","events_url":"https://api.github.com/users/mpujari/events{/privacy}","received_events_url":"https://api.github.com/users/mpujari/received_events","type":"User","site_admin":false},"body":"Sorry, couldn't get you on that, what API level we are talking about here?","created_at":"2016-05-25T16:30:20Z","updated_at":"2016-05-25T16:30:20Z","html_url":"https://github.com/appium/appium-uiautomator2-server/pull/6#discussion_r64606142","pull_request_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/comments/64606142"},"html":{"href":"https://github.com/appium/appium-uiautomator2-server/pull/6#discussion_r64606142"},"pull_request":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/6","id":71360718,"html_url":"https://github.com/appium/appium-uiautomator2-server/pull/6","diff_url":"https://github.com/appium/appium-uiautomator2-server/pull/6.diff","patch_url":"https://github.com/appium/appium-uiautomator2-server/pull/6.patch","issue_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/issues/6","number":6,"state":"open","locked":false,"title":"Code refactored and added Javadoc","user":{"login":"anandsadu","id":13962113,"avatar_url":"https://avatars.githubusercontent.com/u/13962113?v=3","gravatar_id":"","url":"https://api.github.com/users/anandsadu","html_url":"https://github.com/anandsadu","followers_url":"https://api.github.com/users/anandsadu/followers","following_url":"https://api.github.com/users/anandsadu/following{/other_user}","gists_url":"https://api.github.com/users/anandsadu/gists{/gist_id}","starred_url":"https://api.github.com/users/anandsadu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anandsadu/subscriptions","organizations_url":"https://api.github.com/users/anandsadu/orgs","repos_url":"https://api.github.com/users/anandsadu/repos","events_url":"https://api.github.com/users/anandsadu/events{/privacy}","received_events_url":"https://api.github.com/users/anandsadu/received_events","type":"User","site_admin":false},"body":"Code refactored and added Javadoc","created_at":"2016-05-25T09:49:00Z","updated_at":"2016-05-25T16:30:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fdeea4d2d925665ca6f862adcd0b36bcaddae24e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/6/commits","review_comments_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/6/comments","review_comment_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/issues/6/comments","statuses_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/statuses/57df2917ae06f7a007bbd4609d42f6437d69fa1a","head":{"label":"anandsadu:master","ref":"master","sha":"57df2917ae06f7a007bbd4609d42f6437d69fa1a","user":{"login":"anandsadu","id":13962113,"avatar_url":"https://avatars.githubusercontent.com/u/13962113?v=3","gravatar_id":"","url":"https://api.github.com/users/anandsadu","html_url":"https://github.com/anandsadu","followers_url":"https://api.github.com/users/anandsadu/followers","following_url":"https://api.github.com/users/anandsadu/following{/other_user}","gists_url":"https://api.github.com/users/anandsadu/gists{/gist_id}","starred_url":"https://api.github.com/users/anandsadu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anandsadu/subscriptions","organizations_url":"https://api.github.com/users/anandsadu/orgs","repos_url":"https://api.github.com/users/anandsadu/repos","events_url":"https://api.github.com/users/anandsadu/events{/privacy}","received_events_url":"https://api.github.com/users/anandsadu/received_events","type":"User","site_admin":false},"repo":{"id":59192325,"name":"appium-uiautomator2-server","full_name":"anandsadu/appium-uiautomator2-server","owner":{"login":"anandsadu","id":13962113,"avatar_url":"https://avatars.githubusercontent.com/u/13962113?v=3","gravatar_id":"","url":"https://api.github.com/users/anandsadu","html_url":"https://github.com/anandsadu","followers_url":"https://api.github.com/users/anandsadu/followers","following_url":"https://api.github.com/users/anandsadu/following{/other_user}","gists_url":"https://api.github.com/users/anandsadu/gists{/gist_id}","starred_url":"https://api.github.com/users/anandsadu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anandsadu/subscriptions","organizations_url":"https://api.github.com/users/anandsadu/orgs","repos_url":"https://api.github.com/users/anandsadu/repos","events_url":"https://api.github.com/users/anandsadu/events{/privacy}","received_events_url":"https://api.github.com/users/anandsadu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anandsadu/appium-uiautomator2-server","description":"","fork":true,"url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server","forks_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/forks","keys_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/teams","hooks_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/hooks","issue_events_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/issues/events{/number}","events_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/events","assignees_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/assignees{/user}","branches_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/branches{/branch}","tags_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/tags","blobs_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/statuses/{sha}","languages_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/languages","stargazers_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/stargazers","contributors_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/contributors","subscribers_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/subscribers","subscription_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/subscription","commits_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/contents/{+path}","compare_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/merges","archive_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/downloads","issues_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/issues{/number}","pulls_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/pulls{/number}","milestones_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/milestones{/number}","notifications_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/labels{/name}","releases_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/releases{/id}","deployments_url":"https://api.github.com/repos/anandsadu/appium-uiautomator2-server/deployments","created_at":"2016-05-19T09:22:56Z","updated_at":"2016-05-19T09:22:57Z","pushed_at":"2016-05-25T09:44:52Z","git_url":"git://github.com/anandsadu/appium-uiautomator2-server.git","ssh_url":"git@github.com:anandsadu/appium-uiautomator2-server.git","clone_url":"https://github.com/anandsadu/appium-uiautomator2-server.git","svn_url":"https://github.com/anandsadu/appium-uiautomator2-server","homepage":null,"size":2963,"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":"appium:master","ref":"master","sha":"ecc7a7f3835ca9857a47342024cf3f981b1604cb","user":{"login":"appium","id":3221291,"avatar_url":"https://avatars.githubusercontent.com/u/3221291?v=3","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"repo":{"id":53297769,"name":"appium-uiautomator2-server","full_name":"appium/appium-uiautomator2-server","owner":{"login":"appium","id":3221291,"avatar_url":"https://avatars.githubusercontent.com/u/3221291?v=3","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appium/appium-uiautomator2-server","description":"","fork":false,"url":"https://api.github.com/repos/appium/appium-uiautomator2-server","forks_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/forks","keys_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/teams","hooks_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/hooks","issue_events_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/issues/events{/number}","events_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/events","assignees_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/assignees{/user}","branches_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/branches{/branch}","tags_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/tags","blobs_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/statuses/{sha}","languages_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/languages","stargazers_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/stargazers","contributors_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/contributors","subscribers_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/subscribers","subscription_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/subscription","commits_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/contents/{+path}","compare_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/merges","archive_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/downloads","issues_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/issues{/number}","pulls_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls{/number}","milestones_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/milestones{/number}","notifications_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/labels{/name}","releases_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/releases{/id}","deployments_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/deployments","created_at":"2016-03-07T05:18:34Z","updated_at":"2016-05-24T09:02:32Z","pushed_at":"2016-05-25T09:49:01Z","git_url":"git://github.com/appium/appium-uiautomator2-server.git","ssh_url":"git@github.com:appium/appium-uiautomator2-server.git","clone_url":"https://github.com/appium/appium-uiautomator2-server.git","svn_url":"https://github.com/appium/appium-uiautomator2-server","homepage":null,"size":3476,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/6"},"html":{"href":"https://github.com/appium/appium-uiautomator2-server/pull/6"},"issue":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/issues/6"},"comments":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/statuses/57df2917ae06f7a007bbd4609d42f6437d69fa1a"}}}}
{"actor":{"display_login":"mpujari"}}