{"action":"created","comment":{"url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/comments/79285012","id":79285012,"diff_hunk":"@@ -85,7 +85,10 @@ public CommandResult execute(String userCommandText) throws Exception {\n     private CommandResult execute(Command command) throws Exception {\n         command.setData(addressBook, lastShownList);\n         CommandResult result = command.execute();\n-        storage.save(addressBook);\n+        if(command.isMutating()) {","path":"src/seedu/addressbook/logic/Logic.java","position":5,"original_position":5,"commit_id":"26965dbc1e296830890bb41bf78e4d056edcb908","original_commit_id":"26965dbc1e296830890bb41bf78e4d056edcb908","user":{"login":"jeffryhartanto","id":7631199,"avatar_url":"https://avatars.githubusercontent.com/u/7631199?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffryhartanto","html_url":"https://github.com/jeffryhartanto","followers_url":"https://api.github.com/users/jeffryhartanto/followers","following_url":"https://api.github.com/users/jeffryhartanto/following{/other_user}","gists_url":"https://api.github.com/users/jeffryhartanto/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffryhartanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffryhartanto/subscriptions","organizations_url":"https://api.github.com/users/jeffryhartanto/orgs","repos_url":"https://api.github.com/users/jeffryhartanto/repos","events_url":"https://api.github.com/users/jeffryhartanto/events{/privacy}","received_events_url":"https://api.github.com/users/jeffryhartanto/received_events","type":"User","site_admin":false},"body":"You violate our coding standard, should add a space after `if` like this, `if (`. Also, you forgot to change the header comment after make this changes.","created_at":"2016-09-17T14:26:01Z","updated_at":"2016-09-17T14:26:06Z","html_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/430#discussion_r79285012","pull_request_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/430","_links":{"self":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/comments/79285012"},"html":{"href":"https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/430#discussion_r79285012"},"pull_request":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/430"}}},"pull_request":{"url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/430","id":85261112,"html_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/430","diff_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/430.diff","patch_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/430.patch","issue_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/issues/430","number":430,"state":"open","locked":false,"title":"[T5A2][F09-B1] Tan Suan Zhi","user":{"login":"e0003892","id":21215803,"avatar_url":"https://avatars.githubusercontent.com/u/21215803?v=3","gravatar_id":"","url":"https://api.github.com/users/e0003892","html_url":"https://github.com/e0003892","followers_url":"https://api.github.com/users/e0003892/followers","following_url":"https://api.github.com/users/e0003892/following{/other_user}","gists_url":"https://api.github.com/users/e0003892/gists{/gist_id}","starred_url":"https://api.github.com/users/e0003892/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e0003892/subscriptions","organizations_url":"https://api.github.com/users/e0003892/orgs","repos_url":"https://api.github.com/users/e0003892/repos","events_url":"https://api.github.com/users/e0003892/events{/privacy}","received_events_url":"https://api.github.com/users/e0003892/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-14T16:28:15Z","updated_at":"2016-09-17T14:26:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0efb72516969bafeb0b6b10ed9c19e272308fe0c","assignee":{"login":"jeffryhartanto","id":7631199,"avatar_url":"https://avatars.githubusercontent.com/u/7631199?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffryhartanto","html_url":"https://github.com/jeffryhartanto","followers_url":"https://api.github.com/users/jeffryhartanto/followers","following_url":"https://api.github.com/users/jeffryhartanto/following{/other_user}","gists_url":"https://api.github.com/users/jeffryhartanto/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffryhartanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffryhartanto/subscriptions","organizations_url":"https://api.github.com/users/jeffryhartanto/orgs","repos_url":"https://api.github.com/users/jeffryhartanto/repos","events_url":"https://api.github.com/users/jeffryhartanto/events{/privacy}","received_events_url":"https://api.github.com/users/jeffryhartanto/received_events","type":"User","site_admin":false},"assignees":[{"login":"jeffryhartanto","id":7631199,"avatar_url":"https://avatars.githubusercontent.com/u/7631199?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffryhartanto","html_url":"https://github.com/jeffryhartanto","followers_url":"https://api.github.com/users/jeffryhartanto/followers","following_url":"https://api.github.com/users/jeffryhartanto/following{/other_user}","gists_url":"https://api.github.com/users/jeffryhartanto/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffryhartanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffryhartanto/subscriptions","organizations_url":"https://api.github.com/users/jeffryhartanto/orgs","repos_url":"https://api.github.com/users/jeffryhartanto/repos","events_url":"https://api.github.com/users/jeffryhartanto/events{/privacy}","received_events_url":"https://api.github.com/users/jeffryhartanto/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/430/commits","review_comments_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/430/comments","review_comment_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/issues/430/comments","statuses_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/statuses/26965dbc1e296830890bb41bf78e4d056edcb908","head":{"label":"e0003892:T5A2","ref":"T5A2","sha":"26965dbc1e296830890bb41bf78e4d056edcb908","user":{"login":"e0003892","id":21215803,"avatar_url":"https://avatars.githubusercontent.com/u/21215803?v=3","gravatar_id":"","url":"https://api.github.com/users/e0003892","html_url":"https://github.com/e0003892","followers_url":"https://api.github.com/users/e0003892/followers","following_url":"https://api.github.com/users/e0003892/following{/other_user}","gists_url":"https://api.github.com/users/e0003892/gists{/gist_id}","starred_url":"https://api.github.com/users/e0003892/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e0003892/subscriptions","organizations_url":"https://api.github.com/users/e0003892/orgs","repos_url":"https://api.github.com/users/e0003892/repos","events_url":"https://api.github.com/users/e0003892/events{/privacy}","received_events_url":"https://api.github.com/users/e0003892/received_events","type":"User","site_admin":false},"repo":{"id":68185480,"name":"addressbook-level3","full_name":"e0003892/addressbook-level3","owner":{"login":"e0003892","id":21215803,"avatar_url":"https://avatars.githubusercontent.com/u/21215803?v=3","gravatar_id":"","url":"https://api.github.com/users/e0003892","html_url":"https://github.com/e0003892","followers_url":"https://api.github.com/users/e0003892/followers","following_url":"https://api.github.com/users/e0003892/following{/other_user}","gists_url":"https://api.github.com/users/e0003892/gists{/gist_id}","starred_url":"https://api.github.com/users/e0003892/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e0003892/subscriptions","organizations_url":"https://api.github.com/users/e0003892/orgs","repos_url":"https://api.github.com/users/e0003892/repos","events_url":"https://api.github.com/users/e0003892/events{/privacy}","received_events_url":"https://api.github.com/users/e0003892/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/e0003892/addressbook-level3","description":"Address Book sample application (Level 3)","fork":true,"url":"https://api.github.com/repos/e0003892/addressbook-level3","forks_url":"https://api.github.com/repos/e0003892/addressbook-level3/forks","keys_url":"https://api.github.com/repos/e0003892/addressbook-level3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/e0003892/addressbook-level3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/e0003892/addressbook-level3/teams","hooks_url":"https://api.github.com/repos/e0003892/addressbook-level3/hooks","issue_events_url":"https://api.github.com/repos/e0003892/addressbook-level3/issues/events{/number}","events_url":"https://api.github.com/repos/e0003892/addressbook-level3/events","assignees_url":"https://api.github.com/repos/e0003892/addressbook-level3/assignees{/user}","branches_url":"https://api.github.com/repos/e0003892/addressbook-level3/branches{/branch}","tags_url":"https://api.github.com/repos/e0003892/addressbook-level3/tags","blobs_url":"https://api.github.com/repos/e0003892/addressbook-level3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/e0003892/addressbook-level3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/e0003892/addressbook-level3/git/refs{/sha}","trees_url":"https://api.github.com/repos/e0003892/addressbook-level3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/e0003892/addressbook-level3/statuses/{sha}","languages_url":"https://api.github.com/repos/e0003892/addressbook-level3/languages","stargazers_url":"https://api.github.com/repos/e0003892/addressbook-level3/stargazers","contributors_url":"https://api.github.com/repos/e0003892/addressbook-level3/contributors","subscribers_url":"https://api.github.com/repos/e0003892/addressbook-level3/subscribers","subscription_url":"https://api.github.com/repos/e0003892/addressbook-level3/subscription","commits_url":"https://api.github.com/repos/e0003892/addressbook-level3/commits{/sha}","git_commits_url":"https://api.github.com/repos/e0003892/addressbook-level3/git/commits{/sha}","comments_url":"https://api.github.com/repos/e0003892/addressbook-level3/comments{/number}","issue_comment_url":"https://api.github.com/repos/e0003892/addressbook-level3/issues/comments{/number}","contents_url":"https://api.github.com/repos/e0003892/addressbook-level3/contents/{+path}","compare_url":"https://api.github.com/repos/e0003892/addressbook-level3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/e0003892/addressbook-level3/merges","archive_url":"https://api.github.com/repos/e0003892/addressbook-level3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/e0003892/addressbook-level3/downloads","issues_url":"https://api.github.com/repos/e0003892/addressbook-level3/issues{/number}","pulls_url":"https://api.github.com/repos/e0003892/addressbook-level3/pulls{/number}","milestones_url":"https://api.github.com/repos/e0003892/addressbook-level3/milestones{/number}","notifications_url":"https://api.github.com/repos/e0003892/addressbook-level3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/e0003892/addressbook-level3/labels{/name}","releases_url":"https://api.github.com/repos/e0003892/addressbook-level3/releases{/id}","deployments_url":"https://api.github.com/repos/e0003892/addressbook-level3/deployments","created_at":"2016-09-14T07:50:49Z","updated_at":"2016-09-14T07:50:50Z","pushed_at":"2016-09-14T16:19:29Z","git_url":"git://github.com/e0003892/addressbook-level3.git","ssh_url":"git@github.com:e0003892/addressbook-level3.git","clone_url":"https://github.com/e0003892/addressbook-level3.git","svn_url":"https://github.com/e0003892/addressbook-level3","homepage":null,"size":290,"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":"nus-cs2103-AY1617S1:master","ref":"master","sha":"9c2f38b8216790d4257672068066976bd9694227","user":{"login":"nus-cs2103-AY1617S1","id":20475842,"avatar_url":"https://avatars.githubusercontent.com/u/20475842?v=3","gravatar_id":"","url":"https://api.github.com/users/nus-cs2103-AY1617S1","html_url":"https://github.com/nus-cs2103-AY1617S1","followers_url":"https://api.github.com/users/nus-cs2103-AY1617S1/followers","following_url":"https://api.github.com/users/nus-cs2103-AY1617S1/following{/other_user}","gists_url":"https://api.github.com/users/nus-cs2103-AY1617S1/gists{/gist_id}","starred_url":"https://api.github.com/users/nus-cs2103-AY1617S1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nus-cs2103-AY1617S1/subscriptions","organizations_url":"https://api.github.com/users/nus-cs2103-AY1617S1/orgs","repos_url":"https://api.github.com/users/nus-cs2103-AY1617S1/repos","events_url":"https://api.github.com/users/nus-cs2103-AY1617S1/events{/privacy}","received_events_url":"https://api.github.com/users/nus-cs2103-AY1617S1/received_events","type":"Organization","site_admin":false},"repo":{"id":67619169,"name":"addressbook-level3","full_name":"nus-cs2103-AY1617S1/addressbook-level3","owner":{"login":"nus-cs2103-AY1617S1","id":20475842,"avatar_url":"https://avatars.githubusercontent.com/u/20475842?v=3","gravatar_id":"","url":"https://api.github.com/users/nus-cs2103-AY1617S1","html_url":"https://github.com/nus-cs2103-AY1617S1","followers_url":"https://api.github.com/users/nus-cs2103-AY1617S1/followers","following_url":"https://api.github.com/users/nus-cs2103-AY1617S1/following{/other_user}","gists_url":"https://api.github.com/users/nus-cs2103-AY1617S1/gists{/gist_id}","starred_url":"https://api.github.com/users/nus-cs2103-AY1617S1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nus-cs2103-AY1617S1/subscriptions","organizations_url":"https://api.github.com/users/nus-cs2103-AY1617S1/orgs","repos_url":"https://api.github.com/users/nus-cs2103-AY1617S1/repos","events_url":"https://api.github.com/users/nus-cs2103-AY1617S1/events{/privacy}","received_events_url":"https://api.github.com/users/nus-cs2103-AY1617S1/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level3","description":"Address Book sample application (Level 3)","fork":true,"url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3","forks_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/forks","keys_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/teams","hooks_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/hooks","issue_events_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/issues/events{/number}","events_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/events","assignees_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/assignees{/user}","branches_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/branches{/branch}","tags_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/tags","blobs_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/git/refs{/sha}","trees_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/statuses/{sha}","languages_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/languages","stargazers_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/stargazers","contributors_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/contributors","subscribers_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/subscribers","subscription_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/subscription","commits_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/commits{/sha}","git_commits_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/git/commits{/sha}","comments_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/comments{/number}","issue_comment_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/issues/comments{/number}","contents_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/contents/{+path}","compare_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/merges","archive_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/downloads","issues_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/issues{/number}","pulls_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls{/number}","milestones_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/milestones{/number}","notifications_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/labels{/name}","releases_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/releases{/id}","deployments_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/deployments","created_at":"2016-09-07T15:22:23Z","updated_at":"2016-09-17T01:26:01Z","pushed_at":"2016-09-17T05:02:06Z","git_url":"git://github.com/nus-cs2103-AY1617S1/addressbook-level3.git","ssh_url":"git@github.com:nus-cs2103-AY1617S1/addressbook-level3.git","clone_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level3.git","svn_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level3","homepage":null,"size":12682,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":256,"mirror_url":null,"open_issues_count":408,"forks":256,"open_issues":408,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/430"},"html":{"href":"https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/430"},"issue":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/issues/430"},"comments":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/issues/430/comments"},"review_comments":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/430/comments"},"review_comment":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/430/commits"},"statuses":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/statuses/26965dbc1e296830890bb41bf78e4d056edcb908"}}}}
{"actor":{"display_login":"jeffryhartanto"}}