{"action":"created","comment":{"url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/pulls/comments/105614680","pull_request_review_id":26501113,"id":105614680,"diff_hunk":"@@ -28,6 +31,16 @@ public static Warehouse init() {\n \n \t\t\t\tSystem.out.println(\"Zone[\" + init[0] + \"] Aisle:\" + init[1] + \" Rack[\" + init[2] + \"] Level:\" + init[3]\n \t\t\t\t\t\t+ \" with \" + init[4] + \" items\");\n+\t\t\t\tFloor f = wh.getFloor();\n+\t\t\t\tint zone = init[0].charAt(0) - 'A';\n+\t\t\t\tZone z = f.getZones().get(zone);\n+\t\t\t\tAisle aisle = z.getAisle().get(Integer.parseInt(init[1]));\n+\t\t\t\tRack rack = aisle.getRacks().get(Integer.parseInt(init[2]));\n+\t\t\t\tLevel level = rack.getLevel().get(Integer.parseInt(init[3]));\n+\t\t\t\tfor (int i = 0; i < Integer.parseInt(init[4]); i++) {\n+\t\t\t\t\tlevel.addItem(new Fascia(i));","path":"src/main.java","position":28,"original_position":28,"commit_id":"bdac698e79d967fc1d02f4ae1df67e8cef6ab599","original_commit_id":"bdac698e79d967fc1d02f4ae1df67e8cef6ab599","user":{"login":"PkHutch","id":13205417,"avatar_url":"https://avatars2.githubusercontent.com/u/13205417?v=3","gravatar_id":"","url":"https://api.github.com/users/PkHutch","html_url":"https://github.com/PkHutch","followers_url":"https://api.github.com/users/PkHutch/followers","following_url":"https://api.github.com/users/PkHutch/following{/other_user}","gists_url":"https://api.github.com/users/PkHutch/gists{/gist_id}","starred_url":"https://api.github.com/users/PkHutch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PkHutch/subscriptions","organizations_url":"https://api.github.com/users/PkHutch/orgs","repos_url":"https://api.github.com/users/PkHutch/repos","events_url":"https://api.github.com/users/PkHutch/events{/privacy}","received_events_url":"https://api.github.com/users/PkHutch/received_events","type":"User","site_admin":false},"body":"should be init[4]","created_at":"2017-03-13T09:07:39Z","updated_at":"2017-03-13T09:07:39Z","html_url":"https://github.com/PkHutch/CSC207H1SProject/pull/72#discussion_r105614680","pull_request_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/PkHutch/CSC207H1SProject/pulls/comments/105614680"},"html":{"href":"https://github.com/PkHutch/CSC207H1SProject/pull/72#discussion_r105614680"},"pull_request":{"href":"https://api.github.com/repos/PkHutch/CSC207H1SProject/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/pulls/72","id":110361131,"html_url":"https://github.com/PkHutch/CSC207H1SProject/pull/72","diff_url":"https://github.com/PkHutch/CSC207H1SProject/pull/72.diff","patch_url":"https://github.com/PkHutch/CSC207H1SProject/pull/72.patch","issue_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/issues/72","number":72,"state":"open","locked":false,"title":"INIT properly works now, and changed some place holder into real objects.","user":{"login":"hansenchen66","id":25469280,"avatar_url":"https://avatars1.githubusercontent.com/u/25469280?v=3","gravatar_id":"","url":"https://api.github.com/users/hansenchen66","html_url":"https://github.com/hansenchen66","followers_url":"https://api.github.com/users/hansenchen66/followers","following_url":"https://api.github.com/users/hansenchen66/following{/other_user}","gists_url":"https://api.github.com/users/hansenchen66/gists{/gist_id}","starred_url":"https://api.github.com/users/hansenchen66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansenchen66/subscriptions","organizations_url":"https://api.github.com/users/hansenchen66/orgs","repos_url":"https://api.github.com/users/hansenchen66/repos","events_url":"https://api.github.com/users/hansenchen66/events{/privacy}","received_events_url":"https://api.github.com/users/hansenchen66/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-03-13T08:56:33Z","updated_at":"2017-03-13T09:07:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"572c69b63d7386375bd36ce30ff321b0bfd21418","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/pulls/72/commits","review_comments_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/pulls/72/comments","review_comment_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/issues/72/comments","statuses_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/statuses/bdac698e79d967fc1d02f4ae1df67e8cef6ab599","head":{"label":"hansenchen66:re-commit","ref":"re-commit","sha":"bdac698e79d967fc1d02f4ae1df67e8cef6ab599","user":{"login":"hansenchen66","id":25469280,"avatar_url":"https://avatars1.githubusercontent.com/u/25469280?v=3","gravatar_id":"","url":"https://api.github.com/users/hansenchen66","html_url":"https://github.com/hansenchen66","followers_url":"https://api.github.com/users/hansenchen66/followers","following_url":"https://api.github.com/users/hansenchen66/following{/other_user}","gists_url":"https://api.github.com/users/hansenchen66/gists{/gist_id}","starred_url":"https://api.github.com/users/hansenchen66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansenchen66/subscriptions","organizations_url":"https://api.github.com/users/hansenchen66/orgs","repos_url":"https://api.github.com/users/hansenchen66/repos","events_url":"https://api.github.com/users/hansenchen66/events{/privacy}","received_events_url":"https://api.github.com/users/hansenchen66/received_events","type":"User","site_admin":false},"repo":{"id":84592397,"name":"CSC207H1SProject-1","full_name":"hansenchen66/CSC207H1SProject-1","owner":{"login":"hansenchen66","id":25469280,"avatar_url":"https://avatars1.githubusercontent.com/u/25469280?v=3","gravatar_id":"","url":"https://api.github.com/users/hansenchen66","html_url":"https://github.com/hansenchen66","followers_url":"https://api.github.com/users/hansenchen66/followers","following_url":"https://api.github.com/users/hansenchen66/following{/other_user}","gists_url":"https://api.github.com/users/hansenchen66/gists{/gist_id}","starred_url":"https://api.github.com/users/hansenchen66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansenchen66/subscriptions","organizations_url":"https://api.github.com/users/hansenchen66/orgs","repos_url":"https://api.github.com/users/hansenchen66/repos","events_url":"https://api.github.com/users/hansenchen66/events{/privacy}","received_events_url":"https://api.github.com/users/hansenchen66/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hansenchen66/CSC207H1SProject-1","description":null,"fork":true,"url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1","forks_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/forks","keys_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/teams","hooks_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/hooks","issue_events_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/issues/events{/number}","events_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/events","assignees_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/assignees{/user}","branches_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/branches{/branch}","tags_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/tags","blobs_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/statuses/{sha}","languages_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/languages","stargazers_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/stargazers","contributors_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/contributors","subscribers_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/subscribers","subscription_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/subscription","commits_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/contents/{+path}","compare_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/merges","archive_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/downloads","issues_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/issues{/number}","pulls_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/pulls{/number}","milestones_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/milestones{/number}","notifications_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/labels{/name}","releases_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/releases{/id}","deployments_url":"https://api.github.com/repos/hansenchen66/CSC207H1SProject-1/deployments","created_at":"2017-03-10T19:09:56Z","updated_at":"2017-03-11T18:44:50Z","pushed_at":"2017-03-13T08:58:48Z","git_url":"git://github.com/hansenchen66/CSC207H1SProject-1.git","ssh_url":"git@github.com:hansenchen66/CSC207H1SProject-1.git","clone_url":"https://github.com/hansenchen66/CSC207H1SProject-1.git","svn_url":"https://github.com/hansenchen66/CSC207H1SProject-1","homepage":null,"size":42,"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":"PkHutch:master","ref":"master","sha":"60e29f598153fff0030a4a9df0805293eb91a986","user":{"login":"PkHutch","id":13205417,"avatar_url":"https://avatars2.githubusercontent.com/u/13205417?v=3","gravatar_id":"","url":"https://api.github.com/users/PkHutch","html_url":"https://github.com/PkHutch","followers_url":"https://api.github.com/users/PkHutch/followers","following_url":"https://api.github.com/users/PkHutch/following{/other_user}","gists_url":"https://api.github.com/users/PkHutch/gists{/gist_id}","starred_url":"https://api.github.com/users/PkHutch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PkHutch/subscriptions","organizations_url":"https://api.github.com/users/PkHutch/orgs","repos_url":"https://api.github.com/users/PkHutch/repos","events_url":"https://api.github.com/users/PkHutch/events{/privacy}","received_events_url":"https://api.github.com/users/PkHutch/received_events","type":"User","site_admin":false},"repo":{"id":83711692,"name":"CSC207H1SProject","full_name":"PkHutch/CSC207H1SProject","owner":{"login":"PkHutch","id":13205417,"avatar_url":"https://avatars2.githubusercontent.com/u/13205417?v=3","gravatar_id":"","url":"https://api.github.com/users/PkHutch","html_url":"https://github.com/PkHutch","followers_url":"https://api.github.com/users/PkHutch/followers","following_url":"https://api.github.com/users/PkHutch/following{/other_user}","gists_url":"https://api.github.com/users/PkHutch/gists{/gist_id}","starred_url":"https://api.github.com/users/PkHutch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PkHutch/subscriptions","organizations_url":"https://api.github.com/users/PkHutch/orgs","repos_url":"https://api.github.com/users/PkHutch/repos","events_url":"https://api.github.com/users/PkHutch/events{/privacy}","received_events_url":"https://api.github.com/users/PkHutch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PkHutch/CSC207H1SProject","description":null,"fork":false,"url":"https://api.github.com/repos/PkHutch/CSC207H1SProject","forks_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/forks","keys_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/teams","hooks_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/hooks","issue_events_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/issues/events{/number}","events_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/events","assignees_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/assignees{/user}","branches_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/branches{/branch}","tags_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/tags","blobs_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/git/refs{/sha}","trees_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/statuses/{sha}","languages_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/languages","stargazers_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/stargazers","contributors_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/contributors","subscribers_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/subscribers","subscription_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/subscription","commits_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/commits{/sha}","git_commits_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/git/commits{/sha}","comments_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/comments{/number}","issue_comment_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/issues/comments{/number}","contents_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/contents/{+path}","compare_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/merges","archive_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/downloads","issues_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/issues{/number}","pulls_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/pulls{/number}","milestones_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/milestones{/number}","notifications_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/labels{/name}","releases_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/releases{/id}","deployments_url":"https://api.github.com/repos/PkHutch/CSC207H1SProject/deployments","created_at":"2017-03-02T18:33:06Z","updated_at":"2017-03-11T20:34:18Z","pushed_at":"2017-03-13T08:58:49Z","git_url":"git://github.com/PkHutch/CSC207H1SProject.git","ssh_url":"git@github.com:PkHutch/CSC207H1SProject.git","clone_url":"https://github.com/PkHutch/CSC207H1SProject.git","svn_url":"https://github.com/PkHutch/CSC207H1SProject","homepage":null,"size":42,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":10,"forks":2,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PkHutch/CSC207H1SProject/pulls/72"},"html":{"href":"https://github.com/PkHutch/CSC207H1SProject/pull/72"},"issue":{"href":"https://api.github.com/repos/PkHutch/CSC207H1SProject/issues/72"},"comments":{"href":"https://api.github.com/repos/PkHutch/CSC207H1SProject/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/PkHutch/CSC207H1SProject/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/PkHutch/CSC207H1SProject/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PkHutch/CSC207H1SProject/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/PkHutch/CSC207H1SProject/statuses/bdac698e79d967fc1d02f4ae1df67e8cef6ab599"}}}}
{"actor":{"display_login":"PkHutch"}}