{"action":"created","comment":{"url":"https://api.github.com/repos/kysna/mushroom/pulls/comments/85645165","pull_request_review_id":6351577,"id":85645165,"diff_hunk":"@@ -80,35 +68,10 @@ public void setNote(String note) {\n         this.note = note;\n     }\n \n-    public Map<Mushroom, Integer> getMushrooms() {\n-        return mushroomCount;\n-    }\n-\n-    public void setMushrooms(Map<Mushroom, Integer> map) {\n-        mushroomCount = map;\n-    }\n-\n-    public void addMushroom(Mushroom mushroom) {\n-        if(!this.mushroomCount.containsKey(mushroom)) {\n-            this.mushroomCount.put(mushroom, 1);\n-        } else {\n-            this.mushroomCount.put(mushroom,\n-                    this.mushroomCount.get(mushroom) + 1);\n-        }\n-\n-        mushroom.addVisit(this);\n-    }\n-\n-    public void removeMushroom(Mushroom mushroom) {\n-        this.mushroomCount.remove(mushroom);\n-        mushroom.removeVisit(this);\n-    }\n+    public Set<MushroomCount> getMushroomFounds() { return mushroomsFound; }\n \n-    public void removeAllMushrooms() {\n-        for (Mushroom key : this.mushroomCount.keySet()) {\n-            key.removeVisit(this);\n-        }\n-        this.mushroomCount.clear();\n+    public void setMushroomFounds(Set<MushroomCount> mushroomFounds) {","path":"persistence/src/main/java/cz/fi/muni/pa165/entity/Visit.java","position":83,"original_position":83,"commit_id":"fa447cbaa9aacae0d06d7d18dedef72c07aad184","original_commit_id":"fa447cbaa9aacae0d06d7d18dedef72c07aad184","user":{"login":"suomiy","id":3648838,"avatar_url":"https://avatars.githubusercontent.com/u/3648838?v=3","gravatar_id":"","url":"https://api.github.com/users/suomiy","html_url":"https://github.com/suomiy","followers_url":"https://api.github.com/users/suomiy/followers","following_url":"https://api.github.com/users/suomiy/following{/other_user}","gists_url":"https://api.github.com/users/suomiy/gists{/gist_id}","starred_url":"https://api.github.com/users/suomiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suomiy/subscriptions","organizations_url":"https://api.github.com/users/suomiy/orgs","repos_url":"https://api.github.com/users/suomiy/repos","events_url":"https://api.github.com/users/suomiy/events{/privacy}","received_events_url":"https://api.github.com/users/suomiy/received_events","type":"User","site_admin":false},"body":"again typo","created_at":"2016-10-29T18:01:23Z","updated_at":"2016-10-29T18:19:27Z","html_url":"https://github.com/kysna/mushroom/pull/8#discussion_r85645165","pull_request_url":"https://api.github.com/repos/kysna/mushroom/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/kysna/mushroom/pulls/comments/85645165"},"html":{"href":"https://github.com/kysna/mushroom/pull/8#discussion_r85645165"},"pull_request":{"href":"https://api.github.com/repos/kysna/mushroom/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/kysna/mushroom/pulls/8","id":91496227,"html_url":"https://github.com/kysna/mushroom/pull/8","diff_url":"https://github.com/kysna/mushroom/pull/8.diff","patch_url":"https://github.com/kysna/mushroom/pull/8.patch","issue_url":"https://api.github.com/repos/kysna/mushroom/issues/8","number":8,"state":"open","locked":false,"title":"Refactoring of Visit,Forest,ForestDaoImpl. Adding MushroomCountDao,Mu…","user":{"login":"erikmacej","id":18734267,"avatar_url":"https://avatars.githubusercontent.com/u/18734267?v=3","gravatar_id":"","url":"https://api.github.com/users/erikmacej","html_url":"https://github.com/erikmacej","followers_url":"https://api.github.com/users/erikmacej/followers","following_url":"https://api.github.com/users/erikmacej/following{/other_user}","gists_url":"https://api.github.com/users/erikmacej/gists{/gist_id}","starred_url":"https://api.github.com/users/erikmacej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikmacej/subscriptions","organizations_url":"https://api.github.com/users/erikmacej/orgs","repos_url":"https://api.github.com/users/erikmacej/repos","events_url":"https://api.github.com/users/erikmacej/events{/privacy}","received_events_url":"https://api.github.com/users/erikmacej/received_events","type":"User","site_admin":false},"body":"…shroomCountDaoImpl","created_at":"2016-10-29T17:41:29Z","updated_at":"2016-10-29T18:19:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a9da0ee4448f0a5afb485cb22bee59750bca0c6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kysna/mushroom/pulls/8/commits","review_comments_url":"https://api.github.com/repos/kysna/mushroom/pulls/8/comments","review_comment_url":"https://api.github.com/repos/kysna/mushroom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kysna/mushroom/issues/8/comments","statuses_url":"https://api.github.com/repos/kysna/mushroom/statuses/fa447cbaa9aacae0d06d7d18dedef72c07aad184","head":{"label":"kysna:erikmacejnew","ref":"erikmacejnew","sha":"fa447cbaa9aacae0d06d7d18dedef72c07aad184","user":{"login":"kysna","id":14806395,"avatar_url":"https://avatars.githubusercontent.com/u/14806395?v=3","gravatar_id":"","url":"https://api.github.com/users/kysna","html_url":"https://github.com/kysna","followers_url":"https://api.github.com/users/kysna/followers","following_url":"https://api.github.com/users/kysna/following{/other_user}","gists_url":"https://api.github.com/users/kysna/gists{/gist_id}","starred_url":"https://api.github.com/users/kysna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kysna/subscriptions","organizations_url":"https://api.github.com/users/kysna/orgs","repos_url":"https://api.github.com/users/kysna/repos","events_url":"https://api.github.com/users/kysna/events{/privacy}","received_events_url":"https://api.github.com/users/kysna/received_events","type":"User","site_admin":false},"repo":{"id":70889234,"name":"mushroom","full_name":"kysna/mushroom","owner":{"login":"kysna","id":14806395,"avatar_url":"https://avatars.githubusercontent.com/u/14806395?v=3","gravatar_id":"","url":"https://api.github.com/users/kysna","html_url":"https://github.com/kysna","followers_url":"https://api.github.com/users/kysna/followers","following_url":"https://api.github.com/users/kysna/following{/other_user}","gists_url":"https://api.github.com/users/kysna/gists{/gist_id}","starred_url":"https://api.github.com/users/kysna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kysna/subscriptions","organizations_url":"https://api.github.com/users/kysna/orgs","repos_url":"https://api.github.com/users/kysna/repos","events_url":"https://api.github.com/users/kysna/events{/privacy}","received_events_url":"https://api.github.com/users/kysna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kysna/mushroom","description":null,"fork":false,"url":"https://api.github.com/repos/kysna/mushroom","forks_url":"https://api.github.com/repos/kysna/mushroom/forks","keys_url":"https://api.github.com/repos/kysna/mushroom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kysna/mushroom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kysna/mushroom/teams","hooks_url":"https://api.github.com/repos/kysna/mushroom/hooks","issue_events_url":"https://api.github.com/repos/kysna/mushroom/issues/events{/number}","events_url":"https://api.github.com/repos/kysna/mushroom/events","assignees_url":"https://api.github.com/repos/kysna/mushroom/assignees{/user}","branches_url":"https://api.github.com/repos/kysna/mushroom/branches{/branch}","tags_url":"https://api.github.com/repos/kysna/mushroom/tags","blobs_url":"https://api.github.com/repos/kysna/mushroom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kysna/mushroom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kysna/mushroom/git/refs{/sha}","trees_url":"https://api.github.com/repos/kysna/mushroom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kysna/mushroom/statuses/{sha}","languages_url":"https://api.github.com/repos/kysna/mushroom/languages","stargazers_url":"https://api.github.com/repos/kysna/mushroom/stargazers","contributors_url":"https://api.github.com/repos/kysna/mushroom/contributors","subscribers_url":"https://api.github.com/repos/kysna/mushroom/subscribers","subscription_url":"https://api.github.com/repos/kysna/mushroom/subscription","commits_url":"https://api.github.com/repos/kysna/mushroom/commits{/sha}","git_commits_url":"https://api.github.com/repos/kysna/mushroom/git/commits{/sha}","comments_url":"https://api.github.com/repos/kysna/mushroom/comments{/number}","issue_comment_url":"https://api.github.com/repos/kysna/mushroom/issues/comments{/number}","contents_url":"https://api.github.com/repos/kysna/mushroom/contents/{+path}","compare_url":"https://api.github.com/repos/kysna/mushroom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kysna/mushroom/merges","archive_url":"https://api.github.com/repos/kysna/mushroom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kysna/mushroom/downloads","issues_url":"https://api.github.com/repos/kysna/mushroom/issues{/number}","pulls_url":"https://api.github.com/repos/kysna/mushroom/pulls{/number}","milestones_url":"https://api.github.com/repos/kysna/mushroom/milestones{/number}","notifications_url":"https://api.github.com/repos/kysna/mushroom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kysna/mushroom/labels{/name}","releases_url":"https://api.github.com/repos/kysna/mushroom/releases{/id}","deployments_url":"https://api.github.com/repos/kysna/mushroom/deployments","created_at":"2016-10-14T08:19:27Z","updated_at":"2016-10-25T14:27:29Z","pushed_at":"2016-10-29T17:41:29Z","git_url":"git://github.com/kysna/mushroom.git","ssh_url":"git@github.com:kysna/mushroom.git","clone_url":"https://github.com/kysna/mushroom.git","svn_url":"https://github.com/kysna/mushroom","homepage":null,"size":125,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kysna:master","ref":"master","sha":"ba5c1f454b86d0de3df789fdda4f2f56e36f8191","user":{"login":"kysna","id":14806395,"avatar_url":"https://avatars.githubusercontent.com/u/14806395?v=3","gravatar_id":"","url":"https://api.github.com/users/kysna","html_url":"https://github.com/kysna","followers_url":"https://api.github.com/users/kysna/followers","following_url":"https://api.github.com/users/kysna/following{/other_user}","gists_url":"https://api.github.com/users/kysna/gists{/gist_id}","starred_url":"https://api.github.com/users/kysna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kysna/subscriptions","organizations_url":"https://api.github.com/users/kysna/orgs","repos_url":"https://api.github.com/users/kysna/repos","events_url":"https://api.github.com/users/kysna/events{/privacy}","received_events_url":"https://api.github.com/users/kysna/received_events","type":"User","site_admin":false},"repo":{"id":70889234,"name":"mushroom","full_name":"kysna/mushroom","owner":{"login":"kysna","id":14806395,"avatar_url":"https://avatars.githubusercontent.com/u/14806395?v=3","gravatar_id":"","url":"https://api.github.com/users/kysna","html_url":"https://github.com/kysna","followers_url":"https://api.github.com/users/kysna/followers","following_url":"https://api.github.com/users/kysna/following{/other_user}","gists_url":"https://api.github.com/users/kysna/gists{/gist_id}","starred_url":"https://api.github.com/users/kysna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kysna/subscriptions","organizations_url":"https://api.github.com/users/kysna/orgs","repos_url":"https://api.github.com/users/kysna/repos","events_url":"https://api.github.com/users/kysna/events{/privacy}","received_events_url":"https://api.github.com/users/kysna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kysna/mushroom","description":null,"fork":false,"url":"https://api.github.com/repos/kysna/mushroom","forks_url":"https://api.github.com/repos/kysna/mushroom/forks","keys_url":"https://api.github.com/repos/kysna/mushroom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kysna/mushroom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kysna/mushroom/teams","hooks_url":"https://api.github.com/repos/kysna/mushroom/hooks","issue_events_url":"https://api.github.com/repos/kysna/mushroom/issues/events{/number}","events_url":"https://api.github.com/repos/kysna/mushroom/events","assignees_url":"https://api.github.com/repos/kysna/mushroom/assignees{/user}","branches_url":"https://api.github.com/repos/kysna/mushroom/branches{/branch}","tags_url":"https://api.github.com/repos/kysna/mushroom/tags","blobs_url":"https://api.github.com/repos/kysna/mushroom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kysna/mushroom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kysna/mushroom/git/refs{/sha}","trees_url":"https://api.github.com/repos/kysna/mushroom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kysna/mushroom/statuses/{sha}","languages_url":"https://api.github.com/repos/kysna/mushroom/languages","stargazers_url":"https://api.github.com/repos/kysna/mushroom/stargazers","contributors_url":"https://api.github.com/repos/kysna/mushroom/contributors","subscribers_url":"https://api.github.com/repos/kysna/mushroom/subscribers","subscription_url":"https://api.github.com/repos/kysna/mushroom/subscription","commits_url":"https://api.github.com/repos/kysna/mushroom/commits{/sha}","git_commits_url":"https://api.github.com/repos/kysna/mushroom/git/commits{/sha}","comments_url":"https://api.github.com/repos/kysna/mushroom/comments{/number}","issue_comment_url":"https://api.github.com/repos/kysna/mushroom/issues/comments{/number}","contents_url":"https://api.github.com/repos/kysna/mushroom/contents/{+path}","compare_url":"https://api.github.com/repos/kysna/mushroom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kysna/mushroom/merges","archive_url":"https://api.github.com/repos/kysna/mushroom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kysna/mushroom/downloads","issues_url":"https://api.github.com/repos/kysna/mushroom/issues{/number}","pulls_url":"https://api.github.com/repos/kysna/mushroom/pulls{/number}","milestones_url":"https://api.github.com/repos/kysna/mushroom/milestones{/number}","notifications_url":"https://api.github.com/repos/kysna/mushroom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kysna/mushroom/labels{/name}","releases_url":"https://api.github.com/repos/kysna/mushroom/releases{/id}","deployments_url":"https://api.github.com/repos/kysna/mushroom/deployments","created_at":"2016-10-14T08:19:27Z","updated_at":"2016-10-25T14:27:29Z","pushed_at":"2016-10-29T17:41:29Z","git_url":"git://github.com/kysna/mushroom.git","ssh_url":"git@github.com:kysna/mushroom.git","clone_url":"https://github.com/kysna/mushroom.git","svn_url":"https://github.com/kysna/mushroom","homepage":null,"size":125,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kysna/mushroom/pulls/8"},"html":{"href":"https://github.com/kysna/mushroom/pull/8"},"issue":{"href":"https://api.github.com/repos/kysna/mushroom/issues/8"},"comments":{"href":"https://api.github.com/repos/kysna/mushroom/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/kysna/mushroom/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/kysna/mushroom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kysna/mushroom/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/kysna/mushroom/statuses/fa447cbaa9aacae0d06d7d18dedef72c07aad184"}}}}
{"actor":{"display_login":"suomiy"}}