{"action":"created","comment":{"url":"https://api.github.com/repos/eclipse/xtext/pulls/comments/36131358","id":36131358,"diff_hunk":"@@ -68,4 +72,12 @@ public InputStream getContents(SourceRelativeURI uri, IProject project) {\n \t\treturn null;\n \t}\n \t\n+\t@Override\n+\tprotected Reader getContentsAsText(SourceRelativeURI uri, IProject project) {\n+\t\tInputStream contents = getContents(uri, project);\n+\t\tif (contents != null)\n+\t\t\treturn new InputStreamReader(contents, Charsets.UTF_8);","path":"plugins/org.eclipse.xtext.common.types.ui/src/org/eclipse/xtext/common/types/ui/trace/ZipFileAwareTrace.java","position":26,"original_position":26,"commit_id":"c11618e1bee8375abbd77dcba3b40ad377b45003","original_commit_id":"c11618e1bee8375abbd77dcba3b40ad377b45003","user":{"login":"szarnekow","id":375492,"avatar_url":"https://avatars.githubusercontent.com/u/375492?v=3","gravatar_id":"","url":"https://api.github.com/users/szarnekow","html_url":"https://github.com/szarnekow","followers_url":"https://api.github.com/users/szarnekow/followers","following_url":"https://api.github.com/users/szarnekow/following{/other_user}","gists_url":"https://api.github.com/users/szarnekow/gists{/gist_id}","starred_url":"https://api.github.com/users/szarnekow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szarnekow/subscriptions","organizations_url":"https://api.github.com/users/szarnekow/orgs","repos_url":"https://api.github.com/users/szarnekow/repos","events_url":"https://api.github.com/users/szarnekow/events{/privacy}","received_events_url":"https://api.github.com/users/szarnekow/received_events","type":"User","site_admin":false},"body":"Same question: should this be the encoding that can be obtained from the project?","created_at":"2015-08-03T21:03:07Z","updated_at":"2015-08-03T21:03:07Z","html_url":"https://github.com/eclipse/xtext/pull/400#discussion_r36131358","pull_request_url":"https://api.github.com/repos/eclipse/xtext/pulls/400","_links":{"self":{"href":"https://api.github.com/repos/eclipse/xtext/pulls/comments/36131358"},"html":{"href":"https://github.com/eclipse/xtext/pull/400#discussion_r36131358"},"pull_request":{"href":"https://api.github.com/repos/eclipse/xtext/pulls/400"}}},"pull_request":{"url":"https://api.github.com/repos/eclipse/xtext/pulls/400","id":40243217,"html_url":"https://github.com/eclipse/xtext/pull/400","diff_url":"https://github.com/eclipse/xtext/pull/400.diff","patch_url":"https://github.com/eclipse/xtext/pull/400.patch","issue_url":"https://api.github.com/repos/eclipse/xtext/issues/400","number":400,"state":"closed","locked":false,"title":"[trace] visualize traces in toString()","user":{"login":"meysholdt","id":239422,"avatar_url":"https://avatars.githubusercontent.com/u/239422?v=3","gravatar_id":"","url":"https://api.github.com/users/meysholdt","html_url":"https://github.com/meysholdt","followers_url":"https://api.github.com/users/meysholdt/followers","following_url":"https://api.github.com/users/meysholdt/following{/other_user}","gists_url":"https://api.github.com/users/meysholdt/gists{/gist_id}","starred_url":"https://api.github.com/users/meysholdt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meysholdt/subscriptions","organizations_url":"https://api.github.com/users/meysholdt/orgs","repos_url":"https://api.github.com/users/meysholdt/repos","events_url":"https://api.github.com/users/meysholdt/events{/privacy}","received_events_url":"https://api.github.com/users/meysholdt/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>","created_at":"2015-07-17T15:37:28Z","updated_at":"2015-08-03T21:03:07Z","closed_at":"2015-08-03T20:35:21Z","merged_at":"2015-08-03T20:35:21Z","merge_commit_sha":"0c5e4e2f639d784f7d7a84f5b6ea7dfa0949c00a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/xtext/pulls/400/commits","review_comments_url":"https://api.github.com/repos/eclipse/xtext/pulls/400/comments","review_comment_url":"https://api.github.com/repos/eclipse/xtext/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/xtext/issues/400/comments","statuses_url":"https://api.github.com/repos/eclipse/xtext/statuses/c11618e1bee8375abbd77dcba3b40ad377b45003","head":{"label":"eclipse:me/trace_to_string","ref":"me/trace_to_string","sha":"c11618e1bee8375abbd77dcba3b40ad377b45003","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":1553758,"name":"xtext","full_name":"eclipse/xtext","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/xtext","description":"Xtext is a language development framework ","fork":false,"url":"https://api.github.com/repos/eclipse/xtext","forks_url":"https://api.github.com/repos/eclipse/xtext/forks","keys_url":"https://api.github.com/repos/eclipse/xtext/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/xtext/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/xtext/teams","hooks_url":"https://api.github.com/repos/eclipse/xtext/hooks","issue_events_url":"https://api.github.com/repos/eclipse/xtext/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/xtext/events","assignees_url":"https://api.github.com/repos/eclipse/xtext/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/xtext/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/xtext/tags","blobs_url":"https://api.github.com/repos/eclipse/xtext/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/xtext/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/xtext/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/xtext/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/xtext/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/xtext/languages","stargazers_url":"https://api.github.com/repos/eclipse/xtext/stargazers","contributors_url":"https://api.github.com/repos/eclipse/xtext/contributors","subscribers_url":"https://api.github.com/repos/eclipse/xtext/subscribers","subscription_url":"https://api.github.com/repos/eclipse/xtext/subscription","commits_url":"https://api.github.com/repos/eclipse/xtext/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/xtext/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/xtext/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/xtext/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/xtext/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/xtext/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/xtext/merges","archive_url":"https://api.github.com/repos/eclipse/xtext/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/xtext/downloads","issues_url":"https://api.github.com/repos/eclipse/xtext/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/xtext/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/xtext/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/xtext/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/xtext/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/xtext/releases{/id}","created_at":"2011-04-01T02:12:17Z","updated_at":"2015-07-28T06:59:36Z","pushed_at":"2015-08-03T20:35:25Z","git_url":"git://github.com/eclipse/xtext.git","ssh_url":"git@github.com:eclipse/xtext.git","clone_url":"https://github.com/eclipse/xtext.git","svn_url":"https://github.com/eclipse/xtext","homepage":"http://xtext.org","size":808059,"stargazers_count":156,"watchers_count":156,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":9,"forks":75,"open_issues":9,"watchers":156,"default_branch":"master"}},"base":{"label":"eclipse:master","ref":"master","sha":"b89bb7dd8e81e57de71dbbc15eaf1e6bca28c965","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":1553758,"name":"xtext","full_name":"eclipse/xtext","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/xtext","description":"Xtext is a language development framework ","fork":false,"url":"https://api.github.com/repos/eclipse/xtext","forks_url":"https://api.github.com/repos/eclipse/xtext/forks","keys_url":"https://api.github.com/repos/eclipse/xtext/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/xtext/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/xtext/teams","hooks_url":"https://api.github.com/repos/eclipse/xtext/hooks","issue_events_url":"https://api.github.com/repos/eclipse/xtext/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/xtext/events","assignees_url":"https://api.github.com/repos/eclipse/xtext/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/xtext/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/xtext/tags","blobs_url":"https://api.github.com/repos/eclipse/xtext/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/xtext/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/xtext/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/xtext/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/xtext/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/xtext/languages","stargazers_url":"https://api.github.com/repos/eclipse/xtext/stargazers","contributors_url":"https://api.github.com/repos/eclipse/xtext/contributors","subscribers_url":"https://api.github.com/repos/eclipse/xtext/subscribers","subscription_url":"https://api.github.com/repos/eclipse/xtext/subscription","commits_url":"https://api.github.com/repos/eclipse/xtext/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/xtext/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/xtext/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/xtext/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/xtext/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/xtext/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/xtext/merges","archive_url":"https://api.github.com/repos/eclipse/xtext/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/xtext/downloads","issues_url":"https://api.github.com/repos/eclipse/xtext/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/xtext/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/xtext/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/xtext/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/xtext/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/xtext/releases{/id}","created_at":"2011-04-01T02:12:17Z","updated_at":"2015-07-28T06:59:36Z","pushed_at":"2015-08-03T20:35:25Z","git_url":"git://github.com/eclipse/xtext.git","ssh_url":"git@github.com:eclipse/xtext.git","clone_url":"https://github.com/eclipse/xtext.git","svn_url":"https://github.com/eclipse/xtext","homepage":"http://xtext.org","size":808059,"stargazers_count":156,"watchers_count":156,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":9,"forks":75,"open_issues":9,"watchers":156,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/xtext/pulls/400"},"html":{"href":"https://github.com/eclipse/xtext/pull/400"},"issue":{"href":"https://api.github.com/repos/eclipse/xtext/issues/400"},"comments":{"href":"https://api.github.com/repos/eclipse/xtext/issues/400/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/xtext/pulls/400/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/xtext/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/xtext/pulls/400/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/xtext/statuses/c11618e1bee8375abbd77dcba3b40ad377b45003"}}}}