{"action":"created","comment":{"url":"https://api.github.com/repos/eclipse/smarthome/pulls/comments/47468013","id":47468013,"diff_hunk":"@@ -89,6 +89,29 @@ public AutomationCommand(String command, String[] parameterValues, int providerT\n     public abstract String execute();\n \n     /**\n+     * This method is responsible for processing the <tt>st</tt> option of the command.\n+     * \n+     * @param e is the exception appeared during the command's execution.\n+     * @return a string representing the exception, corresponding to availability of the <tt>st</tt> option.\n+     */\n+    protected String printStackTrace(Exception e) {","path":"bundles/automation/org.eclipse.smarthome.automation.commands/src/main/java/org/eclipse/smarthome/automation/internal/commands/AutomationCommand.java","position":9,"original_position":9,"commit_id":"a03168223f9bc40ed0ef4f5ab655e7a28c263b53","original_commit_id":"a03168223f9bc40ed0ef4f5ab655e7a28c263b53","user":{"login":"maggu2810","id":204670,"avatar_url":"https://avatars.githubusercontent.com/u/204670?v=3","gravatar_id":"","url":"https://api.github.com/users/maggu2810","html_url":"https://github.com/maggu2810","followers_url":"https://api.github.com/users/maggu2810/followers","following_url":"https://api.github.com/users/maggu2810/following{/other_user}","gists_url":"https://api.github.com/users/maggu2810/gists{/gist_id}","starred_url":"https://api.github.com/users/maggu2810/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maggu2810/subscriptions","organizations_url":"https://api.github.com/users/maggu2810/orgs","repos_url":"https://api.github.com/users/maggu2810/repos","events_url":"https://api.github.com/users/maggu2810/events{/privacy}","received_events_url":"https://api.github.com/users/maggu2810/received_events","type":"User","site_admin":false},"body":"This function does not print something, so I would prefer changing its name.","created_at":"2015-12-14T07:42:16Z","updated_at":"2015-12-14T07:42:16Z","html_url":"https://github.com/eclipse/smarthome/pull/704#discussion_r47468013","pull_request_url":"https://api.github.com/repos/eclipse/smarthome/pulls/704","_links":{"self":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/comments/47468013"},"html":{"href":"https://github.com/eclipse/smarthome/pull/704#discussion_r47468013"},"pull_request":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/704"}}},"pull_request":{"url":"https://api.github.com/repos/eclipse/smarthome/pulls/704","id":53231830,"html_url":"https://github.com/eclipse/smarthome/pull/704","diff_url":"https://github.com/eclipse/smarthome/pull/704.diff","patch_url":"https://github.com/eclipse/smarthome/pull/704.patch","issue_url":"https://api.github.com/repos/eclipse/smarthome/issues/704","number":704,"state":"open","locked":false,"title":"Improve automation console commands","user":{"login":"adimova","id":13587297,"avatar_url":"https://avatars.githubusercontent.com/u/13587297?v=3","gravatar_id":"","url":"https://api.github.com/users/adimova","html_url":"https://github.com/adimova","followers_url":"https://api.github.com/users/adimova/followers","following_url":"https://api.github.com/users/adimova/following{/other_user}","gists_url":"https://api.github.com/users/adimova/gists{/gist_id}","starred_url":"https://api.github.com/users/adimova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adimova/subscriptions","organizations_url":"https://api.github.com/users/adimova/orgs","repos_url":"https://api.github.com/users/adimova/repos","events_url":"https://api.github.com/users/adimova/events{/privacy}","received_events_url":"https://api.github.com/users/adimova/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Ana Dimova <a.dimova@prosyst.bg>","created_at":"2015-12-10T09:09:31Z","updated_at":"2015-12-14T07:42:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"605ddfe6dde57861d4901614a59dd972e0fe9c62","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/smarthome/pulls/704/commits","review_comments_url":"https://api.github.com/repos/eclipse/smarthome/pulls/704/comments","review_comment_url":"https://api.github.com/repos/eclipse/smarthome/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/smarthome/issues/704/comments","statuses_url":"https://api.github.com/repos/eclipse/smarthome/statuses/a03168223f9bc40ed0ef4f5ab655e7a28c263b53","head":{"label":"adimova:improve_automation_console_commands","ref":"improve_automation_console_commands","sha":"a03168223f9bc40ed0ef4f5ab655e7a28c263b53","user":{"login":"adimova","id":13587297,"avatar_url":"https://avatars.githubusercontent.com/u/13587297?v=3","gravatar_id":"","url":"https://api.github.com/users/adimova","html_url":"https://github.com/adimova","followers_url":"https://api.github.com/users/adimova/followers","following_url":"https://api.github.com/users/adimova/following{/other_user}","gists_url":"https://api.github.com/users/adimova/gists{/gist_id}","starred_url":"https://api.github.com/users/adimova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adimova/subscriptions","organizations_url":"https://api.github.com/users/adimova/orgs","repos_url":"https://api.github.com/users/adimova/repos","events_url":"https://api.github.com/users/adimova/events{/privacy}","received_events_url":"https://api.github.com/users/adimova/received_events","type":"User","site_admin":false},"repo":{"id":40002172,"name":"smarthome","full_name":"adimova/smarthome","owner":{"login":"adimova","id":13587297,"avatar_url":"https://avatars.githubusercontent.com/u/13587297?v=3","gravatar_id":"","url":"https://api.github.com/users/adimova","html_url":"https://github.com/adimova","followers_url":"https://api.github.com/users/adimova/followers","following_url":"https://api.github.com/users/adimova/following{/other_user}","gists_url":"https://api.github.com/users/adimova/gists{/gist_id}","starred_url":"https://api.github.com/users/adimova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adimova/subscriptions","organizations_url":"https://api.github.com/users/adimova/orgs","repos_url":"https://api.github.com/users/adimova/repos","events_url":"https://api.github.com/users/adimova/events{/privacy}","received_events_url":"https://api.github.com/users/adimova/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adimova/smarthome","description":"Eclipse SmartHome project","fork":true,"url":"https://api.github.com/repos/adimova/smarthome","forks_url":"https://api.github.com/repos/adimova/smarthome/forks","keys_url":"https://api.github.com/repos/adimova/smarthome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adimova/smarthome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adimova/smarthome/teams","hooks_url":"https://api.github.com/repos/adimova/smarthome/hooks","issue_events_url":"https://api.github.com/repos/adimova/smarthome/issues/events{/number}","events_url":"https://api.github.com/repos/adimova/smarthome/events","assignees_url":"https://api.github.com/repos/adimova/smarthome/assignees{/user}","branches_url":"https://api.github.com/repos/adimova/smarthome/branches{/branch}","tags_url":"https://api.github.com/repos/adimova/smarthome/tags","blobs_url":"https://api.github.com/repos/adimova/smarthome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adimova/smarthome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adimova/smarthome/git/refs{/sha}","trees_url":"https://api.github.com/repos/adimova/smarthome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adimova/smarthome/statuses/{sha}","languages_url":"https://api.github.com/repos/adimova/smarthome/languages","stargazers_url":"https://api.github.com/repos/adimova/smarthome/stargazers","contributors_url":"https://api.github.com/repos/adimova/smarthome/contributors","subscribers_url":"https://api.github.com/repos/adimova/smarthome/subscribers","subscription_url":"https://api.github.com/repos/adimova/smarthome/subscription","commits_url":"https://api.github.com/repos/adimova/smarthome/commits{/sha}","git_commits_url":"https://api.github.com/repos/adimova/smarthome/git/commits{/sha}","comments_url":"https://api.github.com/repos/adimova/smarthome/comments{/number}","issue_comment_url":"https://api.github.com/repos/adimova/smarthome/issues/comments{/number}","contents_url":"https://api.github.com/repos/adimova/smarthome/contents/{+path}","compare_url":"https://api.github.com/repos/adimova/smarthome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adimova/smarthome/merges","archive_url":"https://api.github.com/repos/adimova/smarthome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adimova/smarthome/downloads","issues_url":"https://api.github.com/repos/adimova/smarthome/issues{/number}","pulls_url":"https://api.github.com/repos/adimova/smarthome/pulls{/number}","milestones_url":"https://api.github.com/repos/adimova/smarthome/milestones{/number}","notifications_url":"https://api.github.com/repos/adimova/smarthome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adimova/smarthome/labels{/name}","releases_url":"https://api.github.com/repos/adimova/smarthome/releases{/id}","created_at":"2015-07-31T11:25:46Z","updated_at":"2015-08-11T12:58:43Z","pushed_at":"2015-12-10T13:51:31Z","git_url":"git://github.com/adimova/smarthome.git","ssh_url":"git@github.com:adimova/smarthome.git","clone_url":"https://github.com/adimova/smarthome.git","svn_url":"https://github.com/adimova/smarthome","homepage":null,"size":14645,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"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":"eclipse:master","ref":"master","sha":"3f25f072c1c1ad988d478ce090a254cd63dd2349","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","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":15778981,"name":"smarthome","full_name":"eclipse/smarthome","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","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/smarthome","description":"Eclipse SmartHome project","fork":false,"url":"https://api.github.com/repos/eclipse/smarthome","forks_url":"https://api.github.com/repos/eclipse/smarthome/forks","keys_url":"https://api.github.com/repos/eclipse/smarthome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/smarthome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/smarthome/teams","hooks_url":"https://api.github.com/repos/eclipse/smarthome/hooks","issue_events_url":"https://api.github.com/repos/eclipse/smarthome/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/smarthome/events","assignees_url":"https://api.github.com/repos/eclipse/smarthome/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/smarthome/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/smarthome/tags","blobs_url":"https://api.github.com/repos/eclipse/smarthome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/smarthome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/smarthome/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/smarthome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/smarthome/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/smarthome/languages","stargazers_url":"https://api.github.com/repos/eclipse/smarthome/stargazers","contributors_url":"https://api.github.com/repos/eclipse/smarthome/contributors","subscribers_url":"https://api.github.com/repos/eclipse/smarthome/subscribers","subscription_url":"https://api.github.com/repos/eclipse/smarthome/subscription","commits_url":"https://api.github.com/repos/eclipse/smarthome/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/smarthome/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/smarthome/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/smarthome/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/smarthome/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/smarthome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/smarthome/merges","archive_url":"https://api.github.com/repos/eclipse/smarthome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/smarthome/downloads","issues_url":"https://api.github.com/repos/eclipse/smarthome/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/smarthome/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/smarthome/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/smarthome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/smarthome/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/smarthome/releases{/id}","created_at":"2014-01-09T20:47:19Z","updated_at":"2015-12-10T12:31:19Z","pushed_at":"2015-12-13T21:37:57Z","git_url":"git://github.com/eclipse/smarthome.git","ssh_url":"git@github.com:eclipse/smarthome.git","clone_url":"https://github.com/eclipse/smarthome.git","svn_url":"https://github.com/eclipse/smarthome","homepage":null,"size":20240,"stargazers_count":210,"watchers_count":210,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":210,"mirror_url":null,"open_issues_count":131,"forks":210,"open_issues":131,"watchers":210,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/704"},"html":{"href":"https://github.com/eclipse/smarthome/pull/704"},"issue":{"href":"https://api.github.com/repos/eclipse/smarthome/issues/704"},"comments":{"href":"https://api.github.com/repos/eclipse/smarthome/issues/704/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/704/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/704/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/smarthome/statuses/a03168223f9bc40ed0ef4f5ab655e7a28c263b53"}}}}