{"action":"created","comment":{"url":"https://api.github.com/repos/sadielise/CS414Project/pulls/comments/84599790","pull_request_review_id":5368190,"id":84599790,"diff_hunk":"@@ -1,5 +1,54 @@\n package a4.domain;\n \n-public class Street {\n+public class Street extends Property {\n+\tint houseCount;\n+\tint hotelCount;\n+\tString color;\n \n+\tStreet(String name, int value, String color) {\n+\t\tsuper(name, value);\n+\t\tthis.color = color;\n+\t}\n+\n+\tpublic int getHouseCount() {\n+\t\treturn houseCount;\n+\t}\n+\n+\tpublic void setHouseCount(int houseCount) {\n+\t\tthis.houseCount = houseCount;\n+\t}\n+\n+\tpublic int getHotelCount() {\n+\t\treturn hotelCount;\n+\t}\n+\n+\tpublic void setHotelCount(int hotelCount) {\n+\t\tthis.hotelCount = hotelCount;\n+\t}\n+\n+\tpublic String getColor() {\n+\t\treturn color;\n+\t}\n+\n+\tpublic void setColor(String color) {\n+\t\tthis.color = color;\n+\t}\n+\n+\tpublic void addHouse() {\n+\t\tif (houseCount < 4)\n+\t\t\thouseCount++;\n+\t\telse if (hotelCount == 0) {\n+\t\t\thouseCount = 0;\n+\t\t\thotelCount = 1;\n+\t\t}","path":"src/a4/domain/Street.java","position":44,"original_position":44,"commit_id":"c0ce736b07d5e1ea9f7293852398b7eecf278f9a","original_commit_id":"c0ce736b07d5e1ea9f7293852398b7eecf278f9a","user":{"login":"gfontani","id":9438081,"avatar_url":"https://avatars.githubusercontent.com/u/9438081?v=3","gravatar_id":"","url":"https://api.github.com/users/gfontani","html_url":"https://github.com/gfontani","followers_url":"https://api.github.com/users/gfontani/followers","following_url":"https://api.github.com/users/gfontani/following{/other_user}","gists_url":"https://api.github.com/users/gfontani/gists{/gist_id}","starred_url":"https://api.github.com/users/gfontani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfontani/subscriptions","organizations_url":"https://api.github.com/users/gfontani/orgs","repos_url":"https://api.github.com/users/gfontani/repos","events_url":"https://api.github.com/users/gfontani/events{/privacy}","received_events_url":"https://api.github.com/users/gfontani/received_events","type":"User","site_admin":false},"body":"What if there is already a hotel? can a property have multiple hotels?","created_at":"2016-10-23T17:10:08Z","updated_at":"2016-10-23T17:10:08Z","html_url":"https://github.com/sadielise/CS414Project/pull/8#discussion_r84599790","pull_request_url":"https://api.github.com/repos/sadielise/CS414Project/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/sadielise/CS414Project/pulls/comments/84599790"},"html":{"href":"https://github.com/sadielise/CS414Project/pull/8#discussion_r84599790"},"pull_request":{"href":"https://api.github.com/repos/sadielise/CS414Project/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/sadielise/CS414Project/pulls/8","id":90497390,"html_url":"https://github.com/sadielise/CS414Project/pull/8","diff_url":"https://github.com/sadielise/CS414Project/pull/8.diff","patch_url":"https://github.com/sadielise/CS414Project/pull/8.patch","issue_url":"https://api.github.com/repos/sadielise/CS414Project/issues/8","number":8,"state":"open","locked":false,"title":"Jeff Board and Board Space","user":{"login":"buehlerj","id":16808046,"avatar_url":"https://avatars.githubusercontent.com/u/16808046?v=3","gravatar_id":"","url":"https://api.github.com/users/buehlerj","html_url":"https://github.com/buehlerj","followers_url":"https://api.github.com/users/buehlerj/followers","following_url":"https://api.github.com/users/buehlerj/following{/other_user}","gists_url":"https://api.github.com/users/buehlerj/gists{/gist_id}","starred_url":"https://api.github.com/users/buehlerj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buehlerj/subscriptions","organizations_url":"https://api.github.com/users/buehlerj/orgs","repos_url":"https://api.github.com/users/buehlerj/repos","events_url":"https://api.github.com/users/buehlerj/events{/privacy}","received_events_url":"https://api.github.com/users/buehlerj/received_events","type":"User","site_admin":false},"body":"Factory for BoardSpace, all Property types, all BoardSpace types, and Board.","created_at":"2016-10-22T22:13:32Z","updated_at":"2016-10-23T17:10:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7b984be3c34b5fe1c46b859c8aa72616a813f63","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sadielise/CS414Project/pulls/8/commits","review_comments_url":"https://api.github.com/repos/sadielise/CS414Project/pulls/8/comments","review_comment_url":"https://api.github.com/repos/sadielise/CS414Project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sadielise/CS414Project/issues/8/comments","statuses_url":"https://api.github.com/repos/sadielise/CS414Project/statuses/c0ce736b07d5e1ea9f7293852398b7eecf278f9a","head":{"label":"sadielise:jeff_board_and_space","ref":"jeff_board_and_space","sha":"c0ce736b07d5e1ea9f7293852398b7eecf278f9a","user":{"login":"sadielise","id":8921106,"avatar_url":"https://avatars.githubusercontent.com/u/8921106?v=3","gravatar_id":"","url":"https://api.github.com/users/sadielise","html_url":"https://github.com/sadielise","followers_url":"https://api.github.com/users/sadielise/followers","following_url":"https://api.github.com/users/sadielise/following{/other_user}","gists_url":"https://api.github.com/users/sadielise/gists{/gist_id}","starred_url":"https://api.github.com/users/sadielise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadielise/subscriptions","organizations_url":"https://api.github.com/users/sadielise/orgs","repos_url":"https://api.github.com/users/sadielise/repos","events_url":"https://api.github.com/users/sadielise/events{/privacy}","received_events_url":"https://api.github.com/users/sadielise/received_events","type":"User","site_admin":false},"repo":{"id":67883101,"name":"CS414Project","full_name":"sadielise/CS414Project","owner":{"login":"sadielise","id":8921106,"avatar_url":"https://avatars.githubusercontent.com/u/8921106?v=3","gravatar_id":"","url":"https://api.github.com/users/sadielise","html_url":"https://github.com/sadielise","followers_url":"https://api.github.com/users/sadielise/followers","following_url":"https://api.github.com/users/sadielise/following{/other_user}","gists_url":"https://api.github.com/users/sadielise/gists{/gist_id}","starred_url":"https://api.github.com/users/sadielise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadielise/subscriptions","organizations_url":"https://api.github.com/users/sadielise/orgs","repos_url":"https://api.github.com/users/sadielise/repos","events_url":"https://api.github.com/users/sadielise/events{/privacy}","received_events_url":"https://api.github.com/users/sadielise/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sadielise/CS414Project","description":"CS414 Assignment 2, Fall 2016","fork":false,"url":"https://api.github.com/repos/sadielise/CS414Project","forks_url":"https://api.github.com/repos/sadielise/CS414Project/forks","keys_url":"https://api.github.com/repos/sadielise/CS414Project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sadielise/CS414Project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sadielise/CS414Project/teams","hooks_url":"https://api.github.com/repos/sadielise/CS414Project/hooks","issue_events_url":"https://api.github.com/repos/sadielise/CS414Project/issues/events{/number}","events_url":"https://api.github.com/repos/sadielise/CS414Project/events","assignees_url":"https://api.github.com/repos/sadielise/CS414Project/assignees{/user}","branches_url":"https://api.github.com/repos/sadielise/CS414Project/branches{/branch}","tags_url":"https://api.github.com/repos/sadielise/CS414Project/tags","blobs_url":"https://api.github.com/repos/sadielise/CS414Project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sadielise/CS414Project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sadielise/CS414Project/git/refs{/sha}","trees_url":"https://api.github.com/repos/sadielise/CS414Project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sadielise/CS414Project/statuses/{sha}","languages_url":"https://api.github.com/repos/sadielise/CS414Project/languages","stargazers_url":"https://api.github.com/repos/sadielise/CS414Project/stargazers","contributors_url":"https://api.github.com/repos/sadielise/CS414Project/contributors","subscribers_url":"https://api.github.com/repos/sadielise/CS414Project/subscribers","subscription_url":"https://api.github.com/repos/sadielise/CS414Project/subscription","commits_url":"https://api.github.com/repos/sadielise/CS414Project/commits{/sha}","git_commits_url":"https://api.github.com/repos/sadielise/CS414Project/git/commits{/sha}","comments_url":"https://api.github.com/repos/sadielise/CS414Project/comments{/number}","issue_comment_url":"https://api.github.com/repos/sadielise/CS414Project/issues/comments{/number}","contents_url":"https://api.github.com/repos/sadielise/CS414Project/contents/{+path}","compare_url":"https://api.github.com/repos/sadielise/CS414Project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sadielise/CS414Project/merges","archive_url":"https://api.github.com/repos/sadielise/CS414Project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sadielise/CS414Project/downloads","issues_url":"https://api.github.com/repos/sadielise/CS414Project/issues{/number}","pulls_url":"https://api.github.com/repos/sadielise/CS414Project/pulls{/number}","milestones_url":"https://api.github.com/repos/sadielise/CS414Project/milestones{/number}","notifications_url":"https://api.github.com/repos/sadielise/CS414Project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sadielise/CS414Project/labels{/name}","releases_url":"https://api.github.com/repos/sadielise/CS414Project/releases{/id}","deployments_url":"https://api.github.com/repos/sadielise/CS414Project/deployments","created_at":"2016-09-10T16:55:00Z","updated_at":"2016-10-22T19:26:04Z","pushed_at":"2016-10-23T01:23:45Z","git_url":"git://github.com/sadielise/CS414Project.git","ssh_url":"git@github.com:sadielise/CS414Project.git","clone_url":"https://github.com/sadielise/CS414Project.git","svn_url":"https://github.com/sadielise/CS414Project","homepage":null,"size":160,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"sadielise:master","ref":"master","sha":"5624bf2fd47eb2354fc2893baef12c379a577fab","user":{"login":"sadielise","id":8921106,"avatar_url":"https://avatars.githubusercontent.com/u/8921106?v=3","gravatar_id":"","url":"https://api.github.com/users/sadielise","html_url":"https://github.com/sadielise","followers_url":"https://api.github.com/users/sadielise/followers","following_url":"https://api.github.com/users/sadielise/following{/other_user}","gists_url":"https://api.github.com/users/sadielise/gists{/gist_id}","starred_url":"https://api.github.com/users/sadielise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadielise/subscriptions","organizations_url":"https://api.github.com/users/sadielise/orgs","repos_url":"https://api.github.com/users/sadielise/repos","events_url":"https://api.github.com/users/sadielise/events{/privacy}","received_events_url":"https://api.github.com/users/sadielise/received_events","type":"User","site_admin":false},"repo":{"id":67883101,"name":"CS414Project","full_name":"sadielise/CS414Project","owner":{"login":"sadielise","id":8921106,"avatar_url":"https://avatars.githubusercontent.com/u/8921106?v=3","gravatar_id":"","url":"https://api.github.com/users/sadielise","html_url":"https://github.com/sadielise","followers_url":"https://api.github.com/users/sadielise/followers","following_url":"https://api.github.com/users/sadielise/following{/other_user}","gists_url":"https://api.github.com/users/sadielise/gists{/gist_id}","starred_url":"https://api.github.com/users/sadielise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadielise/subscriptions","organizations_url":"https://api.github.com/users/sadielise/orgs","repos_url":"https://api.github.com/users/sadielise/repos","events_url":"https://api.github.com/users/sadielise/events{/privacy}","received_events_url":"https://api.github.com/users/sadielise/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sadielise/CS414Project","description":"CS414 Assignment 2, Fall 2016","fork":false,"url":"https://api.github.com/repos/sadielise/CS414Project","forks_url":"https://api.github.com/repos/sadielise/CS414Project/forks","keys_url":"https://api.github.com/repos/sadielise/CS414Project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sadielise/CS414Project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sadielise/CS414Project/teams","hooks_url":"https://api.github.com/repos/sadielise/CS414Project/hooks","issue_events_url":"https://api.github.com/repos/sadielise/CS414Project/issues/events{/number}","events_url":"https://api.github.com/repos/sadielise/CS414Project/events","assignees_url":"https://api.github.com/repos/sadielise/CS414Project/assignees{/user}","branches_url":"https://api.github.com/repos/sadielise/CS414Project/branches{/branch}","tags_url":"https://api.github.com/repos/sadielise/CS414Project/tags","blobs_url":"https://api.github.com/repos/sadielise/CS414Project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sadielise/CS414Project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sadielise/CS414Project/git/refs{/sha}","trees_url":"https://api.github.com/repos/sadielise/CS414Project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sadielise/CS414Project/statuses/{sha}","languages_url":"https://api.github.com/repos/sadielise/CS414Project/languages","stargazers_url":"https://api.github.com/repos/sadielise/CS414Project/stargazers","contributors_url":"https://api.github.com/repos/sadielise/CS414Project/contributors","subscribers_url":"https://api.github.com/repos/sadielise/CS414Project/subscribers","subscription_url":"https://api.github.com/repos/sadielise/CS414Project/subscription","commits_url":"https://api.github.com/repos/sadielise/CS414Project/commits{/sha}","git_commits_url":"https://api.github.com/repos/sadielise/CS414Project/git/commits{/sha}","comments_url":"https://api.github.com/repos/sadielise/CS414Project/comments{/number}","issue_comment_url":"https://api.github.com/repos/sadielise/CS414Project/issues/comments{/number}","contents_url":"https://api.github.com/repos/sadielise/CS414Project/contents/{+path}","compare_url":"https://api.github.com/repos/sadielise/CS414Project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sadielise/CS414Project/merges","archive_url":"https://api.github.com/repos/sadielise/CS414Project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sadielise/CS414Project/downloads","issues_url":"https://api.github.com/repos/sadielise/CS414Project/issues{/number}","pulls_url":"https://api.github.com/repos/sadielise/CS414Project/pulls{/number}","milestones_url":"https://api.github.com/repos/sadielise/CS414Project/milestones{/number}","notifications_url":"https://api.github.com/repos/sadielise/CS414Project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sadielise/CS414Project/labels{/name}","releases_url":"https://api.github.com/repos/sadielise/CS414Project/releases{/id}","deployments_url":"https://api.github.com/repos/sadielise/CS414Project/deployments","created_at":"2016-09-10T16:55:00Z","updated_at":"2016-10-22T19:26:04Z","pushed_at":"2016-10-23T01:23:45Z","git_url":"git://github.com/sadielise/CS414Project.git","ssh_url":"git@github.com:sadielise/CS414Project.git","clone_url":"https://github.com/sadielise/CS414Project.git","svn_url":"https://github.com/sadielise/CS414Project","homepage":null,"size":160,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sadielise/CS414Project/pulls/8"},"html":{"href":"https://github.com/sadielise/CS414Project/pull/8"},"issue":{"href":"https://api.github.com/repos/sadielise/CS414Project/issues/8"},"comments":{"href":"https://api.github.com/repos/sadielise/CS414Project/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/sadielise/CS414Project/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/sadielise/CS414Project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sadielise/CS414Project/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/sadielise/CS414Project/statuses/c0ce736b07d5e1ea9f7293852398b7eecf278f9a"}}}}
{"actor":{"display_login":"gfontani"}}