{"action":"created","comment":{"url":"https://api.github.com/repos/codenvy/che-plugins/pulls/comments/41338849","id":41338849,"diff_hunk":"@@ -196,10 +196,12 @@ private void validateCoordinates() {\n     private String getAttribute(String attrId) {\n         Map<String, List<String>> attributes = dataObject.getProject().getAttributes();\n         List<String> values = attributes.get(attrId);\n-        if (!(values == null || values.isEmpty())) {\n-            return values.get(0);\n+        if (values == null || values.isEmpty()) {\n+            return \"\";\n         }\n-        return \"\";\n+\n+        String value = values.get(0);\n+        return value != null ? value : \"\";","path":"plugin-sdk/che-plugin-sdk-ext-plugins/src/main/java/org/eclipse/che/ide/ext/tutorials/client/wizard/ExtensionPagePresenter.java","position":12,"original_position":12,"commit_id":"929ce19ec1390036f21d6450f8f3e3ee5453fdf1","original_commit_id":"929ce19ec1390036f21d6450f8f3e3ee5453fdf1","user":{"login":"evoevodin","id":4053805,"avatar_url":"https://avatars.githubusercontent.com/u/4053805?v=3","gravatar_id":"","url":"https://api.github.com/users/evoevodin","html_url":"https://github.com/evoevodin","followers_url":"https://api.github.com/users/evoevodin/followers","following_url":"https://api.github.com/users/evoevodin/following{/other_user}","gists_url":"https://api.github.com/users/evoevodin/gists{/gist_id}","starred_url":"https://api.github.com/users/evoevodin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evoevodin/subscriptions","organizations_url":"https://api.github.com/users/evoevodin/orgs","repos_url":"https://api.github.com/users/evoevodin/repos","events_url":"https://api.github.com/users/evoevodin/events{/privacy}","received_events_url":"https://api.github.com/users/evoevodin/received_events","type":"User","site_admin":false},"body":"the same [comment](https://github.com/codenvy/che-plugins/pull/303/files#r41338746)","created_at":"2015-10-07T00:09:02Z","updated_at":"2015-10-07T00:09:02Z","html_url":"https://github.com/codenvy/che-plugins/pull/303#discussion_r41338849","pull_request_url":"https://api.github.com/repos/codenvy/che-plugins/pulls/303","_links":{"self":{"href":"https://api.github.com/repos/codenvy/che-plugins/pulls/comments/41338849"},"html":{"href":"https://github.com/codenvy/che-plugins/pull/303#discussion_r41338849"},"pull_request":{"href":"https://api.github.com/repos/codenvy/che-plugins/pulls/303"}}},"pull_request":{"url":"https://api.github.com/repos/codenvy/che-plugins/pulls/303","id":46921677,"html_url":"https://github.com/codenvy/che-plugins/pull/303","diff_url":"https://github.com/codenvy/che-plugins/pull/303.diff","patch_url":"https://github.com/codenvy/che-plugins/pull/303.patch","issue_url":"https://api.github.com/repos/codenvy/che-plugins/issues/303","number":303,"state":"open","locked":false,"title":"IDEX-3138. Simplify choices for Che project creation wizard","user":{"login":"RomanNikitenko","id":5676062,"avatar_url":"https://avatars.githubusercontent.com/u/5676062?v=3","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":"Remove TutorialProjectType.\r\nAdd tooltip for artifact ID and group ID.\r\nFix NPE in project wizard.\r\n","created_at":"2015-10-06T15:55:34Z","updated_at":"2015-10-07T00:09:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29b2464fda519e6acfa11f1d1d09334ecaa32c36","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codenvy/che-plugins/pulls/303/commits","review_comments_url":"https://api.github.com/repos/codenvy/che-plugins/pulls/303/comments","review_comment_url":"https://api.github.com/repos/codenvy/che-plugins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codenvy/che-plugins/issues/303/comments","statuses_url":"https://api.github.com/repos/codenvy/che-plugins/statuses/929ce19ec1390036f21d6450f8f3e3ee5453fdf1","head":{"label":"codenvy:IDEX-3138","ref":"IDEX-3138","sha":"929ce19ec1390036f21d6450f8f3e3ee5453fdf1","user":{"login":"codenvy","id":2736247,"avatar_url":"https://avatars.githubusercontent.com/u/2736247?v=3","gravatar_id":"","url":"https://api.github.com/users/codenvy","html_url":"https://github.com/codenvy","followers_url":"https://api.github.com/users/codenvy/followers","following_url":"https://api.github.com/users/codenvy/following{/other_user}","gists_url":"https://api.github.com/users/codenvy/gists{/gist_id}","starred_url":"https://api.github.com/users/codenvy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenvy/subscriptions","organizations_url":"https://api.github.com/users/codenvy/orgs","repos_url":"https://api.github.com/users/codenvy/repos","events_url":"https://api.github.com/users/codenvy/events{/privacy}","received_events_url":"https://api.github.com/users/codenvy/received_events","type":"Organization","site_admin":false},"repo":{"id":32935729,"name":"che-plugins","full_name":"codenvy/che-plugins","owner":{"login":"codenvy","id":2736247,"avatar_url":"https://avatars.githubusercontent.com/u/2736247?v=3","gravatar_id":"","url":"https://api.github.com/users/codenvy","html_url":"https://github.com/codenvy","followers_url":"https://api.github.com/users/codenvy/followers","following_url":"https://api.github.com/users/codenvy/following{/other_user}","gists_url":"https://api.github.com/users/codenvy/gists{/gist_id}","starred_url":"https://api.github.com/users/codenvy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenvy/subscriptions","organizations_url":"https://api.github.com/users/codenvy/orgs","repos_url":"https://api.github.com/users/codenvy/repos","events_url":"https://api.github.com/users/codenvy/events{/privacy}","received_events_url":"https://api.github.com/users/codenvy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codenvy/che-plugins","description":"Plugins for che","fork":false,"url":"https://api.github.com/repos/codenvy/che-plugins","forks_url":"https://api.github.com/repos/codenvy/che-plugins/forks","keys_url":"https://api.github.com/repos/codenvy/che-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codenvy/che-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codenvy/che-plugins/teams","hooks_url":"https://api.github.com/repos/codenvy/che-plugins/hooks","issue_events_url":"https://api.github.com/repos/codenvy/che-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/codenvy/che-plugins/events","assignees_url":"https://api.github.com/repos/codenvy/che-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/codenvy/che-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/codenvy/che-plugins/tags","blobs_url":"https://api.github.com/repos/codenvy/che-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codenvy/che-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codenvy/che-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/codenvy/che-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codenvy/che-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/codenvy/che-plugins/languages","stargazers_url":"https://api.github.com/repos/codenvy/che-plugins/stargazers","contributors_url":"https://api.github.com/repos/codenvy/che-plugins/contributors","subscribers_url":"https://api.github.com/repos/codenvy/che-plugins/subscribers","subscription_url":"https://api.github.com/repos/codenvy/che-plugins/subscription","commits_url":"https://api.github.com/repos/codenvy/che-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/codenvy/che-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/codenvy/che-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/codenvy/che-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/codenvy/che-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/codenvy/che-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codenvy/che-plugins/merges","archive_url":"https://api.github.com/repos/codenvy/che-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codenvy/che-plugins/downloads","issues_url":"https://api.github.com/repos/codenvy/che-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/codenvy/che-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/codenvy/che-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/codenvy/che-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codenvy/che-plugins/labels{/name}","releases_url":"https://api.github.com/repos/codenvy/che-plugins/releases{/id}","created_at":"2015-03-26T15:30:37Z","updated_at":"2015-10-03T02:47:59Z","pushed_at":"2015-10-06T15:55:35Z","git_url":"git://github.com/codenvy/che-plugins.git","ssh_url":"git@github.com:codenvy/che-plugins.git","clone_url":"https://github.com/codenvy/che-plugins.git","svn_url":"https://github.com/codenvy/che-plugins","homepage":null,"size":26445,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":4,"forks":15,"open_issues":4,"watchers":7,"default_branch":"master"}},"base":{"label":"codenvy:master","ref":"master","sha":"d725b43605aeeaee24d71e92ff02fe4b5a97e9f5","user":{"login":"codenvy","id":2736247,"avatar_url":"https://avatars.githubusercontent.com/u/2736247?v=3","gravatar_id":"","url":"https://api.github.com/users/codenvy","html_url":"https://github.com/codenvy","followers_url":"https://api.github.com/users/codenvy/followers","following_url":"https://api.github.com/users/codenvy/following{/other_user}","gists_url":"https://api.github.com/users/codenvy/gists{/gist_id}","starred_url":"https://api.github.com/users/codenvy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenvy/subscriptions","organizations_url":"https://api.github.com/users/codenvy/orgs","repos_url":"https://api.github.com/users/codenvy/repos","events_url":"https://api.github.com/users/codenvy/events{/privacy}","received_events_url":"https://api.github.com/users/codenvy/received_events","type":"Organization","site_admin":false},"repo":{"id":32935729,"name":"che-plugins","full_name":"codenvy/che-plugins","owner":{"login":"codenvy","id":2736247,"avatar_url":"https://avatars.githubusercontent.com/u/2736247?v=3","gravatar_id":"","url":"https://api.github.com/users/codenvy","html_url":"https://github.com/codenvy","followers_url":"https://api.github.com/users/codenvy/followers","following_url":"https://api.github.com/users/codenvy/following{/other_user}","gists_url":"https://api.github.com/users/codenvy/gists{/gist_id}","starred_url":"https://api.github.com/users/codenvy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenvy/subscriptions","organizations_url":"https://api.github.com/users/codenvy/orgs","repos_url":"https://api.github.com/users/codenvy/repos","events_url":"https://api.github.com/users/codenvy/events{/privacy}","received_events_url":"https://api.github.com/users/codenvy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codenvy/che-plugins","description":"Plugins for che","fork":false,"url":"https://api.github.com/repos/codenvy/che-plugins","forks_url":"https://api.github.com/repos/codenvy/che-plugins/forks","keys_url":"https://api.github.com/repos/codenvy/che-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codenvy/che-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codenvy/che-plugins/teams","hooks_url":"https://api.github.com/repos/codenvy/che-plugins/hooks","issue_events_url":"https://api.github.com/repos/codenvy/che-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/codenvy/che-plugins/events","assignees_url":"https://api.github.com/repos/codenvy/che-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/codenvy/che-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/codenvy/che-plugins/tags","blobs_url":"https://api.github.com/repos/codenvy/che-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codenvy/che-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codenvy/che-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/codenvy/che-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codenvy/che-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/codenvy/che-plugins/languages","stargazers_url":"https://api.github.com/repos/codenvy/che-plugins/stargazers","contributors_url":"https://api.github.com/repos/codenvy/che-plugins/contributors","subscribers_url":"https://api.github.com/repos/codenvy/che-plugins/subscribers","subscription_url":"https://api.github.com/repos/codenvy/che-plugins/subscription","commits_url":"https://api.github.com/repos/codenvy/che-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/codenvy/che-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/codenvy/che-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/codenvy/che-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/codenvy/che-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/codenvy/che-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codenvy/che-plugins/merges","archive_url":"https://api.github.com/repos/codenvy/che-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codenvy/che-plugins/downloads","issues_url":"https://api.github.com/repos/codenvy/che-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/codenvy/che-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/codenvy/che-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/codenvy/che-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codenvy/che-plugins/labels{/name}","releases_url":"https://api.github.com/repos/codenvy/che-plugins/releases{/id}","created_at":"2015-03-26T15:30:37Z","updated_at":"2015-10-03T02:47:59Z","pushed_at":"2015-10-06T15:55:35Z","git_url":"git://github.com/codenvy/che-plugins.git","ssh_url":"git@github.com:codenvy/che-plugins.git","clone_url":"https://github.com/codenvy/che-plugins.git","svn_url":"https://github.com/codenvy/che-plugins","homepage":null,"size":26445,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":4,"forks":15,"open_issues":4,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codenvy/che-plugins/pulls/303"},"html":{"href":"https://github.com/codenvy/che-plugins/pull/303"},"issue":{"href":"https://api.github.com/repos/codenvy/che-plugins/issues/303"},"comments":{"href":"https://api.github.com/repos/codenvy/che-plugins/issues/303/comments"},"review_comments":{"href":"https://api.github.com/repos/codenvy/che-plugins/pulls/303/comments"},"review_comment":{"href":"https://api.github.com/repos/codenvy/che-plugins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codenvy/che-plugins/pulls/303/commits"},"statuses":{"href":"https://api.github.com/repos/codenvy/che-plugins/statuses/929ce19ec1390036f21d6450f8f3e3ee5453fdf1"}}}}