{"action":"created","comment":{"url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/comments/99748506","pull_request_review_id":20433049,"id":99748506,"diff_hunk":"@@ -26,15 +37,29 @@ public Address(String address, boolean isPrivate) throws IllegalValueException {\n         if (!isValidAddress(trimmedAddress)) {\n             throw new IllegalValueException(MESSAGE_ADDRESS_CONSTRAINTS);\n         }\n+        String[] splitup = trimmedAddress.split(\",\");\n+        createClasses(splitup);\n         this.value = trimmedAddress;\n     }\n+    \n+    private String getAddress() {","path":"src/seedu/addressbook/data/person/Address.java","position":33,"original_position":33,"commit_id":"c3415140b33db64b32ec752b790508ec0239b120","original_commit_id":"c3415140b33db64b32ec752b790508ec0239b120","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused private methods such as 'getAddress()'.](https://www.codacy.com/app/se-edu/AY1617S2-AB-Level2/pullRequest?prid=505779)","created_at":"2017-02-07T05:34:56Z","updated_at":"2017-02-07T05:34:56Z","html_url":"https://github.com/nus-cs2103-AY1617S2/addressbook-level2/pull/305#discussion_r99748506","pull_request_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/305","_links":{"self":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/comments/99748506"},"html":{"href":"https://github.com/nus-cs2103-AY1617S2/addressbook-level2/pull/305#discussion_r99748506"},"pull_request":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/305"}}},"pull_request":{"url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/305","id":104181430,"html_url":"https://github.com/nus-cs2103-AY1617S2/addressbook-level2/pull/305","diff_url":"https://github.com/nus-cs2103-AY1617S2/addressbook-level2/pull/305.diff","patch_url":"https://github.com/nus-cs2103-AY1617S2/addressbook-level2/pull/305.patch","issue_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/issues/305","number":305,"state":"open","locked":false,"title":"[T3A3][W09-A4] Ian Tan Wei'En","user":{"login":"kishontf","id":22591084,"avatar_url":"https://avatars.githubusercontent.com/u/22591084?v=3","gravatar_id":"","url":"https://api.github.com/users/kishontf","html_url":"https://github.com/kishontf","followers_url":"https://api.github.com/users/kishontf/followers","following_url":"https://api.github.com/users/kishontf/following{/other_user}","gists_url":"https://api.github.com/users/kishontf/gists{/gist_id}","starred_url":"https://api.github.com/users/kishontf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kishontf/subscriptions","organizations_url":"https://api.github.com/users/kishontf/orgs","repos_url":"https://api.github.com/users/kishontf/repos","events_url":"https://api.github.com/users/kishontf/events{/privacy}","received_events_url":"https://api.github.com/users/kishontf/received_events","type":"User","site_admin":false},"body":"Ready for review","created_at":"2017-02-01T17:19:03Z","updated_at":"2017-02-07T05:34:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29265246397800ce78cb64b6608192e4c6cec8f2","assignee":{"login":"hwkchia","id":16570616,"avatar_url":"https://avatars.githubusercontent.com/u/16570616?v=3","gravatar_id":"","url":"https://api.github.com/users/hwkchia","html_url":"https://github.com/hwkchia","followers_url":"https://api.github.com/users/hwkchia/followers","following_url":"https://api.github.com/users/hwkchia/following{/other_user}","gists_url":"https://api.github.com/users/hwkchia/gists{/gist_id}","starred_url":"https://api.github.com/users/hwkchia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwkchia/subscriptions","organizations_url":"https://api.github.com/users/hwkchia/orgs","repos_url":"https://api.github.com/users/hwkchia/repos","events_url":"https://api.github.com/users/hwkchia/events{/privacy}","received_events_url":"https://api.github.com/users/hwkchia/received_events","type":"User","site_admin":false},"assignees":[{"login":"hwkchia","id":16570616,"avatar_url":"https://avatars.githubusercontent.com/u/16570616?v=3","gravatar_id":"","url":"https://api.github.com/users/hwkchia","html_url":"https://github.com/hwkchia","followers_url":"https://api.github.com/users/hwkchia/followers","following_url":"https://api.github.com/users/hwkchia/following{/other_user}","gists_url":"https://api.github.com/users/hwkchia/gists{/gist_id}","starred_url":"https://api.github.com/users/hwkchia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwkchia/subscriptions","organizations_url":"https://api.github.com/users/hwkchia/orgs","repos_url":"https://api.github.com/users/hwkchia/repos","events_url":"https://api.github.com/users/hwkchia/events{/privacy}","received_events_url":"https://api.github.com/users/hwkchia/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/305/commits","review_comments_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/305/comments","review_comment_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/issues/305/comments","statuses_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/statuses/c3415140b33db64b32ec752b790508ec0239b120","head":{"label":"kishontf:T3A3","ref":"T3A3","sha":"c3415140b33db64b32ec752b790508ec0239b120","user":{"login":"kishontf","id":22591084,"avatar_url":"https://avatars.githubusercontent.com/u/22591084?v=3","gravatar_id":"","url":"https://api.github.com/users/kishontf","html_url":"https://github.com/kishontf","followers_url":"https://api.github.com/users/kishontf/followers","following_url":"https://api.github.com/users/kishontf/following{/other_user}","gists_url":"https://api.github.com/users/kishontf/gists{/gist_id}","starred_url":"https://api.github.com/users/kishontf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kishontf/subscriptions","organizations_url":"https://api.github.com/users/kishontf/orgs","repos_url":"https://api.github.com/users/kishontf/repos","events_url":"https://api.github.com/users/kishontf/events{/privacy}","received_events_url":"https://api.github.com/users/kishontf/received_events","type":"User","site_admin":false},"repo":{"id":80613805,"name":"addressbook-level2","full_name":"kishontf/addressbook-level2","owner":{"login":"kishontf","id":22591084,"avatar_url":"https://avatars.githubusercontent.com/u/22591084?v=3","gravatar_id":"","url":"https://api.github.com/users/kishontf","html_url":"https://github.com/kishontf","followers_url":"https://api.github.com/users/kishontf/followers","following_url":"https://api.github.com/users/kishontf/following{/other_user}","gists_url":"https://api.github.com/users/kishontf/gists{/gist_id}","starred_url":"https://api.github.com/users/kishontf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kishontf/subscriptions","organizations_url":"https://api.github.com/users/kishontf/orgs","repos_url":"https://api.github.com/users/kishontf/repos","events_url":"https://api.github.com/users/kishontf/events{/privacy}","received_events_url":"https://api.github.com/users/kishontf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kishontf/addressbook-level2","description":"A Java sample application for students. An AddressBook application that uses OOP basics.","fork":true,"url":"https://api.github.com/repos/kishontf/addressbook-level2","forks_url":"https://api.github.com/repos/kishontf/addressbook-level2/forks","keys_url":"https://api.github.com/repos/kishontf/addressbook-level2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kishontf/addressbook-level2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kishontf/addressbook-level2/teams","hooks_url":"https://api.github.com/repos/kishontf/addressbook-level2/hooks","issue_events_url":"https://api.github.com/repos/kishontf/addressbook-level2/issues/events{/number}","events_url":"https://api.github.com/repos/kishontf/addressbook-level2/events","assignees_url":"https://api.github.com/repos/kishontf/addressbook-level2/assignees{/user}","branches_url":"https://api.github.com/repos/kishontf/addressbook-level2/branches{/branch}","tags_url":"https://api.github.com/repos/kishontf/addressbook-level2/tags","blobs_url":"https://api.github.com/repos/kishontf/addressbook-level2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kishontf/addressbook-level2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kishontf/addressbook-level2/git/refs{/sha}","trees_url":"https://api.github.com/repos/kishontf/addressbook-level2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kishontf/addressbook-level2/statuses/{sha}","languages_url":"https://api.github.com/repos/kishontf/addressbook-level2/languages","stargazers_url":"https://api.github.com/repos/kishontf/addressbook-level2/stargazers","contributors_url":"https://api.github.com/repos/kishontf/addressbook-level2/contributors","subscribers_url":"https://api.github.com/repos/kishontf/addressbook-level2/subscribers","subscription_url":"https://api.github.com/repos/kishontf/addressbook-level2/subscription","commits_url":"https://api.github.com/repos/kishontf/addressbook-level2/commits{/sha}","git_commits_url":"https://api.github.com/repos/kishontf/addressbook-level2/git/commits{/sha}","comments_url":"https://api.github.com/repos/kishontf/addressbook-level2/comments{/number}","issue_comment_url":"https://api.github.com/repos/kishontf/addressbook-level2/issues/comments{/number}","contents_url":"https://api.github.com/repos/kishontf/addressbook-level2/contents/{+path}","compare_url":"https://api.github.com/repos/kishontf/addressbook-level2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kishontf/addressbook-level2/merges","archive_url":"https://api.github.com/repos/kishontf/addressbook-level2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kishontf/addressbook-level2/downloads","issues_url":"https://api.github.com/repos/kishontf/addressbook-level2/issues{/number}","pulls_url":"https://api.github.com/repos/kishontf/addressbook-level2/pulls{/number}","milestones_url":"https://api.github.com/repos/kishontf/addressbook-level2/milestones{/number}","notifications_url":"https://api.github.com/repos/kishontf/addressbook-level2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kishontf/addressbook-level2/labels{/name}","releases_url":"https://api.github.com/repos/kishontf/addressbook-level2/releases{/id}","deployments_url":"https://api.github.com/repos/kishontf/addressbook-level2/deployments","created_at":"2017-02-01T11:26:25Z","updated_at":"2017-02-01T11:26:27Z","pushed_at":"2017-02-01T18:22:57Z","git_url":"git://github.com/kishontf/addressbook-level2.git","ssh_url":"git@github.com:kishontf/addressbook-level2.git","clone_url":"https://github.com/kishontf/addressbook-level2.git","svn_url":"https://github.com/kishontf/addressbook-level2","homepage":null,"size":3105,"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-AY1617S2:master","ref":"master","sha":"70f60ba80f0bbf2477c3f7cfca46efe21848d8c6","user":{"login":"nus-cs2103-AY1617S2","id":24604536,"avatar_url":"https://avatars.githubusercontent.com/u/24604536?v=3","gravatar_id":"","url":"https://api.github.com/users/nus-cs2103-AY1617S2","html_url":"https://github.com/nus-cs2103-AY1617S2","followers_url":"https://api.github.com/users/nus-cs2103-AY1617S2/followers","following_url":"https://api.github.com/users/nus-cs2103-AY1617S2/following{/other_user}","gists_url":"https://api.github.com/users/nus-cs2103-AY1617S2/gists{/gist_id}","starred_url":"https://api.github.com/users/nus-cs2103-AY1617S2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nus-cs2103-AY1617S2/subscriptions","organizations_url":"https://api.github.com/users/nus-cs2103-AY1617S2/orgs","repos_url":"https://api.github.com/users/nus-cs2103-AY1617S2/repos","events_url":"https://api.github.com/users/nus-cs2103-AY1617S2/events{/privacy}","received_events_url":"https://api.github.com/users/nus-cs2103-AY1617S2/received_events","type":"Organization","site_admin":false},"repo":{"id":76956252,"name":"addressbook-level2","full_name":"nus-cs2103-AY1617S2/addressbook-level2","owner":{"login":"nus-cs2103-AY1617S2","id":24604536,"avatar_url":"https://avatars.githubusercontent.com/u/24604536?v=3","gravatar_id":"","url":"https://api.github.com/users/nus-cs2103-AY1617S2","html_url":"https://github.com/nus-cs2103-AY1617S2","followers_url":"https://api.github.com/users/nus-cs2103-AY1617S2/followers","following_url":"https://api.github.com/users/nus-cs2103-AY1617S2/following{/other_user}","gists_url":"https://api.github.com/users/nus-cs2103-AY1617S2/gists{/gist_id}","starred_url":"https://api.github.com/users/nus-cs2103-AY1617S2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nus-cs2103-AY1617S2/subscriptions","organizations_url":"https://api.github.com/users/nus-cs2103-AY1617S2/orgs","repos_url":"https://api.github.com/users/nus-cs2103-AY1617S2/repos","events_url":"https://api.github.com/users/nus-cs2103-AY1617S2/events{/privacy}","received_events_url":"https://api.github.com/users/nus-cs2103-AY1617S2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nus-cs2103-AY1617S2/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-AY1617S2/addressbook-level2","forks_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/forks","keys_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/teams","hooks_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/hooks","issue_events_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/issues/events{/number}","events_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/events","assignees_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/assignees{/user}","branches_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/branches{/branch}","tags_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/tags","blobs_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/git/refs{/sha}","trees_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/statuses/{sha}","languages_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/languages","stargazers_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/stargazers","contributors_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/contributors","subscribers_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/subscribers","subscription_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/subscription","commits_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/commits{/sha}","git_commits_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/git/commits{/sha}","comments_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/comments{/number}","issue_comment_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/issues/comments{/number}","contents_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/contents/{+path}","compare_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/merges","archive_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/downloads","issues_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/issues{/number}","pulls_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls{/number}","milestones_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/milestones{/number}","notifications_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/labels{/name}","releases_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/releases{/id}","deployments_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/deployments","created_at":"2016-12-20T12:51:37Z","updated_at":"2017-02-01T14:41:26Z","pushed_at":"2017-02-07T05:27:44Z","git_url":"git://github.com/nus-cs2103-AY1617S2/addressbook-level2.git","ssh_url":"git@github.com:nus-cs2103-AY1617S2/addressbook-level2.git","clone_url":"https://github.com/nus-cs2103-AY1617S2/addressbook-level2.git","svn_url":"https://github.com/nus-cs2103-AY1617S2/addressbook-level2","homepage":null,"size":3101,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":157,"mirror_url":null,"open_issues_count":357,"forks":157,"open_issues":357,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/305"},"html":{"href":"https://github.com/nus-cs2103-AY1617S2/addressbook-level2/pull/305"},"issue":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/issues/305"},"comments":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/issues/305/comments"},"review_comments":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/305/comments"},"review_comment":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/305/commits"},"statuses":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/statuses/c3415140b33db64b32ec752b790508ec0239b120"}}}}
{"actor":{"display_login":"codacy-bot"}}