{"action":"created","comment":{"url":"https://api.github.com/repos/eclipse/che/pulls/comments/130843660","pull_request_review_id":53762283,"id":130843660,"diff_hunk":"@@ -0,0 +1,161 @@\n+/*******************************************************************************\n+ * Copyright (c) 2012-2017 Codenvy, S.A.\n+ * All rights reserved. This program and the accompanying materials\n+ * are made available under the terms of the Eclipse Public License v1.0\n+ * which accompanies this distribution, and is available at\n+ * http://www.eclipse.org/legal/epl-v10.html\n+ *\n+ * Contributors:\n+ *   Codenvy, S.A. - initial API and implementation\n+ *******************************************************************************/\n+package org.eclipse.che.ide.search.presentation;\n+\n+import elemental.html.SpanElement;\n+\n+import com.google.gwt.core.client.Scheduler;\n+import com.google.gwt.dom.client.Element;\n+import com.google.inject.assistedinject.Assisted;\n+\n+import org.eclipse.che.api.project.shared.SearchOccurrence;\n+import org.eclipse.che.api.promises.client.Promise;\n+import org.eclipse.che.ide.Resources;\n+import org.eclipse.che.ide.api.app.AppContext;\n+import org.eclipse.che.ide.api.data.tree.AbstractTreeNode;\n+import org.eclipse.che.ide.api.data.tree.HasAction;\n+import org.eclipse.che.ide.api.data.tree.Node;\n+import org.eclipse.che.ide.api.editor.EditorAgent;\n+import org.eclipse.che.ide.api.editor.EditorPartPresenter;\n+import org.eclipse.che.ide.api.editor.OpenEditorCallbackImpl;\n+import org.eclipse.che.ide.api.editor.text.LinearRange;\n+import org.eclipse.che.ide.api.editor.texteditor.TextEditor;\n+import org.eclipse.che.ide.resource.Path;\n+import org.eclipse.che.ide.ui.smartTree.TreeStyles;\n+import org.eclipse.che.ide.ui.smartTree.presentation.HasPresentation;\n+import org.eclipse.che.ide.ui.smartTree.presentation.NodePresentation;\n+\n+import javax.inject.Inject;\n+import javax.validation.constraints.NotNull;\n+import java.util.List;\n+\n+import static org.eclipse.che.ide.util.dom.Elements.createSpanElement;\n+import static org.eclipse.che.ide.util.dom.Elements.createTextNode;\n+\n+/**\n+ * @author Vitalii Parfonov\n+ */\n+\n+public class FoundOccurrenceNode extends AbstractTreeNode implements HasPresentation, HasAction {\n+\n+\n+    private NodePresentation nodePresentation;\n+    private AppContext       appContext;\n+    private TreeStyles       styles;\n+    private Resources        resources;\n+    private EditorAgent      editorAgent;\n+    private String           itemPath;\n+    private SearchOccurrence searchOccurrence;\n+\n+    @Inject\n+    public FoundOccurrenceNode(AppContext appContext,\n+                               TreeStyles styles,\n+                               Resources resources,\n+                               EditorAgent editorAgent,\n+                               @Assisted SearchOccurrence searchOccurrence,\n+                               @Assisted String itemPath) {\n+        this.appContext = appContext;\n+        this.styles = styles;\n+        this.resources = resources;\n+        this.editorAgent = editorAgent;\n+        this.itemPath = itemPath;\n+        this.searchOccurrence = searchOccurrence;\n+    }\n+\n+    @Override\n+    @SuppressWarnings(\"Duplicates\")\n+    public void actionPerformed() {\n+        final EditorPartPresenter editorPartPresenter = editorAgent.getOpenedEditor(Path.valueOf(itemPath));\n+        if (editorPartPresenter != null) {\n+            selectRange(editorPartPresenter);\n+            Scheduler.get().scheduleDeferred(() -> editorAgent.activateEditor(editorPartPresenter));\n+            return;\n+        }\n+\n+        appContext.getWorkspaceRoot().getFile(itemPath).then(file -> {\n+            if (file.isPresent()) {\n+                editorAgent.openEditor(file.get(), new OpenEditorCallbackImpl() {\n+                    @Override\n+                    public void onEditorOpened(EditorPartPresenter editor) {\n+                        selectRange(editor);\n+                    }\n+                });\n+            }\n+        });\n+    }\n+\n+    private void selectRange(EditorPartPresenter editor) {\n+        if (editor instanceof TextEditor) {\n+            ((TextEditor)editor).getDocument().setSelectedRange(\n+                    LinearRange.createWithStart(searchOccurrence.getStartOffset()).andEnd(searchOccurrence.getEndOffset()),\n+                    true);\n+        }\n+    }\n+\n+\n+    /** {@inheritDoc} */\n+    @Override\n+    public NodePresentation getPresentation(boolean update) {","path":"ide/che-core-ide-app/src/main/java/org/eclipse/che/ide/search/presentation/FoundOccurrenceNode.java","position":106,"original_position":106,"commit_id":"254f6ab1d0af45c1bf1bcd73a5b541055c018a72","original_commit_id":"254f6ab1d0af45c1bf1bcd73a5b541055c018a72","user":{"login":"RomanNikitenko","id":5676062,"avatar_url":"https://avatars1.githubusercontent.com/u/5676062?v=4","gravatar_id":"","url":"https://api.github.com/users/RomanNikitenko","html_url":"https://github.com/RomanNikitenko","followers_url":"https://api.github.com/users/RomanNikitenko/followers","following_url":"https://api.github.com/users/RomanNikitenko/following{/other_user}","gists_url":"https://api.github.com/users/RomanNikitenko/gists{/gist_id}","starred_url":"https://api.github.com/users/RomanNikitenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomanNikitenko/subscriptions","organizations_url":"https://api.github.com/users/RomanNikitenko/orgs","repos_url":"https://api.github.com/users/RomanNikitenko/repos","events_url":"https://api.github.com/users/RomanNikitenko/events{/privacy}","received_events_url":"https://api.github.com/users/RomanNikitenko/received_events","type":"User","site_admin":false},"body":"We will do ```updatePresentation(nodePresentation)``` twice when ```nodePresentation == null``` and ```update``` is ```true```. Is it OK?","created_at":"2017-08-02T10:48:49Z","updated_at":"2017-08-02T10:48:50Z","html_url":"https://github.com/eclipse/che/pull/5874#discussion_r130843660","pull_request_url":"https://api.github.com/repos/eclipse/che/pulls/5874","_links":{"self":{"href":"https://api.github.com/repos/eclipse/che/pulls/comments/130843660"},"html":{"href":"https://github.com/eclipse/che/pull/5874#discussion_r130843660"},"pull_request":{"href":"https://api.github.com/repos/eclipse/che/pulls/5874"}}},"pull_request":{"url":"https://api.github.com/repos/eclipse/che/pulls/5874","id":133664818,"html_url":"https://github.com/eclipse/che/pull/5874","diff_url":"https://github.com/eclipse/che/pull/5874.diff","patch_url":"https://github.com/eclipse/che/pull/5874.patch","issue_url":"https://api.github.com/repos/eclipse/che/issues/5874","number":5874,"state":"open","locked":false,"title":"[WIP] CHE-5174 Improving search results ","user":{"login":"vparfonov","id":1636592,"avatar_url":"https://avatars1.githubusercontent.com/u/1636592?v=4","gravatar_id":"","url":"https://api.github.com/users/vparfonov","html_url":"https://github.com/vparfonov","followers_url":"https://api.github.com/users/vparfonov/followers","following_url":"https://api.github.com/users/vparfonov/following{/other_user}","gists_url":"https://api.github.com/users/vparfonov/gists{/gist_id}","starred_url":"https://api.github.com/users/vparfonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vparfonov/subscriptions","organizations_url":"https://api.github.com/users/vparfonov/orgs","repos_url":"https://api.github.com/users/vparfonov/repos","events_url":"https://api.github.com/users/vparfonov/events{/privacy}","received_events_url":"https://api.github.com/users/vparfonov/received_events","type":"User","site_admin":false},"body":"### What does this PR do?\r\nImproving search results:\r\n- line numbers are shown for matches\r\n- multiple matches in the same file are shown individually\r\n- when you click on a search result, the editor loads the file AND jumps straight to the matching line with all instances of the search term already highlighted\r\n\r\n![che-5174](https://user-images.githubusercontent.com/1636592/28867632-615e40de-777f-11e7-8e4d-397dac3c1790.gif)\r\n\r\n### What issues does this PR fix or reference?\r\n#5174 \r\n\r\n#### Changelog\r\nProjectService#search() now return different objects, now it will be `List<SearchResultDto>` instead of `List<ItemReference>`\r\n\r\n#### Release Notes\r\nImproving search results:\r\n- line numbers are shown for matches\r\n- multiple matches in the same file are shown individually\r\n- when you click on a search result, the editor loads the file AND jumps straight to the matching line with all instances of the search term already highlighted\r\n\r\nNOTE: ProjectService#search() now return different objects, now it will be `List<SearchResultDto>` instead of `List<ItemReference>`\r\n\r\n\r\n\r\n\r\n\r\n","created_at":"2017-08-02T09:45:45Z","updated_at":"2017-08-02T10:48:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e34bb88215c9061a544f9b1d727cfe082849d537","assignee":null,"assignees":[],"requested_reviewers":[{"login":"evidolob","id":929743,"avatar_url":"https://avatars0.githubusercontent.com/u/929743?v=4","gravatar_id":"","url":"https://api.github.com/users/evidolob","html_url":"https://github.com/evidolob","followers_url":"https://api.github.com/users/evidolob/followers","following_url":"https://api.github.com/users/evidolob/following{/other_user}","gists_url":"https://api.github.com/users/evidolob/gists{/gist_id}","starred_url":"https://api.github.com/users/evidolob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evidolob/subscriptions","organizations_url":"https://api.github.com/users/evidolob/orgs","repos_url":"https://api.github.com/users/evidolob/repos","events_url":"https://api.github.com/users/evidolob/events{/privacy}","received_events_url":"https://api.github.com/users/evidolob/received_events","type":"User","site_admin":false},{"login":"svor","id":1271546,"avatar_url":"https://avatars0.githubusercontent.com/u/1271546?v=4","gravatar_id":"","url":"https://api.github.com/users/svor","html_url":"https://github.com/svor","followers_url":"https://api.github.com/users/svor/followers","following_url":"https://api.github.com/users/svor/following{/other_user}","gists_url":"https://api.github.com/users/svor/gists{/gist_id}","starred_url":"https://api.github.com/users/svor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svor/subscriptions","organizations_url":"https://api.github.com/users/svor/orgs","repos_url":"https://api.github.com/users/svor/repos","events_url":"https://api.github.com/users/svor/events{/privacy}","received_events_url":"https://api.github.com/users/svor/received_events","type":"User","site_admin":false},{"login":"skabashnyuk","id":1614429,"avatar_url":"https://avatars0.githubusercontent.com/u/1614429?v=4","gravatar_id":"","url":"https://api.github.com/users/skabashnyuk","html_url":"https://github.com/skabashnyuk","followers_url":"https://api.github.com/users/skabashnyuk/followers","following_url":"https://api.github.com/users/skabashnyuk/following{/other_user}","gists_url":"https://api.github.com/users/skabashnyuk/gists{/gist_id}","starred_url":"https://api.github.com/users/skabashnyuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skabashnyuk/subscriptions","organizations_url":"https://api.github.com/users/skabashnyuk/orgs","repos_url":"https://api.github.com/users/skabashnyuk/repos","events_url":"https://api.github.com/users/skabashnyuk/events{/privacy}","received_events_url":"https://api.github.com/users/skabashnyuk/received_events","type":"User","site_admin":false},{"login":"dkuleshov","id":1632360,"avatar_url":"https://avatars0.githubusercontent.com/u/1632360?v=4","gravatar_id":"","url":"https://api.github.com/users/dkuleshov","html_url":"https://github.com/dkuleshov","followers_url":"https://api.github.com/users/dkuleshov/followers","following_url":"https://api.github.com/users/dkuleshov/following{/other_user}","gists_url":"https://api.github.com/users/dkuleshov/gists{/gist_id}","starred_url":"https://api.github.com/users/dkuleshov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkuleshov/subscriptions","organizations_url":"https://api.github.com/users/dkuleshov/orgs","repos_url":"https://api.github.com/users/dkuleshov/repos","events_url":"https://api.github.com/users/dkuleshov/events{/privacy}","received_events_url":"https://api.github.com/users/dkuleshov/received_events","type":"User","site_admin":false},{"login":"azatsarynnyy","id":1636395,"avatar_url":"https://avatars3.githubusercontent.com/u/1636395?v=4","gravatar_id":"","url":"https://api.github.com/users/azatsarynnyy","html_url":"https://github.com/azatsarynnyy","followers_url":"https://api.github.com/users/azatsarynnyy/followers","following_url":"https://api.github.com/users/azatsarynnyy/following{/other_user}","gists_url":"https://api.github.com/users/azatsarynnyy/gists{/gist_id}","starred_url":"https://api.github.com/users/azatsarynnyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azatsarynnyy/subscriptions","organizations_url":"https://api.github.com/users/azatsarynnyy/orgs","repos_url":"https://api.github.com/users/azatsarynnyy/repos","events_url":"https://api.github.com/users/azatsarynnyy/events{/privacy}","received_events_url":"https://api.github.com/users/azatsarynnyy/received_events","type":"User","site_admin":false},{"login":"tolusha","id":1640675,"avatar_url":"https://avatars2.githubusercontent.com/u/1640675?v=4","gravatar_id":"","url":"https://api.github.com/users/tolusha","html_url":"https://github.com/tolusha","followers_url":"https://api.github.com/users/tolusha/followers","following_url":"https://api.github.com/users/tolusha/following{/other_user}","gists_url":"https://api.github.com/users/tolusha/gists{/gist_id}","starred_url":"https://api.github.com/users/tolusha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tolusha/subscriptions","organizations_url":"https://api.github.com/users/tolusha/orgs","repos_url":"https://api.github.com/users/tolusha/repos","events_url":"https://api.github.com/users/tolusha/events{/privacy}","received_events_url":"https://api.github.com/users/tolusha/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/che/pulls/5874/commits","review_comments_url":"https://api.github.com/repos/eclipse/che/pulls/5874/comments","review_comment_url":"https://api.github.com/repos/eclipse/che/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/che/issues/5874/comments","statuses_url":"https://api.github.com/repos/eclipse/che/statuses/254f6ab1d0af45c1bf1bcd73a5b541055c018a72","head":{"label":"eclipse:searchwithpossitions","ref":"searchwithpossitions","sha":"254f6ab1d0af45c1bf1bcd73a5b541055c018a72","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","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":32935745,"name":"che","full_name":"eclipse/che","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","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/che","description":"Eclipse Che: Next-generation Eclipse IDE.  Open source workspace server and cloud IDE.","fork":false,"url":"https://api.github.com/repos/eclipse/che","forks_url":"https://api.github.com/repos/eclipse/che/forks","keys_url":"https://api.github.com/repos/eclipse/che/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/che/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/che/teams","hooks_url":"https://api.github.com/repos/eclipse/che/hooks","issue_events_url":"https://api.github.com/repos/eclipse/che/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/che/events","assignees_url":"https://api.github.com/repos/eclipse/che/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/che/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/che/tags","blobs_url":"https://api.github.com/repos/eclipse/che/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/che/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/che/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/che/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/che/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/che/languages","stargazers_url":"https://api.github.com/repos/eclipse/che/stargazers","contributors_url":"https://api.github.com/repos/eclipse/che/contributors","subscribers_url":"https://api.github.com/repos/eclipse/che/subscribers","subscription_url":"https://api.github.com/repos/eclipse/che/subscription","commits_url":"https://api.github.com/repos/eclipse/che/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/che/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/che/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/che/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/che/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/che/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/che/merges","archive_url":"https://api.github.com/repos/eclipse/che/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/che/downloads","issues_url":"https://api.github.com/repos/eclipse/che/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/che/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/che/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/che/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/che/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/che/releases{/id}","deployments_url":"https://api.github.com/repos/eclipse/che/deployments","created_at":"2015-03-26T15:31:01Z","updated_at":"2017-08-02T03:10:37Z","pushed_at":"2017-08-02T10:43:50Z","git_url":"git://github.com/eclipse/che.git","ssh_url":"git@github.com:eclipse/che.git","clone_url":"https://github.com/eclipse/che.git","svn_url":"https://github.com/eclipse/che","homepage":"http://eclipse.org/che","size":58298,"stargazers_count":4249,"watchers_count":4249,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":721,"mirror_url":null,"open_issues_count":440,"forks":721,"open_issues":440,"watchers":4249,"default_branch":"master"}},"base":{"label":"eclipse:master","ref":"master","sha":"5366375ca3092c79690b6ef91ff86362aed474dc","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","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":32935745,"name":"che","full_name":"eclipse/che","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","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/che","description":"Eclipse Che: Next-generation Eclipse IDE.  Open source workspace server and cloud IDE.","fork":false,"url":"https://api.github.com/repos/eclipse/che","forks_url":"https://api.github.com/repos/eclipse/che/forks","keys_url":"https://api.github.com/repos/eclipse/che/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/che/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/che/teams","hooks_url":"https://api.github.com/repos/eclipse/che/hooks","issue_events_url":"https://api.github.com/repos/eclipse/che/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/che/events","assignees_url":"https://api.github.com/repos/eclipse/che/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/che/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/che/tags","blobs_url":"https://api.github.com/repos/eclipse/che/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/che/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/che/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/che/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/che/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/che/languages","stargazers_url":"https://api.github.com/repos/eclipse/che/stargazers","contributors_url":"https://api.github.com/repos/eclipse/che/contributors","subscribers_url":"https://api.github.com/repos/eclipse/che/subscribers","subscription_url":"https://api.github.com/repos/eclipse/che/subscription","commits_url":"https://api.github.com/repos/eclipse/che/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/che/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/che/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/che/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/che/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/che/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/che/merges","archive_url":"https://api.github.com/repos/eclipse/che/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/che/downloads","issues_url":"https://api.github.com/repos/eclipse/che/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/che/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/che/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/che/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/che/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/che/releases{/id}","deployments_url":"https://api.github.com/repos/eclipse/che/deployments","created_at":"2015-03-26T15:31:01Z","updated_at":"2017-08-02T03:10:37Z","pushed_at":"2017-08-02T10:43:50Z","git_url":"git://github.com/eclipse/che.git","ssh_url":"git@github.com:eclipse/che.git","clone_url":"https://github.com/eclipse/che.git","svn_url":"https://github.com/eclipse/che","homepage":"http://eclipse.org/che","size":58298,"stargazers_count":4249,"watchers_count":4249,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":721,"mirror_url":null,"open_issues_count":440,"forks":721,"open_issues":440,"watchers":4249,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/che/pulls/5874"},"html":{"href":"https://github.com/eclipse/che/pull/5874"},"issue":{"href":"https://api.github.com/repos/eclipse/che/issues/5874"},"comments":{"href":"https://api.github.com/repos/eclipse/che/issues/5874/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/che/pulls/5874/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/che/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/che/pulls/5874/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/che/statuses/254f6ab1d0af45c1bf1bcd73a5b541055c018a72"}}}}
{"actor":{"display_login":"RomanNikitenko"}}