{"action":"created","comment":{"url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/comments/78273721","id":78273721,"diff_hunk":"@@ -83,5 +83,18 @@ public int hashCode() {\n     public String toString() {\n         return getAsTextShowAll();\n     }\n+    \n+    public String getPrintableString() {\n+    \treturn getPrintableString(name, phone, email, address);\n+    }\n+    \n+    public String getPrintableString(Printable...printables){\n+    \tStringBuilder builder = new StringBuilder();\n+    \tfor (Printable p : printables){\n+    \t\tbuilder.append(p.getPrintableString());\n+    \t\tbuilder.append(\" \");","path":"src/seedu/addressbook/data/person/Person.java","position":13,"original_position":13,"commit_id":"9ba143efb872dae82400299b1713b352777641de","original_commit_id":"9ba143efb872dae82400299b1713b352777641de","user":{"login":"damithc","id":1673303,"avatar_url":"https://avatars.githubusercontent.com/u/1673303?v=3","gravatar_id":"","url":"https://api.github.com/users/damithc","html_url":"https://github.com/damithc","followers_url":"https://api.github.com/users/damithc/followers","following_url":"https://api.github.com/users/damithc/following{/other_user}","gists_url":"https://api.github.com/users/damithc/gists{/gist_id}","starred_url":"https://api.github.com/users/damithc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damithc/subscriptions","organizations_url":"https://api.github.com/users/damithc/orgs","repos_url":"https://api.github.com/users/damithc/repos","events_url":"https://api.github.com/users/damithc/events{/privacy}","received_events_url":"https://api.github.com/users/damithc/received_events","type":"User","site_admin":false},"body":"Doesn't this result in an extra space at the end? You could have used `StringJoiner` or `String.join` instead.","created_at":"2016-09-10T08:21:00Z","updated_at":"2016-09-10T08:21:00Z","html_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2/pull/1091#discussion_r78273721","pull_request_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/1091","_links":{"self":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/comments/78273721"},"html":{"href":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2/pull/1091#discussion_r78273721"},"pull_request":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/1091"}}},"pull_request":{"url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/1091","id":84153535,"html_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2/pull/1091","diff_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2/pull/1091.diff","patch_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2/pull/1091.patch","issue_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/issues/1091","number":1091,"state":"open","locked":false,"title":"[T4A4][W10-B4] Karen Ang","user":{"login":"karenang","id":7513183,"avatar_url":"https://avatars.githubusercontent.com/u/7513183?v=3","gravatar_id":"","url":"https://api.github.com/users/karenang","html_url":"https://github.com/karenang","followers_url":"https://api.github.com/users/karenang/followers","following_url":"https://api.github.com/users/karenang/following{/other_user}","gists_url":"https://api.github.com/users/karenang/gists{/gist_id}","starred_url":"https://api.github.com/users/karenang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karenang/subscriptions","organizations_url":"https://api.github.com/users/karenang/orgs","repos_url":"https://api.github.com/users/karenang/repos","events_url":"https://api.github.com/users/karenang/events{/privacy}","received_events_url":"https://api.github.com/users/karenang/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-06T16:23:43Z","updated_at":"2016-09-10T08:21:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de3a3f654e5c9c8ccb0ce3a1d25ce9e0e15b9c0a","assignee":{"login":"damithc","id":1673303,"avatar_url":"https://avatars.githubusercontent.com/u/1673303?v=3","gravatar_id":"","url":"https://api.github.com/users/damithc","html_url":"https://github.com/damithc","followers_url":"https://api.github.com/users/damithc/followers","following_url":"https://api.github.com/users/damithc/following{/other_user}","gists_url":"https://api.github.com/users/damithc/gists{/gist_id}","starred_url":"https://api.github.com/users/damithc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damithc/subscriptions","organizations_url":"https://api.github.com/users/damithc/orgs","repos_url":"https://api.github.com/users/damithc/repos","events_url":"https://api.github.com/users/damithc/events{/privacy}","received_events_url":"https://api.github.com/users/damithc/received_events","type":"User","site_admin":false},"assignees":[{"login":"damithc","id":1673303,"avatar_url":"https://avatars.githubusercontent.com/u/1673303?v=3","gravatar_id":"","url":"https://api.github.com/users/damithc","html_url":"https://github.com/damithc","followers_url":"https://api.github.com/users/damithc/followers","following_url":"https://api.github.com/users/damithc/following{/other_user}","gists_url":"https://api.github.com/users/damithc/gists{/gist_id}","starred_url":"https://api.github.com/users/damithc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damithc/subscriptions","organizations_url":"https://api.github.com/users/damithc/orgs","repos_url":"https://api.github.com/users/damithc/repos","events_url":"https://api.github.com/users/damithc/events{/privacy}","received_events_url":"https://api.github.com/users/damithc/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/1091/commits","review_comments_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/1091/comments","review_comment_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/issues/1091/comments","statuses_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/statuses/9ba143efb872dae82400299b1713b352777641de","head":{"label":"karenang:T4A4","ref":"T4A4","sha":"9ba143efb872dae82400299b1713b352777641de","user":{"login":"karenang","id":7513183,"avatar_url":"https://avatars.githubusercontent.com/u/7513183?v=3","gravatar_id":"","url":"https://api.github.com/users/karenang","html_url":"https://github.com/karenang","followers_url":"https://api.github.com/users/karenang/followers","following_url":"https://api.github.com/users/karenang/following{/other_user}","gists_url":"https://api.github.com/users/karenang/gists{/gist_id}","starred_url":"https://api.github.com/users/karenang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karenang/subscriptions","organizations_url":"https://api.github.com/users/karenang/orgs","repos_url":"https://api.github.com/users/karenang/repos","events_url":"https://api.github.com/users/karenang/events{/privacy}","received_events_url":"https://api.github.com/users/karenang/received_events","type":"User","site_admin":false},"repo":{"id":66692357,"name":"addressbook-level2","full_name":"karenang/addressbook-level2","owner":{"login":"karenang","id":7513183,"avatar_url":"https://avatars.githubusercontent.com/u/7513183?v=3","gravatar_id":"","url":"https://api.github.com/users/karenang","html_url":"https://github.com/karenang","followers_url":"https://api.github.com/users/karenang/followers","following_url":"https://api.github.com/users/karenang/following{/other_user}","gists_url":"https://api.github.com/users/karenang/gists{/gist_id}","starred_url":"https://api.github.com/users/karenang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karenang/subscriptions","organizations_url":"https://api.github.com/users/karenang/orgs","repos_url":"https://api.github.com/users/karenang/repos","events_url":"https://api.github.com/users/karenang/events{/privacy}","received_events_url":"https://api.github.com/users/karenang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karenang/addressbook-level2","description":"A Java sample application for students. An AddressBook application that uses OOP basics.","fork":true,"url":"https://api.github.com/repos/karenang/addressbook-level2","forks_url":"https://api.github.com/repos/karenang/addressbook-level2/forks","keys_url":"https://api.github.com/repos/karenang/addressbook-level2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karenang/addressbook-level2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karenang/addressbook-level2/teams","hooks_url":"https://api.github.com/repos/karenang/addressbook-level2/hooks","issue_events_url":"https://api.github.com/repos/karenang/addressbook-level2/issues/events{/number}","events_url":"https://api.github.com/repos/karenang/addressbook-level2/events","assignees_url":"https://api.github.com/repos/karenang/addressbook-level2/assignees{/user}","branches_url":"https://api.github.com/repos/karenang/addressbook-level2/branches{/branch}","tags_url":"https://api.github.com/repos/karenang/addressbook-level2/tags","blobs_url":"https://api.github.com/repos/karenang/addressbook-level2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karenang/addressbook-level2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karenang/addressbook-level2/git/refs{/sha}","trees_url":"https://api.github.com/repos/karenang/addressbook-level2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karenang/addressbook-level2/statuses/{sha}","languages_url":"https://api.github.com/repos/karenang/addressbook-level2/languages","stargazers_url":"https://api.github.com/repos/karenang/addressbook-level2/stargazers","contributors_url":"https://api.github.com/repos/karenang/addressbook-level2/contributors","subscribers_url":"https://api.github.com/repos/karenang/addressbook-level2/subscribers","subscription_url":"https://api.github.com/repos/karenang/addressbook-level2/subscription","commits_url":"https://api.github.com/repos/karenang/addressbook-level2/commits{/sha}","git_commits_url":"https://api.github.com/repos/karenang/addressbook-level2/git/commits{/sha}","comments_url":"https://api.github.com/repos/karenang/addressbook-level2/comments{/number}","issue_comment_url":"https://api.github.com/repos/karenang/addressbook-level2/issues/comments{/number}","contents_url":"https://api.github.com/repos/karenang/addressbook-level2/contents/{+path}","compare_url":"https://api.github.com/repos/karenang/addressbook-level2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karenang/addressbook-level2/merges","archive_url":"https://api.github.com/repos/karenang/addressbook-level2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karenang/addressbook-level2/downloads","issues_url":"https://api.github.com/repos/karenang/addressbook-level2/issues{/number}","pulls_url":"https://api.github.com/repos/karenang/addressbook-level2/pulls{/number}","milestones_url":"https://api.github.com/repos/karenang/addressbook-level2/milestones{/number}","notifications_url":"https://api.github.com/repos/karenang/addressbook-level2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karenang/addressbook-level2/labels{/name}","releases_url":"https://api.github.com/repos/karenang/addressbook-level2/releases{/id}","deployments_url":"https://api.github.com/repos/karenang/addressbook-level2/deployments","created_at":"2016-08-27T02:53:14Z","updated_at":"2016-08-27T02:53:15Z","pushed_at":"2016-09-06T16:27:55Z","git_url":"git://github.com/karenang/addressbook-level2.git","ssh_url":"git@github.com:karenang/addressbook-level2.git","clone_url":"https://github.com/karenang/addressbook-level2.git","svn_url":"https://github.com/karenang/addressbook-level2","homepage":null,"size":3074,"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":"46169956515bda6c75ca0b5851b5dab26581be3a","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":66551047,"name":"addressbook-level2","full_name":"nus-cs2103-AY1617S1/addressbook-level2","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-level2","description":"A Java sample application for students. An AddressBook application that uses OOP basics.","fork":true,"url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2","forks_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/forks","keys_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/teams","hooks_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/hooks","issue_events_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/issues/events{/number}","events_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/events","assignees_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/assignees{/user}","branches_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/branches{/branch}","tags_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/tags","blobs_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/git/refs{/sha}","trees_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/statuses/{sha}","languages_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/languages","stargazers_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/stargazers","contributors_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/contributors","subscribers_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/subscribers","subscription_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/subscription","commits_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/commits{/sha}","git_commits_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/git/commits{/sha}","comments_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/comments{/number}","issue_comment_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/issues/comments{/number}","contents_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/contents/{+path}","compare_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/merges","archive_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/downloads","issues_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/issues{/number}","pulls_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls{/number}","milestones_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/milestones{/number}","notifications_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/labels{/name}","releases_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/releases{/id}","deployments_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/deployments","created_at":"2016-08-25T11:09:03Z","updated_at":"2016-09-08T17:36:33Z","pushed_at":"2016-09-10T02:42:26Z","git_url":"git://github.com/nus-cs2103-AY1617S1/addressbook-level2.git","ssh_url":"git@github.com:nus-cs2103-AY1617S1/addressbook-level2.git","clone_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2.git","svn_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2","homepage":null,"size":33348,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":256,"mirror_url":null,"open_issues_count":779,"forks":256,"open_issues":779,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/1091"},"html":{"href":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2/pull/1091"},"issue":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/issues/1091"},"comments":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/issues/1091/comments"},"review_comments":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/1091/comments"},"review_comment":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/1091/commits"},"statuses":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/statuses/9ba143efb872dae82400299b1713b352777641de"}}}}
{"actor":{"display_login":"damithc"}}