{"action":"created","comment":{"url":"https://api.github.com/repos/Taniann/MateAcademyFirst/pulls/comments/245332096","pull_request_review_id":189412710,"id":245332096,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTMzMjA5Ng==","diff_hunk":"@@ -0,0 +1,71 @@\n+package ua.mateacademy.tania.lesson5.taskfruits;\n+\n+import java.math.BigDecimal;\n+import java.time.LocalDate;\n+import java.util.ArrayList;\n+import java.util.List;\n+import java.util.stream.Collectors;\n+\n+import static java.time.temporal.ChronoUnit.DAYS;\n+\n+/**\n+ * Created by Tania Nebesna on 04.01.2019.\n+ */\n+public class Shop {\n+    private static final int DAYS_FOR_SALE = 7;\n+    private static final BigDecimal MULTIPLIER_FOR_SALE = BigDecimal.valueOf(0.75);\n+\n+    private List<Fruit> fruits = new ArrayList<>();\n+\n+    public  List<Fruit> getFruits() {\n+        return fruits;\n+    }\n+\n+    public void addFruit(Fruit fruit) {","path":"src/main/java/ua/mateacademy/tania/lesson5/taskfruits/Shop.java","position":24,"original_position":24,"commit_id":"7b0b22173c1658c96b7241c887836577da0fa0c3","original_commit_id":"7b0b22173c1658c96b7241c887836577da0fa0c3","user":{"login":"SergeyPasko","id":7932908,"node_id":"MDQ6VXNlcjc5MzI5MDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7932908?v=4","gravatar_id":"","url":"https://api.github.com/users/SergeyPasko","html_url":"https://github.com/SergeyPasko","followers_url":"https://api.github.com/users/SergeyPasko/followers","following_url":"https://api.github.com/users/SergeyPasko/following{/other_user}","gists_url":"https://api.github.com/users/SergeyPasko/gists{/gist_id}","starred_url":"https://api.github.com/users/SergeyPasko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergeyPasko/subscriptions","organizations_url":"https://api.github.com/users/SergeyPasko/orgs","repos_url":"https://api.github.com/users/SergeyPasko/repos","events_url":"https://api.github.com/users/SergeyPasko/events{/privacy}","received_events_url":"https://api.github.com/users/SergeyPasko/received_events","type":"User","site_admin":false},"body":"You would like use List as Set. It incorrectly, change","created_at":"2019-01-04T15:36:34Z","updated_at":"2019-01-04T15:36:34Z","html_url":"https://github.com/Taniann/MateAcademyFirst/pull/1#discussion_r245332096","pull_request_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Taniann/MateAcademyFirst/pulls/comments/245332096"},"html":{"href":"https://github.com/Taniann/MateAcademyFirst/pull/1#discussion_r245332096"},"pull_request":{"href":"https://api.github.com/repos/Taniann/MateAcademyFirst/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Taniann/MateAcademyFirst/pulls/1","id":242269283,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQyMjY5Mjgz","html_url":"https://github.com/Taniann/MateAcademyFirst/pull/1","diff_url":"https://github.com/Taniann/MateAcademyFirst/pull/1.diff","patch_url":"https://github.com/Taniann/MateAcademyFirst/pull/1.patch","issue_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/issues/1","number":1,"state":"open","locked":false,"title":"task fruits finished","user":{"login":"Taniann","id":24590272,"node_id":"MDQ6VXNlcjI0NTkwMjcy","avatar_url":"https://avatars3.githubusercontent.com/u/24590272?v=4","gravatar_id":"","url":"https://api.github.com/users/Taniann","html_url":"https://github.com/Taniann","followers_url":"https://api.github.com/users/Taniann/followers","following_url":"https://api.github.com/users/Taniann/following{/other_user}","gists_url":"https://api.github.com/users/Taniann/gists{/gist_id}","starred_url":"https://api.github.com/users/Taniann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taniann/subscriptions","organizations_url":"https://api.github.com/users/Taniann/orgs","repos_url":"https://api.github.com/users/Taniann/repos","events_url":"https://api.github.com/users/Taniann/events{/privacy}","received_events_url":"https://api.github.com/users/Taniann/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-01-04T13:57:43Z","updated_at":"2019-01-04T15:36:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f76692a0873975f4f96b5e1013f06bce86bcdd8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/issues/1/comments","statuses_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/statuses/7b0b22173c1658c96b7241c887836577da0fa0c3","head":{"label":"Taniann:task-fruits","ref":"task-fruits","sha":"7b0b22173c1658c96b7241c887836577da0fa0c3","user":{"login":"Taniann","id":24590272,"node_id":"MDQ6VXNlcjI0NTkwMjcy","avatar_url":"https://avatars3.githubusercontent.com/u/24590272?v=4","gravatar_id":"","url":"https://api.github.com/users/Taniann","html_url":"https://github.com/Taniann","followers_url":"https://api.github.com/users/Taniann/followers","following_url":"https://api.github.com/users/Taniann/following{/other_user}","gists_url":"https://api.github.com/users/Taniann/gists{/gist_id}","starred_url":"https://api.github.com/users/Taniann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taniann/subscriptions","organizations_url":"https://api.github.com/users/Taniann/orgs","repos_url":"https://api.github.com/users/Taniann/repos","events_url":"https://api.github.com/users/Taniann/events{/privacy}","received_events_url":"https://api.github.com/users/Taniann/received_events","type":"User","site_admin":false},"repo":{"id":162608445,"node_id":"MDEwOlJlcG9zaXRvcnkxNjI2MDg0NDU=","name":"MateAcademyFirst","full_name":"Taniann/MateAcademyFirst","private":false,"owner":{"login":"Taniann","id":24590272,"node_id":"MDQ6VXNlcjI0NTkwMjcy","avatar_url":"https://avatars3.githubusercontent.com/u/24590272?v=4","gravatar_id":"","url":"https://api.github.com/users/Taniann","html_url":"https://github.com/Taniann","followers_url":"https://api.github.com/users/Taniann/followers","following_url":"https://api.github.com/users/Taniann/following{/other_user}","gists_url":"https://api.github.com/users/Taniann/gists{/gist_id}","starred_url":"https://api.github.com/users/Taniann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taniann/subscriptions","organizations_url":"https://api.github.com/users/Taniann/orgs","repos_url":"https://api.github.com/users/Taniann/repos","events_url":"https://api.github.com/users/Taniann/events{/privacy}","received_events_url":"https://api.github.com/users/Taniann/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Taniann/MateAcademyFirst","description":null,"fork":false,"url":"https://api.github.com/repos/Taniann/MateAcademyFirst","forks_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/forks","keys_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/teams","hooks_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/hooks","issue_events_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/issues/events{/number}","events_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/events","assignees_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/assignees{/user}","branches_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/branches{/branch}","tags_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/tags","blobs_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/git/refs{/sha}","trees_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/statuses/{sha}","languages_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/languages","stargazers_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/stargazers","contributors_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/contributors","subscribers_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/subscribers","subscription_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/subscription","commits_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/commits{/sha}","git_commits_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/git/commits{/sha}","comments_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/comments{/number}","issue_comment_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/issues/comments{/number}","contents_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/contents/{+path}","compare_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/merges","archive_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/downloads","issues_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/issues{/number}","pulls_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/pulls{/number}","milestones_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/milestones{/number}","notifications_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/labels{/name}","releases_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/releases{/id}","deployments_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/deployments","created_at":"2018-12-20T17:03:55Z","updated_at":"2019-01-03T22:14:08Z","pushed_at":"2019-01-04T13:57:44Z","git_url":"git://github.com/Taniann/MateAcademyFirst.git","ssh_url":"git@github.com:Taniann/MateAcademyFirst.git","clone_url":"https://github.com/Taniann/MateAcademyFirst.git","svn_url":"https://github.com/Taniann/MateAcademyFirst","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Taniann:master","ref":"master","sha":"d7fb3df4b0a77e3cf4c7ec2ffb01465c57f9543e","user":{"login":"Taniann","id":24590272,"node_id":"MDQ6VXNlcjI0NTkwMjcy","avatar_url":"https://avatars3.githubusercontent.com/u/24590272?v=4","gravatar_id":"","url":"https://api.github.com/users/Taniann","html_url":"https://github.com/Taniann","followers_url":"https://api.github.com/users/Taniann/followers","following_url":"https://api.github.com/users/Taniann/following{/other_user}","gists_url":"https://api.github.com/users/Taniann/gists{/gist_id}","starred_url":"https://api.github.com/users/Taniann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taniann/subscriptions","organizations_url":"https://api.github.com/users/Taniann/orgs","repos_url":"https://api.github.com/users/Taniann/repos","events_url":"https://api.github.com/users/Taniann/events{/privacy}","received_events_url":"https://api.github.com/users/Taniann/received_events","type":"User","site_admin":false},"repo":{"id":162608445,"node_id":"MDEwOlJlcG9zaXRvcnkxNjI2MDg0NDU=","name":"MateAcademyFirst","full_name":"Taniann/MateAcademyFirst","private":false,"owner":{"login":"Taniann","id":24590272,"node_id":"MDQ6VXNlcjI0NTkwMjcy","avatar_url":"https://avatars3.githubusercontent.com/u/24590272?v=4","gravatar_id":"","url":"https://api.github.com/users/Taniann","html_url":"https://github.com/Taniann","followers_url":"https://api.github.com/users/Taniann/followers","following_url":"https://api.github.com/users/Taniann/following{/other_user}","gists_url":"https://api.github.com/users/Taniann/gists{/gist_id}","starred_url":"https://api.github.com/users/Taniann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taniann/subscriptions","organizations_url":"https://api.github.com/users/Taniann/orgs","repos_url":"https://api.github.com/users/Taniann/repos","events_url":"https://api.github.com/users/Taniann/events{/privacy}","received_events_url":"https://api.github.com/users/Taniann/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Taniann/MateAcademyFirst","description":null,"fork":false,"url":"https://api.github.com/repos/Taniann/MateAcademyFirst","forks_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/forks","keys_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/teams","hooks_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/hooks","issue_events_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/issues/events{/number}","events_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/events","assignees_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/assignees{/user}","branches_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/branches{/branch}","tags_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/tags","blobs_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/git/refs{/sha}","trees_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/statuses/{sha}","languages_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/languages","stargazers_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/stargazers","contributors_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/contributors","subscribers_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/subscribers","subscription_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/subscription","commits_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/commits{/sha}","git_commits_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/git/commits{/sha}","comments_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/comments{/number}","issue_comment_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/issues/comments{/number}","contents_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/contents/{+path}","compare_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/merges","archive_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/downloads","issues_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/issues{/number}","pulls_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/pulls{/number}","milestones_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/milestones{/number}","notifications_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/labels{/name}","releases_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/releases{/id}","deployments_url":"https://api.github.com/repos/Taniann/MateAcademyFirst/deployments","created_at":"2018-12-20T17:03:55Z","updated_at":"2019-01-03T22:14:08Z","pushed_at":"2019-01-04T13:57:44Z","git_url":"git://github.com/Taniann/MateAcademyFirst.git","ssh_url":"git@github.com:Taniann/MateAcademyFirst.git","clone_url":"https://github.com/Taniann/MateAcademyFirst.git","svn_url":"https://github.com/Taniann/MateAcademyFirst","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Taniann/MateAcademyFirst/pulls/1"},"html":{"href":"https://github.com/Taniann/MateAcademyFirst/pull/1"},"issue":{"href":"https://api.github.com/repos/Taniann/MateAcademyFirst/issues/1"},"comments":{"href":"https://api.github.com/repos/Taniann/MateAcademyFirst/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Taniann/MateAcademyFirst/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Taniann/MateAcademyFirst/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Taniann/MateAcademyFirst/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Taniann/MateAcademyFirst/statuses/7b0b22173c1658c96b7241c887836577da0fa0c3"}},"author_association":"OWNER"}}
{"actor":{"display_login":"SergeyPasko"}}