{"action":"created","comment":{"url":"https://api.github.com/repos/TEAMMATES/teammates/pulls/comments/75575719","id":75575719,"diff_hunk":"@@ -173,7 +173,8 @@ protected ActionResult execute() throws EntityDoesNotExistException {\n             removeRespondant();\n         }\n                \n-        if (isSendEmail) {\n+        boolean isSendSubmissionEmail = Boolean.valueOf(getRequestParamValue(Const.ParamsNames.SEND_SUBMISSION_EMAIL));","path":"src/main/java/teammates/ui/controller/FeedbackSubmissionEditSaveAction.java","position":5,"original_position":5,"commit_id":"70a6c4836a8f230f794ba791270c84c9ced2f149","original_commit_id":"70a6c4836a8f230f794ba791270c84c9ced2f149","user":{"login":"wkurniawan07","id":7261051,"avatar_url":"https://avatars.githubusercontent.com/u/7261051?v=3","gravatar_id":"","url":"https://api.github.com/users/wkurniawan07","html_url":"https://github.com/wkurniawan07","followers_url":"https://api.github.com/users/wkurniawan07/followers","following_url":"https://api.github.com/users/wkurniawan07/following{/other_user}","gists_url":"https://api.github.com/users/wkurniawan07/gists{/gist_id}","starred_url":"https://api.github.com/users/wkurniawan07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkurniawan07/subscriptions","organizations_url":"https://api.github.com/users/wkurniawan07/orgs","repos_url":"https://api.github.com/users/wkurniawan07/repos","events_url":"https://api.github.com/users/wkurniawan07/events{/privacy}","received_events_url":"https://api.github.com/users/wkurniawan07/received_events","type":"User","site_admin":false},"body":"there is another abstraction that you can use for this: `getRequestParamAsBoolean`.","created_at":"2016-08-20T09:22:19Z","updated_at":"2016-08-20T09:22:19Z","html_url":"https://github.com/TEAMMATES/teammates/pull/6007#discussion_r75575719","pull_request_url":"https://api.github.com/repos/TEAMMATES/teammates/pulls/6007","_links":{"self":{"href":"https://api.github.com/repos/TEAMMATES/teammates/pulls/comments/75575719"},"html":{"href":"https://github.com/TEAMMATES/teammates/pull/6007#discussion_r75575719"},"pull_request":{"href":"https://api.github.com/repos/TEAMMATES/teammates/pulls/6007"}}},"pull_request":{"url":"https://api.github.com/repos/TEAMMATES/teammates/pulls/6007","id":81970071,"html_url":"https://github.com/TEAMMATES/teammates/pull/6007","diff_url":"https://github.com/TEAMMATES/teammates/pull/6007.diff","patch_url":"https://github.com/TEAMMATES/teammates/pull/6007.patch","issue_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/6007","number":6007,"state":"open","locked":false,"title":"Add an option to opt out from the submission confirmation email #5989","user":{"login":"tarun14110","id":12219700,"avatar_url":"https://avatars.githubusercontent.com/u/12219700?v=3","gravatar_id":"","url":"https://api.github.com/users/tarun14110","html_url":"https://github.com/tarun14110","followers_url":"https://api.github.com/users/tarun14110/followers","following_url":"https://api.github.com/users/tarun14110/following{/other_user}","gists_url":"https://api.github.com/users/tarun14110/gists{/gist_id}","starred_url":"https://api.github.com/users/tarun14110/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarun14110/subscriptions","organizations_url":"https://api.github.com/users/tarun14110/orgs","repos_url":"https://api.github.com/users/tarun14110/repos","events_url":"https://api.github.com/users/tarun14110/events{/privacy}","received_events_url":"https://api.github.com/users/tarun14110/received_events","type":"User","site_admin":false},"body":"Fixes #5989 \r\n\r\n![screenshot from 2016-08-19 17 30 47](https://cloud.githubusercontent.com/assets/12219700/17809223/b3b1eb92-6632-11e6-8768-5a27971bc7f1.png)\r\n","created_at":"2016-08-19T12:01:07Z","updated_at":"2016-08-20T09:22:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"65a941adccbba49a1536c796e56e8d3768ab5912","assignee":{"login":"wkurniawan07","id":7261051,"avatar_url":"https://avatars.githubusercontent.com/u/7261051?v=3","gravatar_id":"","url":"https://api.github.com/users/wkurniawan07","html_url":"https://github.com/wkurniawan07","followers_url":"https://api.github.com/users/wkurniawan07/followers","following_url":"https://api.github.com/users/wkurniawan07/following{/other_user}","gists_url":"https://api.github.com/users/wkurniawan07/gists{/gist_id}","starred_url":"https://api.github.com/users/wkurniawan07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkurniawan07/subscriptions","organizations_url":"https://api.github.com/users/wkurniawan07/orgs","repos_url":"https://api.github.com/users/wkurniawan07/repos","events_url":"https://api.github.com/users/wkurniawan07/events{/privacy}","received_events_url":"https://api.github.com/users/wkurniawan07/received_events","type":"User","site_admin":false},"assignees":[{"login":"wkurniawan07","id":7261051,"avatar_url":"https://avatars.githubusercontent.com/u/7261051?v=3","gravatar_id":"","url":"https://api.github.com/users/wkurniawan07","html_url":"https://github.com/wkurniawan07","followers_url":"https://api.github.com/users/wkurniawan07/followers","following_url":"https://api.github.com/users/wkurniawan07/following{/other_user}","gists_url":"https://api.github.com/users/wkurniawan07/gists{/gist_id}","starred_url":"https://api.github.com/users/wkurniawan07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkurniawan07/subscriptions","organizations_url":"https://api.github.com/users/wkurniawan07/orgs","repos_url":"https://api.github.com/users/wkurniawan07/repos","events_url":"https://api.github.com/users/wkurniawan07/events{/privacy}","received_events_url":"https://api.github.com/users/wkurniawan07/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/TEAMMATES/teammates/milestones/220","html_url":"https://github.com/TEAMMATES/teammates/milestones/V5.88","labels_url":"https://api.github.com/repos/TEAMMATES/teammates/milestones/220/labels","id":1940784,"number":220,"title":"V5.88","description":"Release 228","creator":{"login":"wkurniawan07","id":7261051,"avatar_url":"https://avatars.githubusercontent.com/u/7261051?v=3","gravatar_id":"","url":"https://api.github.com/users/wkurniawan07","html_url":"https://github.com/wkurniawan07","followers_url":"https://api.github.com/users/wkurniawan07/followers","following_url":"https://api.github.com/users/wkurniawan07/following{/other_user}","gists_url":"https://api.github.com/users/wkurniawan07/gists{/gist_id}","starred_url":"https://api.github.com/users/wkurniawan07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkurniawan07/subscriptions","organizations_url":"https://api.github.com/users/wkurniawan07/orgs","repos_url":"https://api.github.com/users/wkurniawan07/repos","events_url":"https://api.github.com/users/wkurniawan07/events{/privacy}","received_events_url":"https://api.github.com/users/wkurniawan07/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":6,"state":"open","created_at":"2016-08-14T10:49:35Z","updated_at":"2016-08-20T09:19:58Z","due_on":"2016-08-23T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/TEAMMATES/teammates/pulls/6007/commits","review_comments_url":"https://api.github.com/repos/TEAMMATES/teammates/pulls/6007/comments","review_comment_url":"https://api.github.com/repos/TEAMMATES/teammates/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/6007/comments","statuses_url":"https://api.github.com/repos/TEAMMATES/teammates/statuses/70a6c4836a8f230f794ba791270c84c9ced2f149","head":{"label":"tarun14110:5989-opt-out-option-for-submission-confirmation-email","ref":"5989-opt-out-option-for-submission-confirmation-email","sha":"70a6c4836a8f230f794ba791270c84c9ced2f149","user":{"login":"tarun14110","id":12219700,"avatar_url":"https://avatars.githubusercontent.com/u/12219700?v=3","gravatar_id":"","url":"https://api.github.com/users/tarun14110","html_url":"https://github.com/tarun14110","followers_url":"https://api.github.com/users/tarun14110/followers","following_url":"https://api.github.com/users/tarun14110/following{/other_user}","gists_url":"https://api.github.com/users/tarun14110/gists{/gist_id}","starred_url":"https://api.github.com/users/tarun14110/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarun14110/subscriptions","organizations_url":"https://api.github.com/users/tarun14110/orgs","repos_url":"https://api.github.com/users/tarun14110/repos","events_url":"https://api.github.com/users/tarun14110/events{/privacy}","received_events_url":"https://api.github.com/users/tarun14110/received_events","type":"User","site_admin":false},"repo":{"id":50403495,"name":"repo","full_name":"tarun14110/repo","owner":{"login":"tarun14110","id":12219700,"avatar_url":"https://avatars.githubusercontent.com/u/12219700?v=3","gravatar_id":"","url":"https://api.github.com/users/tarun14110","html_url":"https://github.com/tarun14110","followers_url":"https://api.github.com/users/tarun14110/followers","following_url":"https://api.github.com/users/tarun14110/following{/other_user}","gists_url":"https://api.github.com/users/tarun14110/gists{/gist_id}","starred_url":"https://api.github.com/users/tarun14110/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarun14110/subscriptions","organizations_url":"https://api.github.com/users/tarun14110/orgs","repos_url":"https://api.github.com/users/tarun14110/repos","events_url":"https://api.github.com/users/tarun14110/events{/privacy}","received_events_url":"https://api.github.com/users/tarun14110/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tarun14110/repo","description":"This is the project website for the TEAMMATES feedback management tool for education","fork":true,"url":"https://api.github.com/repos/tarun14110/repo","forks_url":"https://api.github.com/repos/tarun14110/repo/forks","keys_url":"https://api.github.com/repos/tarun14110/repo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tarun14110/repo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tarun14110/repo/teams","hooks_url":"https://api.github.com/repos/tarun14110/repo/hooks","issue_events_url":"https://api.github.com/repos/tarun14110/repo/issues/events{/number}","events_url":"https://api.github.com/repos/tarun14110/repo/events","assignees_url":"https://api.github.com/repos/tarun14110/repo/assignees{/user}","branches_url":"https://api.github.com/repos/tarun14110/repo/branches{/branch}","tags_url":"https://api.github.com/repos/tarun14110/repo/tags","blobs_url":"https://api.github.com/repos/tarun14110/repo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tarun14110/repo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tarun14110/repo/git/refs{/sha}","trees_url":"https://api.github.com/repos/tarun14110/repo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tarun14110/repo/statuses/{sha}","languages_url":"https://api.github.com/repos/tarun14110/repo/languages","stargazers_url":"https://api.github.com/repos/tarun14110/repo/stargazers","contributors_url":"https://api.github.com/repos/tarun14110/repo/contributors","subscribers_url":"https://api.github.com/repos/tarun14110/repo/subscribers","subscription_url":"https://api.github.com/repos/tarun14110/repo/subscription","commits_url":"https://api.github.com/repos/tarun14110/repo/commits{/sha}","git_commits_url":"https://api.github.com/repos/tarun14110/repo/git/commits{/sha}","comments_url":"https://api.github.com/repos/tarun14110/repo/comments{/number}","issue_comment_url":"https://api.github.com/repos/tarun14110/repo/issues/comments{/number}","contents_url":"https://api.github.com/repos/tarun14110/repo/contents/{+path}","compare_url":"https://api.github.com/repos/tarun14110/repo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tarun14110/repo/merges","archive_url":"https://api.github.com/repos/tarun14110/repo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tarun14110/repo/downloads","issues_url":"https://api.github.com/repos/tarun14110/repo/issues{/number}","pulls_url":"https://api.github.com/repos/tarun14110/repo/pulls{/number}","milestones_url":"https://api.github.com/repos/tarun14110/repo/milestones{/number}","notifications_url":"https://api.github.com/repos/tarun14110/repo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tarun14110/repo/labels{/name}","releases_url":"https://api.github.com/repos/tarun14110/repo/releases{/id}","deployments_url":"https://api.github.com/repos/tarun14110/repo/deployments","created_at":"2016-01-26T04:34:41Z","updated_at":"2016-01-26T04:34:47Z","pushed_at":"2016-08-19T18:02:45Z","git_url":"git://github.com/tarun14110/repo.git","ssh_url":"git@github.com:tarun14110/repo.git","clone_url":"https://github.com/tarun14110/repo.git","svn_url":"https://github.com/tarun14110/repo","homepage":"http://teammatesv4.appspot.com/","size":168139,"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":"TEAMMATES:master","ref":"master","sha":"20342f9d95f2701498f8eca6679198d29c662e5a","user":{"login":"TEAMMATES","id":7374810,"avatar_url":"https://avatars.githubusercontent.com/u/7374810?v=3","gravatar_id":"","url":"https://api.github.com/users/TEAMMATES","html_url":"https://github.com/TEAMMATES","followers_url":"https://api.github.com/users/TEAMMATES/followers","following_url":"https://api.github.com/users/TEAMMATES/following{/other_user}","gists_url":"https://api.github.com/users/TEAMMATES/gists{/gist_id}","starred_url":"https://api.github.com/users/TEAMMATES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TEAMMATES/subscriptions","organizations_url":"https://api.github.com/users/TEAMMATES/orgs","repos_url":"https://api.github.com/users/TEAMMATES/repos","events_url":"https://api.github.com/users/TEAMMATES/events{/privacy}","received_events_url":"https://api.github.com/users/TEAMMATES/received_events","type":"Organization","site_admin":false},"repo":{"id":19369035,"name":"teammates","full_name":"TEAMMATES/teammates","owner":{"login":"TEAMMATES","id":7374810,"avatar_url":"https://avatars.githubusercontent.com/u/7374810?v=3","gravatar_id":"","url":"https://api.github.com/users/TEAMMATES","html_url":"https://github.com/TEAMMATES","followers_url":"https://api.github.com/users/TEAMMATES/followers","following_url":"https://api.github.com/users/TEAMMATES/following{/other_user}","gists_url":"https://api.github.com/users/TEAMMATES/gists{/gist_id}","starred_url":"https://api.github.com/users/TEAMMATES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TEAMMATES/subscriptions","organizations_url":"https://api.github.com/users/TEAMMATES/orgs","repos_url":"https://api.github.com/users/TEAMMATES/repos","events_url":"https://api.github.com/users/TEAMMATES/events{/privacy}","received_events_url":"https://api.github.com/users/TEAMMATES/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TEAMMATES/teammates","description":"This is the project website for the TEAMMATES feedback management tool for education","fork":false,"url":"https://api.github.com/repos/TEAMMATES/teammates","forks_url":"https://api.github.com/repos/TEAMMATES/teammates/forks","keys_url":"https://api.github.com/repos/TEAMMATES/teammates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TEAMMATES/teammates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TEAMMATES/teammates/teams","hooks_url":"https://api.github.com/repos/TEAMMATES/teammates/hooks","issue_events_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/events{/number}","events_url":"https://api.github.com/repos/TEAMMATES/teammates/events","assignees_url":"https://api.github.com/repos/TEAMMATES/teammates/assignees{/user}","branches_url":"https://api.github.com/repos/TEAMMATES/teammates/branches{/branch}","tags_url":"https://api.github.com/repos/TEAMMATES/teammates/tags","blobs_url":"https://api.github.com/repos/TEAMMATES/teammates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TEAMMATES/teammates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TEAMMATES/teammates/git/refs{/sha}","trees_url":"https://api.github.com/repos/TEAMMATES/teammates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TEAMMATES/teammates/statuses/{sha}","languages_url":"https://api.github.com/repos/TEAMMATES/teammates/languages","stargazers_url":"https://api.github.com/repos/TEAMMATES/teammates/stargazers","contributors_url":"https://api.github.com/repos/TEAMMATES/teammates/contributors","subscribers_url":"https://api.github.com/repos/TEAMMATES/teammates/subscribers","subscription_url":"https://api.github.com/repos/TEAMMATES/teammates/subscription","commits_url":"https://api.github.com/repos/TEAMMATES/teammates/commits{/sha}","git_commits_url":"https://api.github.com/repos/TEAMMATES/teammates/git/commits{/sha}","comments_url":"https://api.github.com/repos/TEAMMATES/teammates/comments{/number}","issue_comment_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/comments{/number}","contents_url":"https://api.github.com/repos/TEAMMATES/teammates/contents/{+path}","compare_url":"https://api.github.com/repos/TEAMMATES/teammates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TEAMMATES/teammates/merges","archive_url":"https://api.github.com/repos/TEAMMATES/teammates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TEAMMATES/teammates/downloads","issues_url":"https://api.github.com/repos/TEAMMATES/teammates/issues{/number}","pulls_url":"https://api.github.com/repos/TEAMMATES/teammates/pulls{/number}","milestones_url":"https://api.github.com/repos/TEAMMATES/teammates/milestones{/number}","notifications_url":"https://api.github.com/repos/TEAMMATES/teammates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TEAMMATES/teammates/labels{/name}","releases_url":"https://api.github.com/repos/TEAMMATES/teammates/releases{/id}","deployments_url":"https://api.github.com/repos/TEAMMATES/teammates/deployments","created_at":"2014-05-02T07:43:00Z","updated_at":"2016-08-18T09:45:12Z","pushed_at":"2016-08-20T09:12:43Z","git_url":"git://github.com/TEAMMATES/teammates.git","ssh_url":"git@github.com:TEAMMATES/teammates.git","clone_url":"https://github.com/TEAMMATES/teammates.git","svn_url":"https://github.com/TEAMMATES/teammates","homepage":"http://teammatesv4.appspot.com/","size":196184,"stargazers_count":112,"watchers_count":112,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":303,"mirror_url":null,"open_issues_count":494,"forks":303,"open_issues":494,"watchers":112,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TEAMMATES/teammates/pulls/6007"},"html":{"href":"https://github.com/TEAMMATES/teammates/pull/6007"},"issue":{"href":"https://api.github.com/repos/TEAMMATES/teammates/issues/6007"},"comments":{"href":"https://api.github.com/repos/TEAMMATES/teammates/issues/6007/comments"},"review_comments":{"href":"https://api.github.com/repos/TEAMMATES/teammates/pulls/6007/comments"},"review_comment":{"href":"https://api.github.com/repos/TEAMMATES/teammates/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TEAMMATES/teammates/pulls/6007/commits"},"statuses":{"href":"https://api.github.com/repos/TEAMMATES/teammates/statuses/70a6c4836a8f230f794ba791270c84c9ced2f149"}}}}
{"actor":{"display_login":"wkurniawan07"}}