{"action":"created","comment":{"url":"https://api.github.com/repos/camelot-framework/camelot/pulls/comments/41511471","id":41511471,"diff_hunk":"@@ -17,15 +17,14 @@ public String broadcastUri(String pluginId, String suffix) {\n \n     @Override\n     public String localUri(String pluginId, String suffix) {\n-        return \"seda:plugin.\" + pluginId + ((isEmpty(suffix)) ? \"\" : \".\" + suffix);\n+        return \"direct:plugin.\" + pluginId + ((isEmpty(suffix)) ? \"\" : \".\" + suffix);\n     }\n \n     @Override\n-    public String pluginInputUri(Plugin plugin, String suffix, String brokerConfig) {\n-        return plugin.getBaseInputUri() +\n-                \".\" + plugin.getId() +\n+    public String pluginUri(Plugin plugin, String suffix, String brokerConfig) {\n+        return plugin.getBaseInputUri() + \".\" + plugin.getId() +\n                 ((isEmpty(suffix)) ? \"\" : \".\" + suffix) +\n-                ((isEmpty(brokerConfig)) ? \"\" : suffix);\n+                ((isEmpty(brokerConfig)) ? \"\" : brokerConfig);","path":"camelot-commons/src/main/java/ru/yandex/qatools/camelot/common/builders/BasicPluginUriBuilder.java","position":16,"original_position":16,"commit_id":"0bfb5b586da2badaef3f1ed026e68395e3189e88","original_commit_id":"0bfb5b586da2badaef3f1ed026e68395e3189e88","user":{"login":"qatools-ci","id":4466920,"avatar_url":"https://avatars.githubusercontent.com/u/4466920?v=3","gravatar_id":"","url":"https://api.github.com/users/qatools-ci","html_url":"https://github.com/qatools-ci","followers_url":"https://api.github.com/users/qatools-ci/followers","following_url":"https://api.github.com/users/qatools-ci/following{/other_user}","gists_url":"https://api.github.com/users/qatools-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/qatools-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qatools-ci/subscriptions","organizations_url":"https://api.github.com/users/qatools-ci/orgs","repos_url":"https://api.github.com/users/qatools-ci/repos","events_url":"https://api.github.com/users/qatools-ci/events{/privacy}","received_events_url":"https://api.github.com/users/qatools-ci/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) Remove those useless parentheses. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AUselessParenthesesCheck)\n","created_at":"2015-10-08T13:24:11Z","updated_at":"2015-10-08T13:24:11Z","html_url":"https://github.com/camelot-framework/camelot/pull/107#discussion_r41511471","pull_request_url":"https://api.github.com/repos/camelot-framework/camelot/pulls/107","_links":{"self":{"href":"https://api.github.com/repos/camelot-framework/camelot/pulls/comments/41511471"},"html":{"href":"https://github.com/camelot-framework/camelot/pull/107#discussion_r41511471"},"pull_request":{"href":"https://api.github.com/repos/camelot-framework/camelot/pulls/107"}}},"pull_request":{"url":"https://api.github.com/repos/camelot-framework/camelot/pulls/107","id":47142959,"html_url":"https://github.com/camelot-framework/camelot/pull/107","diff_url":"https://github.com/camelot-framework/camelot/pull/107.diff","patch_url":"https://github.com/camelot-framework/camelot/pull/107.patch","issue_url":"https://api.github.com/repos/camelot-framework/camelot/issues/107","number":107,"state":"open","locked":false,"title":"Fix webfront context","user":{"login":"smecsia","id":214657,"avatar_url":"https://avatars.githubusercontent.com/u/214657?v=3","gravatar_id":"","url":"https://api.github.com/users/smecsia","html_url":"https://github.com/smecsia","followers_url":"https://api.github.com/users/smecsia/followers","following_url":"https://api.github.com/users/smecsia/following{/other_user}","gists_url":"https://api.github.com/users/smecsia/gists{/gist_id}","starred_url":"https://api.github.com/users/smecsia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smecsia/subscriptions","organizations_url":"https://api.github.com/users/smecsia/orgs","repos_url":"https://api.github.com/users/smecsia/repos","events_url":"https://api.github.com/users/smecsia/events{/privacy}","received_events_url":"https://api.github.com/users/smecsia/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-08T11:52:50Z","updated_at":"2015-10-08T13:24:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a214990208cb294d074de63eba0e05a22226b5ed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/camelot-framework/camelot/pulls/107/commits","review_comments_url":"https://api.github.com/repos/camelot-framework/camelot/pulls/107/comments","review_comment_url":"https://api.github.com/repos/camelot-framework/camelot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/camelot-framework/camelot/issues/107/comments","statuses_url":"https://api.github.com/repos/camelot-framework/camelot/statuses/0bfb5b586da2badaef3f1ed026e68395e3189e88","head":{"label":"smecsia:master","ref":"master","sha":"0bfb5b586da2badaef3f1ed026e68395e3189e88","user":{"login":"smecsia","id":214657,"avatar_url":"https://avatars.githubusercontent.com/u/214657?v=3","gravatar_id":"","url":"https://api.github.com/users/smecsia","html_url":"https://github.com/smecsia","followers_url":"https://api.github.com/users/smecsia/followers","following_url":"https://api.github.com/users/smecsia/following{/other_user}","gists_url":"https://api.github.com/users/smecsia/gists{/gist_id}","starred_url":"https://api.github.com/users/smecsia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smecsia/subscriptions","organizations_url":"https://api.github.com/users/smecsia/orgs","repos_url":"https://api.github.com/users/smecsia/repos","events_url":"https://api.github.com/users/smecsia/events{/privacy}","received_events_url":"https://api.github.com/users/smecsia/received_events","type":"User","site_admin":false},"repo":{"id":22915597,"name":"camelot","full_name":"smecsia/camelot","owner":{"login":"smecsia","id":214657,"avatar_url":"https://avatars.githubusercontent.com/u/214657?v=3","gravatar_id":"","url":"https://api.github.com/users/smecsia","html_url":"https://github.com/smecsia","followers_url":"https://api.github.com/users/smecsia/followers","following_url":"https://api.github.com/users/smecsia/following{/other_user}","gists_url":"https://api.github.com/users/smecsia/gists{/gist_id}","starred_url":"https://api.github.com/users/smecsia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smecsia/subscriptions","organizations_url":"https://api.github.com/users/smecsia/orgs","repos_url":"https://api.github.com/users/smecsia/repos","events_url":"https://api.github.com/users/smecsia/events{/privacy}","received_events_url":"https://api.github.com/users/smecsia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smecsia/camelot","description":"Simplified scalable aggregation and processing framework built upon Apache Camel.","fork":true,"url":"https://api.github.com/repos/smecsia/camelot","forks_url":"https://api.github.com/repos/smecsia/camelot/forks","keys_url":"https://api.github.com/repos/smecsia/camelot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smecsia/camelot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smecsia/camelot/teams","hooks_url":"https://api.github.com/repos/smecsia/camelot/hooks","issue_events_url":"https://api.github.com/repos/smecsia/camelot/issues/events{/number}","events_url":"https://api.github.com/repos/smecsia/camelot/events","assignees_url":"https://api.github.com/repos/smecsia/camelot/assignees{/user}","branches_url":"https://api.github.com/repos/smecsia/camelot/branches{/branch}","tags_url":"https://api.github.com/repos/smecsia/camelot/tags","blobs_url":"https://api.github.com/repos/smecsia/camelot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smecsia/camelot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smecsia/camelot/git/refs{/sha}","trees_url":"https://api.github.com/repos/smecsia/camelot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smecsia/camelot/statuses/{sha}","languages_url":"https://api.github.com/repos/smecsia/camelot/languages","stargazers_url":"https://api.github.com/repos/smecsia/camelot/stargazers","contributors_url":"https://api.github.com/repos/smecsia/camelot/contributors","subscribers_url":"https://api.github.com/repos/smecsia/camelot/subscribers","subscription_url":"https://api.github.com/repos/smecsia/camelot/subscription","commits_url":"https://api.github.com/repos/smecsia/camelot/commits{/sha}","git_commits_url":"https://api.github.com/repos/smecsia/camelot/git/commits{/sha}","comments_url":"https://api.github.com/repos/smecsia/camelot/comments{/number}","issue_comment_url":"https://api.github.com/repos/smecsia/camelot/issues/comments{/number}","contents_url":"https://api.github.com/repos/smecsia/camelot/contents/{+path}","compare_url":"https://api.github.com/repos/smecsia/camelot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smecsia/camelot/merges","archive_url":"https://api.github.com/repos/smecsia/camelot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smecsia/camelot/downloads","issues_url":"https://api.github.com/repos/smecsia/camelot/issues{/number}","pulls_url":"https://api.github.com/repos/smecsia/camelot/pulls{/number}","milestones_url":"https://api.github.com/repos/smecsia/camelot/milestones{/number}","notifications_url":"https://api.github.com/repos/smecsia/camelot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smecsia/camelot/labels{/name}","releases_url":"https://api.github.com/repos/smecsia/camelot/releases{/id}","created_at":"2014-08-13T12:56:57Z","updated_at":"2015-04-29T13:19:37Z","pushed_at":"2015-10-08T13:19:01Z","git_url":"git://github.com/smecsia/camelot.git","ssh_url":"git@github.com:smecsia/camelot.git","clone_url":"https://github.com/smecsia/camelot.git","svn_url":"https://github.com/smecsia/camelot","homepage":"http://camelot.qatools.ru","size":1524,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"camelot-framework:master","ref":"master","sha":"d7a4d78587795fb35375fe75bddb0cc53ead7150","user":{"login":"camelot-framework","id":6671821,"avatar_url":"https://avatars.githubusercontent.com/u/6671821?v=3","gravatar_id":"","url":"https://api.github.com/users/camelot-framework","html_url":"https://github.com/camelot-framework","followers_url":"https://api.github.com/users/camelot-framework/followers","following_url":"https://api.github.com/users/camelot-framework/following{/other_user}","gists_url":"https://api.github.com/users/camelot-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/camelot-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camelot-framework/subscriptions","organizations_url":"https://api.github.com/users/camelot-framework/orgs","repos_url":"https://api.github.com/users/camelot-framework/repos","events_url":"https://api.github.com/users/camelot-framework/events{/privacy}","received_events_url":"https://api.github.com/users/camelot-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":22441031,"name":"camelot","full_name":"camelot-framework/camelot","owner":{"login":"camelot-framework","id":6671821,"avatar_url":"https://avatars.githubusercontent.com/u/6671821?v=3","gravatar_id":"","url":"https://api.github.com/users/camelot-framework","html_url":"https://github.com/camelot-framework","followers_url":"https://api.github.com/users/camelot-framework/followers","following_url":"https://api.github.com/users/camelot-framework/following{/other_user}","gists_url":"https://api.github.com/users/camelot-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/camelot-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camelot-framework/subscriptions","organizations_url":"https://api.github.com/users/camelot-framework/orgs","repos_url":"https://api.github.com/users/camelot-framework/repos","events_url":"https://api.github.com/users/camelot-framework/events{/privacy}","received_events_url":"https://api.github.com/users/camelot-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/camelot-framework/camelot","description":"Simplified scalable aggregation and processing framework built upon Apache Camel.","fork":false,"url":"https://api.github.com/repos/camelot-framework/camelot","forks_url":"https://api.github.com/repos/camelot-framework/camelot/forks","keys_url":"https://api.github.com/repos/camelot-framework/camelot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/camelot-framework/camelot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/camelot-framework/camelot/teams","hooks_url":"https://api.github.com/repos/camelot-framework/camelot/hooks","issue_events_url":"https://api.github.com/repos/camelot-framework/camelot/issues/events{/number}","events_url":"https://api.github.com/repos/camelot-framework/camelot/events","assignees_url":"https://api.github.com/repos/camelot-framework/camelot/assignees{/user}","branches_url":"https://api.github.com/repos/camelot-framework/camelot/branches{/branch}","tags_url":"https://api.github.com/repos/camelot-framework/camelot/tags","blobs_url":"https://api.github.com/repos/camelot-framework/camelot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/camelot-framework/camelot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/camelot-framework/camelot/git/refs{/sha}","trees_url":"https://api.github.com/repos/camelot-framework/camelot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/camelot-framework/camelot/statuses/{sha}","languages_url":"https://api.github.com/repos/camelot-framework/camelot/languages","stargazers_url":"https://api.github.com/repos/camelot-framework/camelot/stargazers","contributors_url":"https://api.github.com/repos/camelot-framework/camelot/contributors","subscribers_url":"https://api.github.com/repos/camelot-framework/camelot/subscribers","subscription_url":"https://api.github.com/repos/camelot-framework/camelot/subscription","commits_url":"https://api.github.com/repos/camelot-framework/camelot/commits{/sha}","git_commits_url":"https://api.github.com/repos/camelot-framework/camelot/git/commits{/sha}","comments_url":"https://api.github.com/repos/camelot-framework/camelot/comments{/number}","issue_comment_url":"https://api.github.com/repos/camelot-framework/camelot/issues/comments{/number}","contents_url":"https://api.github.com/repos/camelot-framework/camelot/contents/{+path}","compare_url":"https://api.github.com/repos/camelot-framework/camelot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/camelot-framework/camelot/merges","archive_url":"https://api.github.com/repos/camelot-framework/camelot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/camelot-framework/camelot/downloads","issues_url":"https://api.github.com/repos/camelot-framework/camelot/issues{/number}","pulls_url":"https://api.github.com/repos/camelot-framework/camelot/pulls{/number}","milestones_url":"https://api.github.com/repos/camelot-framework/camelot/milestones{/number}","notifications_url":"https://api.github.com/repos/camelot-framework/camelot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/camelot-framework/camelot/labels{/name}","releases_url":"https://api.github.com/repos/camelot-framework/camelot/releases{/id}","created_at":"2014-07-30T19:06:12Z","updated_at":"2015-07-14T19:41:26Z","pushed_at":"2015-10-08T13:19:01Z","git_url":"git://github.com/camelot-framework/camelot.git","ssh_url":"git@github.com:camelot-framework/camelot.git","clone_url":"https://github.com/camelot-framework/camelot.git","svn_url":"https://github.com/camelot-framework/camelot","homepage":"","size":2226,"stargazers_count":10,"watchers_count":10,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/camelot-framework/camelot/pulls/107"},"html":{"href":"https://github.com/camelot-framework/camelot/pull/107"},"issue":{"href":"https://api.github.com/repos/camelot-framework/camelot/issues/107"},"comments":{"href":"https://api.github.com/repos/camelot-framework/camelot/issues/107/comments"},"review_comments":{"href":"https://api.github.com/repos/camelot-framework/camelot/pulls/107/comments"},"review_comment":{"href":"https://api.github.com/repos/camelot-framework/camelot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/camelot-framework/camelot/pulls/107/commits"},"statuses":{"href":"https://api.github.com/repos/camelot-framework/camelot/statuses/0bfb5b586da2badaef3f1ed026e68395e3189e88"}}}}