{"action":"created","comment":{"url":"https://api.github.com/repos/fusesource/fuseide/pulls/comments/66799022","id":66799022,"diff_hunk":"@@ -10,39 +10,32 @@\n package org.jboss.tools.fuse.transformation.editor.internal.util;\n \n import java.io.File;\n-\n import org.eclipse.core.runtime.NullProgressMonitor;\n import org.fusesource.ide.camel.model.service.core.io.CamelIOHandler;\n import org.fusesource.ide.camel.model.service.core.model.CamelFile;\n import org.jboss.tools.fuse.transformation.core.camel.CamelConfigBuilder;\n \n public final class CamelConfigurationHelper {\n \n-    private CamelFile camelModel;\n-    private CamelConfigBuilder configBuilder;\n-    private CamelIOHandler handler;\n-    \n-    private CamelConfigurationHelper(CamelFile camelModel, CamelIOHandler handler) {\n-    \tthis.camelModel = camelModel;\n-    \tthis.handler = handler;\n+    public static CamelConfigurationHelper load(File contextFile) {","path":"transformation/plugins/org.jboss.tools.fuse.transformation.editor/src/main/java/org/jboss/tools/fuse/transformation/editor/internal/util/CamelConfigurationHelper.java","position":19,"original_position":19,"commit_id":"48567f6819f7e06ca5bac76fe5ba6920308668e7","original_commit_id":"48567f6819f7e06ca5bac76fe5ba6920308668e7","user":{"login":"apupier","id":1105127,"avatar_url":"https://avatars.githubusercontent.com/u/1105127?v=3","gravatar_id":"","url":"https://api.github.com/users/apupier","html_url":"https://github.com/apupier","followers_url":"https://api.github.com/users/apupier/followers","following_url":"https://api.github.com/users/apupier/following{/other_user}","gists_url":"https://api.github.com/users/apupier/gists{/gist_id}","starred_url":"https://api.github.com/users/apupier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apupier/subscriptions","organizations_url":"https://api.github.com/users/apupier/orgs","repos_url":"https://api.github.com/users/apupier/repos","events_url":"https://api.github.com/users/apupier/events{/privacy}","received_events_url":"https://api.github.com/users/apupier/received_events","type":"User","site_admin":false},"body":"I used to avoid to mix static and non-static so not sure.\r\nSonarLint reporting it as a (little) issue but it might be a bad convention that they are pushing.\r\n","created_at":"2016-06-13T14:18:21Z","updated_at":"2016-06-13T14:18:21Z","html_url":"https://github.com/fusesource/fuseide/pull/537#discussion_r66799022","pull_request_url":"https://api.github.com/repos/fusesource/fuseide/pulls/537","_links":{"self":{"href":"https://api.github.com/repos/fusesource/fuseide/pulls/comments/66799022"},"html":{"href":"https://github.com/fusesource/fuseide/pull/537#discussion_r66799022"},"pull_request":{"href":"https://api.github.com/repos/fusesource/fuseide/pulls/537"}}},"pull_request":{"url":"https://api.github.com/repos/fusesource/fuseide/pulls/537","id":73508156,"html_url":"https://github.com/fusesource/fuseide/pull/537","diff_url":"https://github.com/fusesource/fuseide/pull/537.diff","patch_url":"https://github.com/fusesource/fuseide/pull/537.patch","issue_url":"https://api.github.com/repos/fusesource/fuseide/issues/537","number":537,"state":"open","locked":false,"title":"FUSETOOLS-1665: Remove the new transformation wizard entry from File -> New menu","user":{"login":"jpav","id":437085,"avatar_url":"https://avatars.githubusercontent.com/u/437085?v=3","gravatar_id":"","url":"https://api.github.com/users/jpav","html_url":"https://github.com/jpav","followers_url":"https://api.github.com/users/jpav/followers","following_url":"https://api.github.com/users/jpav/following{/other_user}","gists_url":"https://api.github.com/users/jpav/gists{/gist_id}","starred_url":"https://api.github.com/users/jpav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpav/subscriptions","organizations_url":"https://api.github.com/users/jpav/orgs","repos_url":"https://api.github.com/users/jpav/repos","events_url":"https://api.github.com/users/jpav/events{/privacy}","received_events_url":"https://api.github.com/users/jpav/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-12T21:43:24Z","updated_at":"2016-06-13T14:18:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d860980a8181579973ed81ac9392a40a11c500a1","assignee":{"login":"apupier","id":1105127,"avatar_url":"https://avatars.githubusercontent.com/u/1105127?v=3","gravatar_id":"","url":"https://api.github.com/users/apupier","html_url":"https://github.com/apupier","followers_url":"https://api.github.com/users/apupier/followers","following_url":"https://api.github.com/users/apupier/following{/other_user}","gists_url":"https://api.github.com/users/apupier/gists{/gist_id}","starred_url":"https://api.github.com/users/apupier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apupier/subscriptions","organizations_url":"https://api.github.com/users/apupier/orgs","repos_url":"https://api.github.com/users/apupier/repos","events_url":"https://api.github.com/users/apupier/events{/privacy}","received_events_url":"https://api.github.com/users/apupier/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/fusesource/fuseide/pulls/537/commits","review_comments_url":"https://api.github.com/repos/fusesource/fuseide/pulls/537/comments","review_comment_url":"https://api.github.com/repos/fusesource/fuseide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fusesource/fuseide/issues/537/comments","statuses_url":"https://api.github.com/repos/fusesource/fuseide/statuses/48567f6819f7e06ca5bac76fe5ba6920308668e7","head":{"label":"jpav:1665","ref":"1665","sha":"48567f6819f7e06ca5bac76fe5ba6920308668e7","user":{"login":"jpav","id":437085,"avatar_url":"https://avatars.githubusercontent.com/u/437085?v=3","gravatar_id":"","url":"https://api.github.com/users/jpav","html_url":"https://github.com/jpav","followers_url":"https://api.github.com/users/jpav/followers","following_url":"https://api.github.com/users/jpav/following{/other_user}","gists_url":"https://api.github.com/users/jpav/gists{/gist_id}","starred_url":"https://api.github.com/users/jpav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpav/subscriptions","organizations_url":"https://api.github.com/users/jpav/orgs","repos_url":"https://api.github.com/users/jpav/repos","events_url":"https://api.github.com/users/jpav/events{/privacy}","received_events_url":"https://api.github.com/users/jpav/received_events","type":"User","site_admin":false},"repo":{"id":43611199,"name":"fuseide","full_name":"jpav/fuseide","owner":{"login":"jpav","id":437085,"avatar_url":"https://avatars.githubusercontent.com/u/437085?v=3","gravatar_id":"","url":"https://api.github.com/users/jpav","html_url":"https://github.com/jpav","followers_url":"https://api.github.com/users/jpav/followers","following_url":"https://api.github.com/users/jpav/following{/other_user}","gists_url":"https://api.github.com/users/jpav/gists{/gist_id}","starred_url":"https://api.github.com/users/jpav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpav/subscriptions","organizations_url":"https://api.github.com/users/jpav/orgs","repos_url":"https://api.github.com/users/jpav/repos","events_url":"https://api.github.com/users/jpav/events{/privacy}","received_events_url":"https://api.github.com/users/jpav/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jpav/fuseide","description":"Fuse IDE ","fork":true,"url":"https://api.github.com/repos/jpav/fuseide","forks_url":"https://api.github.com/repos/jpav/fuseide/forks","keys_url":"https://api.github.com/repos/jpav/fuseide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jpav/fuseide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jpav/fuseide/teams","hooks_url":"https://api.github.com/repos/jpav/fuseide/hooks","issue_events_url":"https://api.github.com/repos/jpav/fuseide/issues/events{/number}","events_url":"https://api.github.com/repos/jpav/fuseide/events","assignees_url":"https://api.github.com/repos/jpav/fuseide/assignees{/user}","branches_url":"https://api.github.com/repos/jpav/fuseide/branches{/branch}","tags_url":"https://api.github.com/repos/jpav/fuseide/tags","blobs_url":"https://api.github.com/repos/jpav/fuseide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jpav/fuseide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jpav/fuseide/git/refs{/sha}","trees_url":"https://api.github.com/repos/jpav/fuseide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jpav/fuseide/statuses/{sha}","languages_url":"https://api.github.com/repos/jpav/fuseide/languages","stargazers_url":"https://api.github.com/repos/jpav/fuseide/stargazers","contributors_url":"https://api.github.com/repos/jpav/fuseide/contributors","subscribers_url":"https://api.github.com/repos/jpav/fuseide/subscribers","subscription_url":"https://api.github.com/repos/jpav/fuseide/subscription","commits_url":"https://api.github.com/repos/jpav/fuseide/commits{/sha}","git_commits_url":"https://api.github.com/repos/jpav/fuseide/git/commits{/sha}","comments_url":"https://api.github.com/repos/jpav/fuseide/comments{/number}","issue_comment_url":"https://api.github.com/repos/jpav/fuseide/issues/comments{/number}","contents_url":"https://api.github.com/repos/jpav/fuseide/contents/{+path}","compare_url":"https://api.github.com/repos/jpav/fuseide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jpav/fuseide/merges","archive_url":"https://api.github.com/repos/jpav/fuseide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jpav/fuseide/downloads","issues_url":"https://api.github.com/repos/jpav/fuseide/issues{/number}","pulls_url":"https://api.github.com/repos/jpav/fuseide/pulls{/number}","milestones_url":"https://api.github.com/repos/jpav/fuseide/milestones{/number}","notifications_url":"https://api.github.com/repos/jpav/fuseide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jpav/fuseide/labels{/name}","releases_url":"https://api.github.com/repos/jpav/fuseide/releases{/id}","deployments_url":"https://api.github.com/repos/jpav/fuseide/deployments","created_at":"2015-10-03T19:12:48Z","updated_at":"2015-10-03T19:12:59Z","pushed_at":"2016-06-12T21:42:22Z","git_url":"git://github.com/jpav/fuseide.git","ssh_url":"git@github.com:jpav/fuseide.git","clone_url":"https://github.com/jpav/fuseide.git","svn_url":"https://github.com/jpav/fuseide","homepage":null,"size":138198,"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":"0cfec5a6b5b5ede5a0eda85bac4aecd2da9e86ad","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-06-02T23:04:22Z","pushed_at":"2016-06-13T13:54:31Z","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":145816,"stargazers_count":51,"watchers_count":51,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":73,"mirror_url":null,"open_issues_count":6,"forks":73,"open_issues":6,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fusesource/fuseide/pulls/537"},"html":{"href":"https://github.com/fusesource/fuseide/pull/537"},"issue":{"href":"https://api.github.com/repos/fusesource/fuseide/issues/537"},"comments":{"href":"https://api.github.com/repos/fusesource/fuseide/issues/537/comments"},"review_comments":{"href":"https://api.github.com/repos/fusesource/fuseide/pulls/537/comments"},"review_comment":{"href":"https://api.github.com/repos/fusesource/fuseide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fusesource/fuseide/pulls/537/commits"},"statuses":{"href":"https://api.github.com/repos/fusesource/fuseide/statuses/48567f6819f7e06ca5bac76fe5ba6920308668e7"}}}}
{"actor":{"display_login":"apupier"}}