{"action":"created","comment":{"url":"https://api.github.com/repos/appium/appium-espresso-driver/pulls/comments/240821588","pull_request_review_id":183941771,"id":240821588,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDgyMTU4OA==","diff_hunk":"@@ -57,9 +61,11 @@\n     private static final String NON_XML_CHAR_REPLACEMENT = \"?\";\n     private static final String VIEW_INDEX = \"viewIndex\";\n     private static final String NAMESPACE = \"\";\n-    private final static String DEFAULT_VIEW_CLASS_NAME = \"android.view.View\";\n-    private final static int MAX_TRAVERSE_DEPTH = 70;\n-    private final static int MAX_XML_VALUE_LENGTH = 64 * 1024;\n+    private static final String DEFAULT_VIEW_CLASS_NAME = \"android.view.View\";\n+    private static final int MAX_TRAVERSE_DEPTH = 70;\n+    private static final int MAX_XML_VALUE_LENGTH = 64 * 1024;\n+    private static final String XML_ENCODING = \"UTF-8\";\n+    private static final String TEMP_XML_FILE_NAME = \"source.xml\";","path":"espresso-server/app/src/androidTest/java/io/appium/espressoserver/lib/model/SourceDocument.java","position":null,"original_position":41,"commit_id":"50d9c822452409e3bd8abac35898717f0928c273","original_commit_id":"8e4af705814a8427c3d49cb2bcb8557d22984720","user":{"login":"mykola-mokhnach","id":7767781,"node_id":"MDQ6VXNlcjc3Njc3ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/7767781?v=4","gravatar_id":"","url":"https://api.github.com/users/mykola-mokhnach","html_url":"https://github.com/mykola-mokhnach","followers_url":"https://api.github.com/users/mykola-mokhnach/followers","following_url":"https://api.github.com/users/mykola-mokhnach/following{/other_user}","gists_url":"https://api.github.com/users/mykola-mokhnach/gists{/gist_id}","starred_url":"https://api.github.com/users/mykola-mokhnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykola-mokhnach/subscriptions","organizations_url":"https://api.github.com/users/mykola-mokhnach/orgs","repos_url":"https://api.github.com/users/mykola-mokhnach/repos","events_url":"https://api.github.com/users/mykola-mokhnach/events{/privacy}","received_events_url":"https://api.github.com/users/mykola-mokhnach/received_events","type":"User","site_admin":false},"body":"changed. Also, the `synchronized` attribute should help","created_at":"2018-12-11T22:49:05Z","updated_at":"2018-12-11T22:49:05Z","html_url":"https://github.com/appium/appium-espresso-driver/pull/344#discussion_r240821588","pull_request_url":"https://api.github.com/repos/appium/appium-espresso-driver/pulls/344","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/appium/appium-espresso-driver/pulls/comments/240821588"},"html":{"href":"https://github.com/appium/appium-espresso-driver/pull/344#discussion_r240821588"},"pull_request":{"href":"https://api.github.com/repos/appium/appium-espresso-driver/pulls/344"}},"in_reply_to_id":240804166},"pull_request":{"url":"https://api.github.com/repos/appium/appium-espresso-driver/pulls/344","id":237835056,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3ODM1MDU2","html_url":"https://github.com/appium/appium-espresso-driver/pull/344","diff_url":"https://github.com/appium/appium-espresso-driver/pull/344.diff","patch_url":"https://github.com/appium/appium-espresso-driver/pull/344.patch","issue_url":"https://api.github.com/repos/appium/appium-espresso-driver/issues/344","number":344,"state":"open","locked":false,"title":"Stream xml to a file rather than to a memory","user":{"login":"mykola-mokhnach","id":7767781,"node_id":"MDQ6VXNlcjc3Njc3ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/7767781?v=4","gravatar_id":"","url":"https://api.github.com/users/mykola-mokhnach","html_url":"https://github.com/mykola-mokhnach","followers_url":"https://api.github.com/users/mykola-mokhnach/followers","following_url":"https://api.github.com/users/mykola-mokhnach/following{/other_user}","gists_url":"https://api.github.com/users/mykola-mokhnach/gists{/gist_id}","starred_url":"https://api.github.com/users/mykola-mokhnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykola-mokhnach/subscriptions","organizations_url":"https://api.github.com/users/mykola-mokhnach/orgs","repos_url":"https://api.github.com/users/mykola-mokhnach/repos","events_url":"https://api.github.com/users/mykola-mokhnach/events{/privacy}","received_events_url":"https://api.github.com/users/mykola-mokhnach/received_events","type":"User","site_admin":false},"body":"Another try to address https://github.com/appium/appium-espresso-driver/issues/340","created_at":"2018-12-11T21:35:19Z","updated_at":"2018-12-11T22:49:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a7763c298d11340ec26376c86d5b659edebac19","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/appium/appium-espresso-driver/pulls/344/commits","review_comments_url":"https://api.github.com/repos/appium/appium-espresso-driver/pulls/344/comments","review_comment_url":"https://api.github.com/repos/appium/appium-espresso-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appium/appium-espresso-driver/issues/344/comments","statuses_url":"https://api.github.com/repos/appium/appium-espresso-driver/statuses/50d9c822452409e3bd8abac35898717f0928c273","head":{"label":"mykola-mokhnach:write_file","ref":"write_file","sha":"50d9c822452409e3bd8abac35898717f0928c273","user":{"login":"mykola-mokhnach","id":7767781,"node_id":"MDQ6VXNlcjc3Njc3ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/7767781?v=4","gravatar_id":"","url":"https://api.github.com/users/mykola-mokhnach","html_url":"https://github.com/mykola-mokhnach","followers_url":"https://api.github.com/users/mykola-mokhnach/followers","following_url":"https://api.github.com/users/mykola-mokhnach/following{/other_user}","gists_url":"https://api.github.com/users/mykola-mokhnach/gists{/gist_id}","starred_url":"https://api.github.com/users/mykola-mokhnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykola-mokhnach/subscriptions","organizations_url":"https://api.github.com/users/mykola-mokhnach/orgs","repos_url":"https://api.github.com/users/mykola-mokhnach/repos","events_url":"https://api.github.com/users/mykola-mokhnach/events{/privacy}","received_events_url":"https://api.github.com/users/mykola-mokhnach/received_events","type":"User","site_admin":false},"repo":{"id":95374186,"node_id":"MDEwOlJlcG9zaXRvcnk5NTM3NDE4Ng==","name":"appium-espresso-driver","full_name":"mykola-mokhnach/appium-espresso-driver","private":false,"owner":{"login":"mykola-mokhnach","id":7767781,"node_id":"MDQ6VXNlcjc3Njc3ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/7767781?v=4","gravatar_id":"","url":"https://api.github.com/users/mykola-mokhnach","html_url":"https://github.com/mykola-mokhnach","followers_url":"https://api.github.com/users/mykola-mokhnach/followers","following_url":"https://api.github.com/users/mykola-mokhnach/following{/other_user}","gists_url":"https://api.github.com/users/mykola-mokhnach/gists{/gist_id}","starred_url":"https://api.github.com/users/mykola-mokhnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykola-mokhnach/subscriptions","organizations_url":"https://api.github.com/users/mykola-mokhnach/orgs","repos_url":"https://api.github.com/users/mykola-mokhnach/repos","events_url":"https://api.github.com/users/mykola-mokhnach/events{/privacy}","received_events_url":"https://api.github.com/users/mykola-mokhnach/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mykola-mokhnach/appium-espresso-driver","description":"Espresso integration for Appium","fork":true,"url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver","forks_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/forks","keys_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/teams","hooks_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/hooks","issue_events_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/issues/events{/number}","events_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/events","assignees_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/assignees{/user}","branches_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/branches{/branch}","tags_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/tags","blobs_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/languages","stargazers_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/stargazers","contributors_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/contributors","subscribers_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/subscribers","subscription_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/subscription","commits_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/contents/{+path}","compare_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/merges","archive_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/downloads","issues_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/issues{/number}","pulls_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/labels{/name}","releases_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/releases{/id}","deployments_url":"https://api.github.com/repos/mykola-mokhnach/appium-espresso-driver/deployments","created_at":"2017-06-25T17:10:43Z","updated_at":"2018-12-11T21:02:10Z","pushed_at":"2018-12-11T22:48:30Z","git_url":"git://github.com/mykola-mokhnach/appium-espresso-driver.git","ssh_url":"git@github.com:mykola-mokhnach/appium-espresso-driver.git","clone_url":"https://github.com/mykola-mokhnach/appium-espresso-driver.git","svn_url":"https://github.com/mykola-mokhnach/appium-espresso-driver","homepage":null,"size":1036,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"appium:master","ref":"master","sha":"84ea805f2a34a25983bd4657d27ab35dd6267afd","user":{"login":"appium","id":3221291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjEyOTE=","avatar_url":"https://avatars2.githubusercontent.com/u/3221291?v=4","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":92194544,"node_id":"MDEwOlJlcG9zaXRvcnk5MjE5NDU0NA==","name":"appium-espresso-driver","full_name":"appium/appium-espresso-driver","private":false,"owner":{"login":"appium","id":3221291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjEyOTE=","avatar_url":"https://avatars2.githubusercontent.com/u/3221291?v=4","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},"html_url":"https://github.com/appium/appium-espresso-driver","description":"Espresso integration for Appium","fork":false,"url":"https://api.github.com/repos/appium/appium-espresso-driver","forks_url":"https://api.github.com/repos/appium/appium-espresso-driver/forks","keys_url":"https://api.github.com/repos/appium/appium-espresso-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appium/appium-espresso-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appium/appium-espresso-driver/teams","hooks_url":"https://api.github.com/repos/appium/appium-espresso-driver/hooks","issue_events_url":"https://api.github.com/repos/appium/appium-espresso-driver/issues/events{/number}","events_url":"https://api.github.com/repos/appium/appium-espresso-driver/events","assignees_url":"https://api.github.com/repos/appium/appium-espresso-driver/assignees{/user}","branches_url":"https://api.github.com/repos/appium/appium-espresso-driver/branches{/branch}","tags_url":"https://api.github.com/repos/appium/appium-espresso-driver/tags","blobs_url":"https://api.github.com/repos/appium/appium-espresso-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appium/appium-espresso-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appium/appium-espresso-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/appium/appium-espresso-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appium/appium-espresso-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/appium/appium-espresso-driver/languages","stargazers_url":"https://api.github.com/repos/appium/appium-espresso-driver/stargazers","contributors_url":"https://api.github.com/repos/appium/appium-espresso-driver/contributors","subscribers_url":"https://api.github.com/repos/appium/appium-espresso-driver/subscribers","subscription_url":"https://api.github.com/repos/appium/appium-espresso-driver/subscription","commits_url":"https://api.github.com/repos/appium/appium-espresso-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/appium/appium-espresso-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/appium/appium-espresso-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/appium/appium-espresso-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/appium/appium-espresso-driver/contents/{+path}","compare_url":"https://api.github.com/repos/appium/appium-espresso-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appium/appium-espresso-driver/merges","archive_url":"https://api.github.com/repos/appium/appium-espresso-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appium/appium-espresso-driver/downloads","issues_url":"https://api.github.com/repos/appium/appium-espresso-driver/issues{/number}","pulls_url":"https://api.github.com/repos/appium/appium-espresso-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/appium/appium-espresso-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/appium/appium-espresso-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appium/appium-espresso-driver/labels{/name}","releases_url":"https://api.github.com/repos/appium/appium-espresso-driver/releases{/id}","deployments_url":"https://api.github.com/repos/appium/appium-espresso-driver/deployments","created_at":"2017-05-23T16:18:54Z","updated_at":"2018-12-11T18:32:56Z","pushed_at":"2018-12-11T22:48:31Z","git_url":"git://github.com/appium/appium-espresso-driver.git","ssh_url":"git@github.com:appium/appium-espresso-driver.git","clone_url":"https://github.com/appium/appium-espresso-driver.git","svn_url":"https://github.com/appium/appium-espresso-driver","homepage":null,"size":1107,"stargazers_count":53,"watchers_count":53,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":21,"open_issues":17,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appium/appium-espresso-driver/pulls/344"},"html":{"href":"https://github.com/appium/appium-espresso-driver/pull/344"},"issue":{"href":"https://api.github.com/repos/appium/appium-espresso-driver/issues/344"},"comments":{"href":"https://api.github.com/repos/appium/appium-espresso-driver/issues/344/comments"},"review_comments":{"href":"https://api.github.com/repos/appium/appium-espresso-driver/pulls/344/comments"},"review_comment":{"href":"https://api.github.com/repos/appium/appium-espresso-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appium/appium-espresso-driver/pulls/344/commits"},"statuses":{"href":"https://api.github.com/repos/appium/appium-espresso-driver/statuses/50d9c822452409e3bd8abac35898717f0928c273"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mykola-mokhnach"}}