{"action":"created","comment":{"url":"https://api.github.com/repos/fusesource/fuseide/pulls/comments/91713332","pull_request_review_id":12221982,"id":91713332,"diff_hunk":"@@ -318,6 +325,8 @@ protected void languageChanged(String language, Composite eform, AbstractCamelMo\n \t\tif (prop.getName().equalsIgnoreCase(\"expression\")) {\n \t\t\t// normal expression subnode - no cascading -> when.<expression>\n \t\t\t// the content of expressionElement is the language node itself\n+\t\t\tLanguageModel model = getCamelModel(expressionElement).getLanguageModel();\n+\t\t\tLanguage lang = model.getLanguageByName(language);","path":"editor/plugins/org.fusesource.ide.camel.editor/src/org/fusesource/ide/camel/editor/properties/FusePropertySection.java","position":35,"original_position":35,"commit_id":"c65570d9903f46f3237f8c71d106759f8b34b245","original_commit_id":"c65570d9903f46f3237f8c71d106759f8b34b245","user":{"login":"lhein","id":435853,"avatar_url":"https://avatars.githubusercontent.com/u/435853?v=3","gravatar_id":"","url":"https://api.github.com/users/lhein","html_url":"https://github.com/lhein","followers_url":"https://api.github.com/users/lhein/followers","following_url":"https://api.github.com/users/lhein/following{/other_user}","gists_url":"https://api.github.com/users/lhein/gists{/gist_id}","starred_url":"https://api.github.com/users/lhein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhein/subscriptions","organizations_url":"https://api.github.com/users/lhein/orgs","repos_url":"https://api.github.com/users/lhein/repos","events_url":"https://api.github.com/users/lhein/events{/privacy}","received_events_url":"https://api.github.com/users/lhein/received_events","type":"User","site_admin":false},"body":"We should move this definition outside the if clauses so it can be accessed in the whole method. No need to create these variables in both if and else branches.","created_at":"2016-12-09T13:14:01Z","updated_at":"2016-12-09T13:16:56Z","html_url":"https://github.com/fusesource/fuseide/pull/785#discussion_r91713332","pull_request_url":"https://api.github.com/repos/fusesource/fuseide/pulls/785","_links":{"self":{"href":"https://api.github.com/repos/fusesource/fuseide/pulls/comments/91713332"},"html":{"href":"https://github.com/fusesource/fuseide/pull/785#discussion_r91713332"},"pull_request":{"href":"https://api.github.com/repos/fusesource/fuseide/pulls/785"}}},"pull_request":{"url":"https://api.github.com/repos/fusesource/fuseide/pulls/785","id":96992542,"html_url":"https://github.com/fusesource/fuseide/pull/785","diff_url":"https://github.com/fusesource/fuseide/pull/785.diff","patch_url":"https://github.com/fusesource/fuseide/pull/785.patch","issue_url":"https://api.github.com/repos/fusesource/fuseide/issues/785","number":785,"state":"open","locked":false,"title":"FUSETOOLS-2186 - add dep for dataformat","user":{"login":"bfitzpat","id":530878,"avatar_url":"https://avatars.githubusercontent.com/u/530878?v=3","gravatar_id":"","url":"https://api.github.com/users/bfitzpat","html_url":"https://github.com/bfitzpat","followers_url":"https://api.github.com/users/bfitzpat/followers","following_url":"https://api.github.com/users/bfitzpat/following{/other_user}","gists_url":"https://api.github.com/users/bfitzpat/gists{/gist_id}","starred_url":"https://api.github.com/users/bfitzpat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfitzpat/subscriptions","organizations_url":"https://api.github.com/users/bfitzpat/orgs","repos_url":"https://api.github.com/users/bfitzpat/repos","events_url":"https://api.github.com/users/bfitzpat/events{/privacy}","received_events_url":"https://api.github.com/users/bfitzpat/received_events","type":"User","site_admin":false},"body":"-- initial cut to see if I'm on the right track\r\n-- need to determine how to remove a dependency when a DF is removed\r\n-- also need to figure out how to test in the NewDataFormatWizardIT,\r\nwhich seems to add the data format in a different manner than the\r\nperformFinish of the NewDataFormatWizard","created_at":"2016-12-07T19:40:12Z","updated_at":"2016-12-09T13:16:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07e5c90b6168571c8630529834e22af7b354b23d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fusesource/fuseide/pulls/785/commits","review_comments_url":"https://api.github.com/repos/fusesource/fuseide/pulls/785/comments","review_comment_url":"https://api.github.com/repos/fusesource/fuseide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fusesource/fuseide/issues/785/comments","statuses_url":"https://api.github.com/repos/fusesource/fuseide/statuses/c65570d9903f46f3237f8c71d106759f8b34b245","head":{"label":"bfitzpat:FUSETOOLS-2186","ref":"FUSETOOLS-2186","sha":"c65570d9903f46f3237f8c71d106759f8b34b245","user":{"login":"bfitzpat","id":530878,"avatar_url":"https://avatars.githubusercontent.com/u/530878?v=3","gravatar_id":"","url":"https://api.github.com/users/bfitzpat","html_url":"https://github.com/bfitzpat","followers_url":"https://api.github.com/users/bfitzpat/followers","following_url":"https://api.github.com/users/bfitzpat/following{/other_user}","gists_url":"https://api.github.com/users/bfitzpat/gists{/gist_id}","starred_url":"https://api.github.com/users/bfitzpat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfitzpat/subscriptions","organizations_url":"https://api.github.com/users/bfitzpat/orgs","repos_url":"https://api.github.com/users/bfitzpat/repos","events_url":"https://api.github.com/users/bfitzpat/events{/privacy}","received_events_url":"https://api.github.com/users/bfitzpat/received_events","type":"User","site_admin":false},"repo":{"id":43711216,"name":"fuseide","full_name":"bfitzpat/fuseide","owner":{"login":"bfitzpat","id":530878,"avatar_url":"https://avatars.githubusercontent.com/u/530878?v=3","gravatar_id":"","url":"https://api.github.com/users/bfitzpat","html_url":"https://github.com/bfitzpat","followers_url":"https://api.github.com/users/bfitzpat/followers","following_url":"https://api.github.com/users/bfitzpat/following{/other_user}","gists_url":"https://api.github.com/users/bfitzpat/gists{/gist_id}","starred_url":"https://api.github.com/users/bfitzpat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfitzpat/subscriptions","organizations_url":"https://api.github.com/users/bfitzpat/orgs","repos_url":"https://api.github.com/users/bfitzpat/repos","events_url":"https://api.github.com/users/bfitzpat/events{/privacy}","received_events_url":"https://api.github.com/users/bfitzpat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bfitzpat/fuseide","description":"Fuse IDE ","fork":true,"url":"https://api.github.com/repos/bfitzpat/fuseide","forks_url":"https://api.github.com/repos/bfitzpat/fuseide/forks","keys_url":"https://api.github.com/repos/bfitzpat/fuseide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bfitzpat/fuseide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bfitzpat/fuseide/teams","hooks_url":"https://api.github.com/repos/bfitzpat/fuseide/hooks","issue_events_url":"https://api.github.com/repos/bfitzpat/fuseide/issues/events{/number}","events_url":"https://api.github.com/repos/bfitzpat/fuseide/events","assignees_url":"https://api.github.com/repos/bfitzpat/fuseide/assignees{/user}","branches_url":"https://api.github.com/repos/bfitzpat/fuseide/branches{/branch}","tags_url":"https://api.github.com/repos/bfitzpat/fuseide/tags","blobs_url":"https://api.github.com/repos/bfitzpat/fuseide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bfitzpat/fuseide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bfitzpat/fuseide/git/refs{/sha}","trees_url":"https://api.github.com/repos/bfitzpat/fuseide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bfitzpat/fuseide/statuses/{sha}","languages_url":"https://api.github.com/repos/bfitzpat/fuseide/languages","stargazers_url":"https://api.github.com/repos/bfitzpat/fuseide/stargazers","contributors_url":"https://api.github.com/repos/bfitzpat/fuseide/contributors","subscribers_url":"https://api.github.com/repos/bfitzpat/fuseide/subscribers","subscription_url":"https://api.github.com/repos/bfitzpat/fuseide/subscription","commits_url":"https://api.github.com/repos/bfitzpat/fuseide/commits{/sha}","git_commits_url":"https://api.github.com/repos/bfitzpat/fuseide/git/commits{/sha}","comments_url":"https://api.github.com/repos/bfitzpat/fuseide/comments{/number}","issue_comment_url":"https://api.github.com/repos/bfitzpat/fuseide/issues/comments{/number}","contents_url":"https://api.github.com/repos/bfitzpat/fuseide/contents/{+path}","compare_url":"https://api.github.com/repos/bfitzpat/fuseide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bfitzpat/fuseide/merges","archive_url":"https://api.github.com/repos/bfitzpat/fuseide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bfitzpat/fuseide/downloads","issues_url":"https://api.github.com/repos/bfitzpat/fuseide/issues{/number}","pulls_url":"https://api.github.com/repos/bfitzpat/fuseide/pulls{/number}","milestones_url":"https://api.github.com/repos/bfitzpat/fuseide/milestones{/number}","notifications_url":"https://api.github.com/repos/bfitzpat/fuseide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bfitzpat/fuseide/labels{/name}","releases_url":"https://api.github.com/repos/bfitzpat/fuseide/releases{/id}","deployments_url":"https://api.github.com/repos/bfitzpat/fuseide/deployments","created_at":"2015-10-05T20:15:26Z","updated_at":"2016-01-15T15:41:38Z","pushed_at":"2016-12-08T20:05:28Z","git_url":"git://github.com/bfitzpat/fuseide.git","ssh_url":"git@github.com:bfitzpat/fuseide.git","clone_url":"https://github.com/bfitzpat/fuseide.git","svn_url":"https://github.com/bfitzpat/fuseide","homepage":null,"size":166499,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"fusesource:master","ref":"master","sha":"ab73a5425658b240b56c516b442fc9370a78e6da","user":{"login":"fusesource","id":309484,"avatar_url":"https://avatars.githubusercontent.com/u/309484?v=3","gravatar_id":"","url":"https://api.github.com/users/fusesource","html_url":"https://github.com/fusesource","followers_url":"https://api.github.com/users/fusesource/followers","following_url":"https://api.github.com/users/fusesource/following{/other_user}","gists_url":"https://api.github.com/users/fusesource/gists{/gist_id}","starred_url":"https://api.github.com/users/fusesource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusesource/subscriptions","organizations_url":"https://api.github.com/users/fusesource/orgs","repos_url":"https://api.github.com/users/fusesource/repos","events_url":"https://api.github.com/users/fusesource/events{/privacy}","received_events_url":"https://api.github.com/users/fusesource/received_events","type":"Organization","site_admin":false},"repo":{"id":6250543,"name":"fuseide","full_name":"fusesource/fuseide","owner":{"login":"fusesource","id":309484,"avatar_url":"https://avatars.githubusercontent.com/u/309484?v=3","gravatar_id":"","url":"https://api.github.com/users/fusesource","html_url":"https://github.com/fusesource","followers_url":"https://api.github.com/users/fusesource/followers","following_url":"https://api.github.com/users/fusesource/following{/other_user}","gists_url":"https://api.github.com/users/fusesource/gists{/gist_id}","starred_url":"https://api.github.com/users/fusesource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusesource/subscriptions","organizations_url":"https://api.github.com/users/fusesource/orgs","repos_url":"https://api.github.com/users/fusesource/repos","events_url":"https://api.github.com/users/fusesource/events{/privacy}","received_events_url":"https://api.github.com/users/fusesource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fusesource/fuseide","description":"JBoss Fuse Tooling for Apache Camel","fork":false,"url":"https://api.github.com/repos/fusesource/fuseide","forks_url":"https://api.github.com/repos/fusesource/fuseide/forks","keys_url":"https://api.github.com/repos/fusesource/fuseide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fusesource/fuseide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fusesource/fuseide/teams","hooks_url":"https://api.github.com/repos/fusesource/fuseide/hooks","issue_events_url":"https://api.github.com/repos/fusesource/fuseide/issues/events{/number}","events_url":"https://api.github.com/repos/fusesource/fuseide/events","assignees_url":"https://api.github.com/repos/fusesource/fuseide/assignees{/user}","branches_url":"https://api.github.com/repos/fusesource/fuseide/branches{/branch}","tags_url":"https://api.github.com/repos/fusesource/fuseide/tags","blobs_url":"https://api.github.com/repos/fusesource/fuseide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fusesource/fuseide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fusesource/fuseide/git/refs{/sha}","trees_url":"https://api.github.com/repos/fusesource/fuseide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fusesource/fuseide/statuses/{sha}","languages_url":"https://api.github.com/repos/fusesource/fuseide/languages","stargazers_url":"https://api.github.com/repos/fusesource/fuseide/stargazers","contributors_url":"https://api.github.com/repos/fusesource/fuseide/contributors","subscribers_url":"https://api.github.com/repos/fusesource/fuseide/subscribers","subscription_url":"https://api.github.com/repos/fusesource/fuseide/subscription","commits_url":"https://api.github.com/repos/fusesource/fuseide/commits{/sha}","git_commits_url":"https://api.github.com/repos/fusesource/fuseide/git/commits{/sha}","comments_url":"https://api.github.com/repos/fusesource/fuseide/comments{/number}","issue_comment_url":"https://api.github.com/repos/fusesource/fuseide/issues/comments{/number}","contents_url":"https://api.github.com/repos/fusesource/fuseide/contents/{+path}","compare_url":"https://api.github.com/repos/fusesource/fuseide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fusesource/fuseide/merges","archive_url":"https://api.github.com/repos/fusesource/fuseide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fusesource/fuseide/downloads","issues_url":"https://api.github.com/repos/fusesource/fuseide/issues{/number}","pulls_url":"https://api.github.com/repos/fusesource/fuseide/pulls{/number}","milestones_url":"https://api.github.com/repos/fusesource/fuseide/milestones{/number}","notifications_url":"https://api.github.com/repos/fusesource/fuseide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fusesource/fuseide/labels{/name}","releases_url":"https://api.github.com/repos/fusesource/fuseide/releases{/id}","deployments_url":"https://api.github.com/repos/fusesource/fuseide/deployments","created_at":"2012-10-16T19:45:49Z","updated_at":"2016-10-25T05:13:16Z","pushed_at":"2016-12-09T13:14:48Z","git_url":"git://github.com/fusesource/fuseide.git","ssh_url":"git@github.com:fusesource/fuseide.git","clone_url":"https://github.com/fusesource/fuseide.git","svn_url":"https://github.com/fusesource/fuseide","homepage":"http://tools.jboss.org/features/apachecamel.html","size":171038,"stargazers_count":56,"watchers_count":56,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":76,"mirror_url":null,"open_issues_count":9,"forks":76,"open_issues":9,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fusesource/fuseide/pulls/785"},"html":{"href":"https://github.com/fusesource/fuseide/pull/785"},"issue":{"href":"https://api.github.com/repos/fusesource/fuseide/issues/785"},"comments":{"href":"https://api.github.com/repos/fusesource/fuseide/issues/785/comments"},"review_comments":{"href":"https://api.github.com/repos/fusesource/fuseide/pulls/785/comments"},"review_comment":{"href":"https://api.github.com/repos/fusesource/fuseide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fusesource/fuseide/pulls/785/commits"},"statuses":{"href":"https://api.github.com/repos/fusesource/fuseide/statuses/c65570d9903f46f3237f8c71d106759f8b34b245"}}}}
{"actor":{"display_login":"lhein"}}