{"action":"created","comment":{"url":"https://api.github.com/repos/next-step/java-lotto/pulls/comments/233241909","pull_request_review_id":174611672,"id":233241909,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzI0MTkwOQ==","diff_hunk":"@@ -48,21 +48,21 @@ public BigDecimal getBenefitRate() {\n         return calculateBenefitRate(totalWinAmount, purchaseAmount);\n     }\n \n-    public int getTotalAmount() {\n+    protected int getTotalAmount() {\n         return Arrays.stream(MatchType.values())\n                 .mapToInt(i -> i.getPrice() * lottoResults.get(i))","path":"src/main/java/lotto/domain/GameResult.java","position":7,"original_position":7,"commit_id":"cd62f20fc09dd97a99906b537768a70aee9019ea","original_commit_id":"cd62f20fc09dd97a99906b537768a70aee9019ea","user":{"login":"javajigi","id":520500,"node_id":"MDQ6VXNlcjUyMDUwMA==","avatar_url":"https://avatars2.githubusercontent.com/u/520500?v=4","gravatar_id":"","url":"https://api.github.com/users/javajigi","html_url":"https://github.com/javajigi","followers_url":"https://api.github.com/users/javajigi/followers","following_url":"https://api.github.com/users/javajigi/following{/other_user}","gists_url":"https://api.github.com/users/javajigi/gists{/gist_id}","starred_url":"https://api.github.com/users/javajigi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javajigi/subscriptions","organizations_url":"https://api.github.com/users/javajigi/orgs","repos_url":"https://api.github.com/users/javajigi/repos","events_url":"https://api.github.com/users/javajigi/events{/privacy}","received_events_url":"https://api.github.com/users/javajigi/received_events","type":"User","site_admin":false},"body":"상태를 가지는 객체의 데이터를 꺼내려(get)하지 말고 객체에 메시지를 보내라는 원칙에 따라 구현한다.\r\n\r\nMatchType에 메시지를 보내 구현한다.","created_at":"2018-11-13T22:10:16Z","updated_at":"2018-11-13T22:20:05Z","html_url":"https://github.com/next-step/java-lotto/pull/42#discussion_r233241909","pull_request_url":"https://api.github.com/repos/next-step/java-lotto/pulls/42","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/next-step/java-lotto/pulls/comments/233241909"},"html":{"href":"https://github.com/next-step/java-lotto/pull/42#discussion_r233241909"},"pull_request":{"href":"https://api.github.com/repos/next-step/java-lotto/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/next-step/java-lotto/pulls/42","id":230503241,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNTAzMjQx","html_url":"https://github.com/next-step/java-lotto/pull/42","diff_url":"https://github.com/next-step/java-lotto/pull/42.diff","patch_url":"https://github.com/next-step/java-lotto/pull/42.patch","issue_url":"https://api.github.com/repos/next-step/java-lotto/issues/42","number":42,"state":"open","locked":false,"title":"로또 3단계 리뷰 요청드립니다.","user":{"login":"jihan805","id":25901518,"node_id":"MDQ6VXNlcjI1OTAxNTE4","avatar_url":"https://avatars2.githubusercontent.com/u/25901518?v=4","gravatar_id":"","url":"https://api.github.com/users/jihan805","html_url":"https://github.com/jihan805","followers_url":"https://api.github.com/users/jihan805/followers","following_url":"https://api.github.com/users/jihan805/following{/other_user}","gists_url":"https://api.github.com/users/jihan805/gists{/gist_id}","starred_url":"https://api.github.com/users/jihan805/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jihan805/subscriptions","organizations_url":"https://api.github.com/users/jihan805/orgs","repos_url":"https://api.github.com/users/jihan805/repos","events_url":"https://api.github.com/users/jihan805/events{/privacy}","received_events_url":"https://api.github.com/users/jihan805/received_events","type":"User","site_admin":false},"body":"로또 2단계 피드백 함께 반영하였습니다!\r\n3단계 리뷰 요청드립니다. \r\n감사합니다 :)","created_at":"2018-11-13T14:52:05Z","updated_at":"2018-11-13T22:20:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9bec38843d815cd232c353435f403120c2a130cd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/next-step/java-lotto/pulls/42/commits","review_comments_url":"https://api.github.com/repos/next-step/java-lotto/pulls/42/comments","review_comment_url":"https://api.github.com/repos/next-step/java-lotto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/next-step/java-lotto/issues/42/comments","statuses_url":"https://api.github.com/repos/next-step/java-lotto/statuses/cd62f20fc09dd97a99906b537768a70aee9019ea","head":{"label":"jihan805:step3","ref":"step3","sha":"cd62f20fc09dd97a99906b537768a70aee9019ea","user":{"login":"jihan805","id":25901518,"node_id":"MDQ6VXNlcjI1OTAxNTE4","avatar_url":"https://avatars2.githubusercontent.com/u/25901518?v=4","gravatar_id":"","url":"https://api.github.com/users/jihan805","html_url":"https://github.com/jihan805","followers_url":"https://api.github.com/users/jihan805/followers","following_url":"https://api.github.com/users/jihan805/following{/other_user}","gists_url":"https://api.github.com/users/jihan805/gists{/gist_id}","starred_url":"https://api.github.com/users/jihan805/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jihan805/subscriptions","organizations_url":"https://api.github.com/users/jihan805/orgs","repos_url":"https://api.github.com/users/jihan805/repos","events_url":"https://api.github.com/users/jihan805/events{/privacy}","received_events_url":"https://api.github.com/users/jihan805/received_events","type":"User","site_admin":false},"repo":{"id":156548643,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY1NDg2NDM=","name":"java-lotto","full_name":"jihan805/java-lotto","private":false,"owner":{"login":"jihan805","id":25901518,"node_id":"MDQ6VXNlcjI1OTAxNTE4","avatar_url":"https://avatars2.githubusercontent.com/u/25901518?v=4","gravatar_id":"","url":"https://api.github.com/users/jihan805","html_url":"https://github.com/jihan805","followers_url":"https://api.github.com/users/jihan805/followers","following_url":"https://api.github.com/users/jihan805/following{/other_user}","gists_url":"https://api.github.com/users/jihan805/gists{/gist_id}","starred_url":"https://api.github.com/users/jihan805/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jihan805/subscriptions","organizations_url":"https://api.github.com/users/jihan805/orgs","repos_url":"https://api.github.com/users/jihan805/repos","events_url":"https://api.github.com/users/jihan805/events{/privacy}","received_events_url":"https://api.github.com/users/jihan805/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jihan805/java-lotto","description":"로또 게임 구현을 관리하는 저장소","fork":true,"url":"https://api.github.com/repos/jihan805/java-lotto","forks_url":"https://api.github.com/repos/jihan805/java-lotto/forks","keys_url":"https://api.github.com/repos/jihan805/java-lotto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jihan805/java-lotto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jihan805/java-lotto/teams","hooks_url":"https://api.github.com/repos/jihan805/java-lotto/hooks","issue_events_url":"https://api.github.com/repos/jihan805/java-lotto/issues/events{/number}","events_url":"https://api.github.com/repos/jihan805/java-lotto/events","assignees_url":"https://api.github.com/repos/jihan805/java-lotto/assignees{/user}","branches_url":"https://api.github.com/repos/jihan805/java-lotto/branches{/branch}","tags_url":"https://api.github.com/repos/jihan805/java-lotto/tags","blobs_url":"https://api.github.com/repos/jihan805/java-lotto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jihan805/java-lotto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jihan805/java-lotto/git/refs{/sha}","trees_url":"https://api.github.com/repos/jihan805/java-lotto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jihan805/java-lotto/statuses/{sha}","languages_url":"https://api.github.com/repos/jihan805/java-lotto/languages","stargazers_url":"https://api.github.com/repos/jihan805/java-lotto/stargazers","contributors_url":"https://api.github.com/repos/jihan805/java-lotto/contributors","subscribers_url":"https://api.github.com/repos/jihan805/java-lotto/subscribers","subscription_url":"https://api.github.com/repos/jihan805/java-lotto/subscription","commits_url":"https://api.github.com/repos/jihan805/java-lotto/commits{/sha}","git_commits_url":"https://api.github.com/repos/jihan805/java-lotto/git/commits{/sha}","comments_url":"https://api.github.com/repos/jihan805/java-lotto/comments{/number}","issue_comment_url":"https://api.github.com/repos/jihan805/java-lotto/issues/comments{/number}","contents_url":"https://api.github.com/repos/jihan805/java-lotto/contents/{+path}","compare_url":"https://api.github.com/repos/jihan805/java-lotto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jihan805/java-lotto/merges","archive_url":"https://api.github.com/repos/jihan805/java-lotto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jihan805/java-lotto/downloads","issues_url":"https://api.github.com/repos/jihan805/java-lotto/issues{/number}","pulls_url":"https://api.github.com/repos/jihan805/java-lotto/pulls{/number}","milestones_url":"https://api.github.com/repos/jihan805/java-lotto/milestones{/number}","notifications_url":"https://api.github.com/repos/jihan805/java-lotto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jihan805/java-lotto/labels{/name}","releases_url":"https://api.github.com/repos/jihan805/java-lotto/releases{/id}","deployments_url":"https://api.github.com/repos/jihan805/java-lotto/deployments","created_at":"2018-11-07T13:14:15Z","updated_at":"2018-11-07T13:14:17Z","pushed_at":"2018-11-13T14:49:28Z","git_url":"git://github.com/jihan805/java-lotto.git","ssh_url":"git@github.com:jihan805/java-lotto.git","clone_url":"https://github.com/jihan805/java-lotto.git","svn_url":"https://github.com/jihan805/java-lotto","homepage":null,"size":106,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"next-step:jihan805","ref":"jihan805","sha":"cda85bd45f6f27834c812d1fc8115dcbe49e3cdb","user":{"login":"next-step","id":25274995,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1Mjc0OTk1","avatar_url":"https://avatars0.githubusercontent.com/u/25274995?v=4","gravatar_id":"","url":"https://api.github.com/users/next-step","html_url":"https://github.com/next-step","followers_url":"https://api.github.com/users/next-step/followers","following_url":"https://api.github.com/users/next-step/following{/other_user}","gists_url":"https://api.github.com/users/next-step/gists{/gist_id}","starred_url":"https://api.github.com/users/next-step/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/next-step/subscriptions","organizations_url":"https://api.github.com/users/next-step/orgs","repos_url":"https://api.github.com/users/next-step/repos","events_url":"https://api.github.com/users/next-step/events{/privacy}","received_events_url":"https://api.github.com/users/next-step/received_events","type":"Organization","site_admin":false},"repo":{"id":154407696,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ0MDc2OTY=","name":"java-lotto","full_name":"next-step/java-lotto","private":false,"owner":{"login":"next-step","id":25274995,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1Mjc0OTk1","avatar_url":"https://avatars0.githubusercontent.com/u/25274995?v=4","gravatar_id":"","url":"https://api.github.com/users/next-step","html_url":"https://github.com/next-step","followers_url":"https://api.github.com/users/next-step/followers","following_url":"https://api.github.com/users/next-step/following{/other_user}","gists_url":"https://api.github.com/users/next-step/gists{/gist_id}","starred_url":"https://api.github.com/users/next-step/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/next-step/subscriptions","organizations_url":"https://api.github.com/users/next-step/orgs","repos_url":"https://api.github.com/users/next-step/repos","events_url":"https://api.github.com/users/next-step/events{/privacy}","received_events_url":"https://api.github.com/users/next-step/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/next-step/java-lotto","description":"로또 게임 구현을 관리하는 저장소","fork":false,"url":"https://api.github.com/repos/next-step/java-lotto","forks_url":"https://api.github.com/repos/next-step/java-lotto/forks","keys_url":"https://api.github.com/repos/next-step/java-lotto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/next-step/java-lotto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/next-step/java-lotto/teams","hooks_url":"https://api.github.com/repos/next-step/java-lotto/hooks","issue_events_url":"https://api.github.com/repos/next-step/java-lotto/issues/events{/number}","events_url":"https://api.github.com/repos/next-step/java-lotto/events","assignees_url":"https://api.github.com/repos/next-step/java-lotto/assignees{/user}","branches_url":"https://api.github.com/repos/next-step/java-lotto/branches{/branch}","tags_url":"https://api.github.com/repos/next-step/java-lotto/tags","blobs_url":"https://api.github.com/repos/next-step/java-lotto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/next-step/java-lotto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/next-step/java-lotto/git/refs{/sha}","trees_url":"https://api.github.com/repos/next-step/java-lotto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/next-step/java-lotto/statuses/{sha}","languages_url":"https://api.github.com/repos/next-step/java-lotto/languages","stargazers_url":"https://api.github.com/repos/next-step/java-lotto/stargazers","contributors_url":"https://api.github.com/repos/next-step/java-lotto/contributors","subscribers_url":"https://api.github.com/repos/next-step/java-lotto/subscribers","subscription_url":"https://api.github.com/repos/next-step/java-lotto/subscription","commits_url":"https://api.github.com/repos/next-step/java-lotto/commits{/sha}","git_commits_url":"https://api.github.com/repos/next-step/java-lotto/git/commits{/sha}","comments_url":"https://api.github.com/repos/next-step/java-lotto/comments{/number}","issue_comment_url":"https://api.github.com/repos/next-step/java-lotto/issues/comments{/number}","contents_url":"https://api.github.com/repos/next-step/java-lotto/contents/{+path}","compare_url":"https://api.github.com/repos/next-step/java-lotto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/next-step/java-lotto/merges","archive_url":"https://api.github.com/repos/next-step/java-lotto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/next-step/java-lotto/downloads","issues_url":"https://api.github.com/repos/next-step/java-lotto/issues{/number}","pulls_url":"https://api.github.com/repos/next-step/java-lotto/pulls{/number}","milestones_url":"https://api.github.com/repos/next-step/java-lotto/milestones{/number}","notifications_url":"https://api.github.com/repos/next-step/java-lotto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/next-step/java-lotto/labels{/name}","releases_url":"https://api.github.com/repos/next-step/java-lotto/releases{/id}","deployments_url":"https://api.github.com/repos/next-step/java-lotto/deployments","created_at":"2018-10-23T23:02:25Z","updated_at":"2018-11-12T16:41:42Z","pushed_at":"2018-11-13T22:05:31Z","git_url":"git://github.com/next-step/java-lotto.git","ssh_url":"git@github.com:next-step/java-lotto.git","clone_url":"https://github.com/next-step/java-lotto.git","svn_url":"https://github.com/next-step/java-lotto","homepage":null,"size":259,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":23,"open_issues":11,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/next-step/java-lotto/pulls/42"},"html":{"href":"https://github.com/next-step/java-lotto/pull/42"},"issue":{"href":"https://api.github.com/repos/next-step/java-lotto/issues/42"},"comments":{"href":"https://api.github.com/repos/next-step/java-lotto/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/next-step/java-lotto/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/next-step/java-lotto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/next-step/java-lotto/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/next-step/java-lotto/statuses/cd62f20fc09dd97a99906b537768a70aee9019ea"}},"author_association":"NONE"}}
{"actor":{"display_login":"javajigi"}}