{"action":"created","comment":{"url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/comments/81703680","pull_request_review_id":2663502,"id":81703680,"diff_hunk":"@@ -0,0 +1,112 @@\n+package seedu.addressbook.storage;\n+\n+import java.io.BufferedReader;\n+import java.io.BufferedWriter;\n+import java.io.FileNotFoundException;\n+import java.io.FileReader;\n+import java.io.FileWriter;\n+import java.io.IOException;\n+import java.io.Reader;\n+import java.io.Writer;\n+import java.nio.file.Path;\n+import java.nio.file.Paths;\n+\n+import javax.xml.bind.JAXBContext;\n+import javax.xml.bind.JAXBException;\n+import javax.xml.bind.Marshaller;\n+import javax.xml.bind.Unmarshaller;\n+\n+import seedu.addressbook.data.AddressBook;\n+import seedu.addressbook.data.exception.IllegalValueException;\n+import seedu.addressbook.storage.Storage.InvalidStorageFilePathException;\n+import seedu.addressbook.storage.Storage.StorageOperationException;\n+import seedu.addressbook.storage.jaxb.AdaptedAddressBook;\n+\n+public class StorageStub extends Storage {\n+\t/** Default file path used if the user doesn't provide the file name. */\n+    public static final String DEFAULT_STORAGE_FILEPATH = \"addressbook.txt\";","path":"src/seedu/addressbook/storage/StorageStub.java","position":27,"original_position":27,"commit_id":"cae101abba8714a13e77ce137184829653de6c61","original_commit_id":"cae101abba8714a13e77ce137184829653de6c61","user":{"login":"nirandiw","id":1713871,"avatar_url":"https://avatars.githubusercontent.com/u/1713871?v=3","gravatar_id":"","url":"https://api.github.com/users/nirandiw","html_url":"https://github.com/nirandiw","followers_url":"https://api.github.com/users/nirandiw/followers","following_url":"https://api.github.com/users/nirandiw/following{/other_user}","gists_url":"https://api.github.com/users/nirandiw/gists{/gist_id}","starred_url":"https://api.github.com/users/nirandiw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirandiw/subscriptions","organizations_url":"https://api.github.com/users/nirandiw/orgs","repos_url":"https://api.github.com/users/nirandiw/repos","events_url":"https://api.github.com/users/nirandiw/events{/privacy}","received_events_url":"https://api.github.com/users/nirandiw/received_events","type":"User","site_admin":false},"body":"If `StorageStub` is used for `LogicTest` only, it can be quite minimal. None of the methods require a proper implementation. Stubs don't usually do any work.\r\n","created_at":"2016-10-04T08:03:09Z","updated_at":"2016-10-04T08:03:09Z","html_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/751#discussion_r81703680","pull_request_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/751","_links":{"self":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/comments/81703680"},"html":{"href":"https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/751#discussion_r81703680"},"pull_request":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/751"}}},"pull_request":{"url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/751","id":87096323,"html_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/751","diff_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/751.diff","patch_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/751.patch","issue_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/issues/751","number":751,"state":"open","locked":false,"title":"[T6A3][T10-C2] Kabir Khandpur","user":{"login":"kabir-plod","id":15871468,"avatar_url":"https://avatars.githubusercontent.com/u/15871468?v=3","gravatar_id":"","url":"https://api.github.com/users/kabir-plod","html_url":"https://github.com/kabir-plod","followers_url":"https://api.github.com/users/kabir-plod/followers","following_url":"https://api.github.com/users/kabir-plod/following{/other_user}","gists_url":"https://api.github.com/users/kabir-plod/gists{/gist_id}","starred_url":"https://api.github.com/users/kabir-plod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kabir-plod/subscriptions","organizations_url":"https://api.github.com/users/kabir-plod/orgs","repos_url":"https://api.github.com/users/kabir-plod/repos","events_url":"https://api.github.com/users/kabir-plod/events{/privacy}","received_events_url":"https://api.github.com/users/kabir-plod/received_events","type":"User","site_admin":false},"body":"Ready for review.","created_at":"2016-09-28T10:51:00Z","updated_at":"2016-10-04T08:03:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"460553b627fdf339c77552f5999ed7d7dc32c7ea","assignee":{"login":"nirandiw","id":1713871,"avatar_url":"https://avatars.githubusercontent.com/u/1713871?v=3","gravatar_id":"","url":"https://api.github.com/users/nirandiw","html_url":"https://github.com/nirandiw","followers_url":"https://api.github.com/users/nirandiw/followers","following_url":"https://api.github.com/users/nirandiw/following{/other_user}","gists_url":"https://api.github.com/users/nirandiw/gists{/gist_id}","starred_url":"https://api.github.com/users/nirandiw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirandiw/subscriptions","organizations_url":"https://api.github.com/users/nirandiw/orgs","repos_url":"https://api.github.com/users/nirandiw/repos","events_url":"https://api.github.com/users/nirandiw/events{/privacy}","received_events_url":"https://api.github.com/users/nirandiw/received_events","type":"User","site_admin":false},"assignees":[{"login":"nirandiw","id":1713871,"avatar_url":"https://avatars.githubusercontent.com/u/1713871?v=3","gravatar_id":"","url":"https://api.github.com/users/nirandiw","html_url":"https://github.com/nirandiw","followers_url":"https://api.github.com/users/nirandiw/followers","following_url":"https://api.github.com/users/nirandiw/following{/other_user}","gists_url":"https://api.github.com/users/nirandiw/gists{/gist_id}","starred_url":"https://api.github.com/users/nirandiw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirandiw/subscriptions","organizations_url":"https://api.github.com/users/nirandiw/orgs","repos_url":"https://api.github.com/users/nirandiw/repos","events_url":"https://api.github.com/users/nirandiw/events{/privacy}","received_events_url":"https://api.github.com/users/nirandiw/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/751/commits","review_comments_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/751/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/751/comments","statuses_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/statuses/cae101abba8714a13e77ce137184829653de6c61","head":{"label":"kabir-plod:T6A3","ref":"T6A3","sha":"cae101abba8714a13e77ce137184829653de6c61","user":{"login":"kabir-plod","id":15871468,"avatar_url":"https://avatars.githubusercontent.com/u/15871468?v=3","gravatar_id":"","url":"https://api.github.com/users/kabir-plod","html_url":"https://github.com/kabir-plod","followers_url":"https://api.github.com/users/kabir-plod/followers","following_url":"https://api.github.com/users/kabir-plod/following{/other_user}","gists_url":"https://api.github.com/users/kabir-plod/gists{/gist_id}","starred_url":"https://api.github.com/users/kabir-plod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kabir-plod/subscriptions","organizations_url":"https://api.github.com/users/kabir-plod/orgs","repos_url":"https://api.github.com/users/kabir-plod/repos","events_url":"https://api.github.com/users/kabir-plod/events{/privacy}","received_events_url":"https://api.github.com/users/kabir-plod/received_events","type":"User","site_admin":false},"repo":{"id":68354492,"name":"addressbook-level3","full_name":"kabir-plod/addressbook-level3","owner":{"login":"kabir-plod","id":15871468,"avatar_url":"https://avatars.githubusercontent.com/u/15871468?v=3","gravatar_id":"","url":"https://api.github.com/users/kabir-plod","html_url":"https://github.com/kabir-plod","followers_url":"https://api.github.com/users/kabir-plod/followers","following_url":"https://api.github.com/users/kabir-plod/following{/other_user}","gists_url":"https://api.github.com/users/kabir-plod/gists{/gist_id}","starred_url":"https://api.github.com/users/kabir-plod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kabir-plod/subscriptions","organizations_url":"https://api.github.com/users/kabir-plod/orgs","repos_url":"https://api.github.com/users/kabir-plod/repos","events_url":"https://api.github.com/users/kabir-plod/events{/privacy}","received_events_url":"https://api.github.com/users/kabir-plod/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kabir-plod/addressbook-level3","description":"Address Book sample application (Level 3)","fork":true,"url":"https://api.github.com/repos/kabir-plod/addressbook-level3","forks_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/forks","keys_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/teams","hooks_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/hooks","issue_events_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/issues/events{/number}","events_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/events","assignees_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/assignees{/user}","branches_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/branches{/branch}","tags_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/tags","blobs_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/git/refs{/sha}","trees_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/statuses/{sha}","languages_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/languages","stargazers_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/stargazers","contributors_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/contributors","subscribers_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/subscribers","subscription_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/subscription","commits_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/commits{/sha}","git_commits_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/git/commits{/sha}","comments_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/comments{/number}","issue_comment_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/issues/comments{/number}","contents_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/contents/{+path}","compare_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/merges","archive_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/downloads","issues_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/issues{/number}","pulls_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/pulls{/number}","milestones_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/milestones{/number}","notifications_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/labels{/name}","releases_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/releases{/id}","deployments_url":"https://api.github.com/repos/kabir-plod/addressbook-level3/deployments","created_at":"2016-09-16T05:10:54Z","updated_at":"2016-09-16T05:10:55Z","pushed_at":"2016-09-28T11:22:44Z","git_url":"git://github.com/kabir-plod/addressbook-level3.git","ssh_url":"git@github.com:kabir-plod/addressbook-level3.git","clone_url":"https://github.com/kabir-plod/addressbook-level3.git","svn_url":"https://github.com/kabir-plod/addressbook-level3","homepage":null,"size":285,"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":"6f0fc26ed700c94cb47ccbc35d8e2adc678ace57","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-10-03T16:45:51Z","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":16610,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":309,"mirror_url":null,"open_issues_count":278,"forks":309,"open_issues":278,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/751"},"html":{"href":"https://github.com/nus-cs2103-AY1617S1/addressbook-level3/pull/751"},"issue":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/issues/751"},"comments":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/issues/751/comments"},"review_comments":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/pulls/751/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/751/commits"},"statuses":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level3/statuses/cae101abba8714a13e77ce137184829653de6c61"}}}}
{"actor":{"display_login":"nirandiw"}}