{"action":"created","comment":{"url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/comments/101907538","pull_request_review_id":22650938,"id":101907538,"diff_hunk":"@@ -0,0 +1,93 @@\n+package seedu.addressbook.data.person;\n+\n+import seedu.addressbook.data.exception.IllegalValueException;\n+\n+public class Contact {\n+\n+\tprivate String _example = \"\";\n+\tprivate String _messageConstrains = \"\";\n+\tprivate String _validationRegex = \"\";\n+\tprivate String _value = \"\";\n+\tprivate boolean _isPrivate;\n+\t\n+\tpublic Contact(String _example, String _messageConstrains, String _validationRegex, String _value,\n+\t\t\tboolean _isPrivate) throws IllegalValueException {\n+\t\tsuper();\n+\t\tthis._example = _example;\n+\t\tthis._messageConstrains = _messageConstrains;\n+\t\tthis._validationRegex = _validationRegex;\n+\t\tthis._value = _value;\n+\t\tthis._isPrivate = _isPrivate;\n+\t\t\n+\t\tString trimmedAddress = _value.trim();\n+\t\tif(!ifValidContact(trimmedAddress)){\n+\t\t\tthrow new IllegalValueException(_messageConstrains);\n+\t\t}\n+\t\tthis._value = trimmedAddress;\n+\t}\n+\n+\tpublic String get_example() {\n+\t\treturn _example;\n+\t}\n+\n+\tpublic void set_example(String _example) {\n+\t\tthis._example = _example;\n+\t}\n+\n+\tpublic String get_messageConstrains() {\n+\t\treturn _messageConstrains;\n+\t}\n+\n+\tpublic void set_messageConstrains(String _messageConstrains) {","path":"src/seedu/addressbook/data/person/Contact.java","position":41,"original_position":41,"commit_id":"ba08df53c126c5fb32ce170ce1f4c6501407819e","original_commit_id":"ba08df53c126c5fb32ce170ce1f4c6501407819e","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: [Method names should not contain underscores](https://www.codacy.com/app/se-edu/AY1617S2-AB-Level2/pullRequest?prid=507890)","created_at":"2017-02-19T02:47:44Z","updated_at":"2017-02-19T02:47:44Z","html_url":"https://github.com/nus-cs2103-AY1617S2/addressbook-level2/pull/612#discussion_r101907538","pull_request_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/612","_links":{"self":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/comments/101907538"},"html":{"href":"https://github.com/nus-cs2103-AY1617S2/addressbook-level2/pull/612#discussion_r101907538"},"pull_request":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/612"}}},"pull_request":{"url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/612","id":105037436,"html_url":"https://github.com/nus-cs2103-AY1617S2/addressbook-level2/pull/612","diff_url":"https://github.com/nus-cs2103-AY1617S2/addressbook-level2/pull/612.diff","patch_url":"https://github.com/nus-cs2103-AY1617S2/addressbook-level2/pull/612.patch","issue_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/issues/612","number":612,"state":"open","locked":false,"title":"[T4A3][W09-A4]Muhammad Mustaqiim Bin Muhar","user":{"login":"mustaqiimuhar","id":21576892,"avatar_url":"https://avatars.githubusercontent.com/u/21576892?v=3","gravatar_id":"","url":"https://api.github.com/users/mustaqiimuhar","html_url":"https://github.com/mustaqiimuhar","followers_url":"https://api.github.com/users/mustaqiimuhar/followers","following_url":"https://api.github.com/users/mustaqiimuhar/following{/other_user}","gists_url":"https://api.github.com/users/mustaqiimuhar/gists{/gist_id}","starred_url":"https://api.github.com/users/mustaqiimuhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mustaqiimuhar/subscriptions","organizations_url":"https://api.github.com/users/mustaqiimuhar/orgs","repos_url":"https://api.github.com/users/mustaqiimuhar/repos","events_url":"https://api.github.com/users/mustaqiimuhar/events{/privacy}","received_events_url":"https://api.github.com/users/mustaqiimuhar/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-02-07T16:09:29Z","updated_at":"2017-02-19T02:47:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e6745606bc2176c61f6da69e309bf3940af6ff0e","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/612/commits","review_comments_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/612/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/612/comments","statuses_url":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/statuses/ba08df53c126c5fb32ce170ce1f4c6501407819e","head":{"label":"mustaqiimuhar:T4A3","ref":"T4A3","sha":"ba08df53c126c5fb32ce170ce1f4c6501407819e","user":{"login":"mustaqiimuhar","id":21576892,"avatar_url":"https://avatars.githubusercontent.com/u/21576892?v=3","gravatar_id":"","url":"https://api.github.com/users/mustaqiimuhar","html_url":"https://github.com/mustaqiimuhar","followers_url":"https://api.github.com/users/mustaqiimuhar/followers","following_url":"https://api.github.com/users/mustaqiimuhar/following{/other_user}","gists_url":"https://api.github.com/users/mustaqiimuhar/gists{/gist_id}","starred_url":"https://api.github.com/users/mustaqiimuhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mustaqiimuhar/subscriptions","organizations_url":"https://api.github.com/users/mustaqiimuhar/orgs","repos_url":"https://api.github.com/users/mustaqiimuhar/repos","events_url":"https://api.github.com/users/mustaqiimuhar/events{/privacy}","received_events_url":"https://api.github.com/users/mustaqiimuhar/received_events","type":"User","site_admin":false},"repo":{"id":80519459,"name":"addressbook-level2","full_name":"mustaqiimuhar/addressbook-level2","owner":{"login":"mustaqiimuhar","id":21576892,"avatar_url":"https://avatars.githubusercontent.com/u/21576892?v=3","gravatar_id":"","url":"https://api.github.com/users/mustaqiimuhar","html_url":"https://github.com/mustaqiimuhar","followers_url":"https://api.github.com/users/mustaqiimuhar/followers","following_url":"https://api.github.com/users/mustaqiimuhar/following{/other_user}","gists_url":"https://api.github.com/users/mustaqiimuhar/gists{/gist_id}","starred_url":"https://api.github.com/users/mustaqiimuhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mustaqiimuhar/subscriptions","organizations_url":"https://api.github.com/users/mustaqiimuhar/orgs","repos_url":"https://api.github.com/users/mustaqiimuhar/repos","events_url":"https://api.github.com/users/mustaqiimuhar/events{/privacy}","received_events_url":"https://api.github.com/users/mustaqiimuhar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mustaqiimuhar/addressbook-level2","description":"A Java sample application for students. An AddressBook application that uses OOP basics.","fork":true,"url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2","forks_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/forks","keys_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/teams","hooks_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/hooks","issue_events_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/issues/events{/number}","events_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/events","assignees_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/assignees{/user}","branches_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/branches{/branch}","tags_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/tags","blobs_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/git/refs{/sha}","trees_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/statuses/{sha}","languages_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/languages","stargazers_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/stargazers","contributors_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/contributors","subscribers_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/subscribers","subscription_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/subscription","commits_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/commits{/sha}","git_commits_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/git/commits{/sha}","comments_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/comments{/number}","issue_comment_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/issues/comments{/number}","contents_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/contents/{+path}","compare_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/merges","archive_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/downloads","issues_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/issues{/number}","pulls_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/pulls{/number}","milestones_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/milestones{/number}","notifications_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/labels{/name}","releases_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/releases{/id}","deployments_url":"https://api.github.com/repos/mustaqiimuhar/addressbook-level2/deployments","created_at":"2017-01-31T12:43:02Z","updated_at":"2017-01-31T12:43:04Z","pushed_at":"2017-02-07T16:59:18Z","git_url":"git://github.com/mustaqiimuhar/addressbook-level2.git","ssh_url":"git@github.com:mustaqiimuhar/addressbook-level2.git","clone_url":"https://github.com/mustaqiimuhar/addressbook-level2.git","svn_url":"https://github.com/mustaqiimuhar/addressbook-level2","homepage":null,"size":3110,"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":"7614ce12db98852ef53a42c50c89b87fad0a2872","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-18T19:25:06Z","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":166,"mirror_url":null,"open_issues_count":562,"forks":166,"open_issues":562,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/612"},"html":{"href":"https://github.com/nus-cs2103-AY1617S2/addressbook-level2/pull/612"},"issue":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/issues/612"},"comments":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/issues/612/comments"},"review_comments":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/pulls/612/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/612/commits"},"statuses":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S2/addressbook-level2/statuses/ba08df53c126c5fb32ce170ce1f4c6501407819e"}}}}
{"actor":{"display_login":"codacy-bot"}}