{"action":"created","comment":{"url":"https://api.github.com/repos/dream-team-pl/battle-ship/pulls/comments/70425487","id":70425487,"diff_hunk":"@@ -0,0 +1,18 @@\n+package dreamteam.battleship.movement;\n+\n+public class MovementContainerImpl extends MovementContainer{\n+\n+    public void addMovement(int field, boolean isDamaged) {\n+        if(!containsMovement(field)) movements.put(field, isDamaged);\n+    }\n+\n+    /**\n+     *\n+     * @param field - field on Board\n+     * @return true if movements contains field and false when movements doesn't contain field\n+     */\n+    protected boolean containsMovement(int field) {","path":"battleship-logic/src/main/java/dreamteam/battleship/movement/MovementContainerImpl.java","position":14,"original_position":14,"commit_id":"b25ba5fa1e5635cd36f1e73a458ea0930f1b5ef3","original_commit_id":"b25ba5fa1e5635cd36f1e73a458ea0930f1b5ef3","user":{"login":"egolesor","id":20205803,"avatar_url":"https://avatars.githubusercontent.com/u/20205803?v=3","gravatar_id":"","url":"https://api.github.com/users/egolesor","html_url":"https://github.com/egolesor","followers_url":"https://api.github.com/users/egolesor/followers","following_url":"https://api.github.com/users/egolesor/following{/other_user}","gists_url":"https://api.github.com/users/egolesor/gists{/gist_id}","starred_url":"https://api.github.com/users/egolesor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egolesor/subscriptions","organizations_url":"https://api.github.com/users/egolesor/orgs","repos_url":"https://api.github.com/users/egolesor/repos","events_url":"https://api.github.com/users/egolesor/events{/privacy}","received_events_url":"https://api.github.com/users/egolesor/received_events","type":"User","site_admin":false},"body":"I neeeeeeed this method make it public","created_at":"2016-07-12T12:10:03Z","updated_at":"2016-07-12T12:10:03Z","html_url":"https://github.com/dream-team-pl/battle-ship/pull/3#discussion_r70425487","pull_request_url":"https://api.github.com/repos/dream-team-pl/battle-ship/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/dream-team-pl/battle-ship/pulls/comments/70425487"},"html":{"href":"https://github.com/dream-team-pl/battle-ship/pull/3#discussion_r70425487"},"pull_request":{"href":"https://api.github.com/repos/dream-team-pl/battle-ship/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/dream-team-pl/battle-ship/pulls/3","id":77107582,"html_url":"https://github.com/dream-team-pl/battle-ship/pull/3","diff_url":"https://github.com/dream-team-pl/battle-ship/pull/3.diff","patch_url":"https://github.com/dream-team-pl/battle-ship/pull/3.patch","issue_url":"https://api.github.com/repos/dream-team-pl/battle-ship/issues/3","number":3,"state":"open","locked":false,"title":"Features/arbiter","user":{"login":"danone771909","id":9252013,"avatar_url":"https://avatars.githubusercontent.com/u/9252013?v=3","gravatar_id":"","url":"https://api.github.com/users/danone771909","html_url":"https://github.com/danone771909","followers_url":"https://api.github.com/users/danone771909/followers","following_url":"https://api.github.com/users/danone771909/following{/other_user}","gists_url":"https://api.github.com/users/danone771909/gists{/gist_id}","starred_url":"https://api.github.com/users/danone771909/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danone771909/subscriptions","organizations_url":"https://api.github.com/users/danone771909/orgs","repos_url":"https://api.github.com/users/danone771909/repos","events_url":"https://api.github.com/users/danone771909/events{/privacy}","received_events_url":"https://api.github.com/users/danone771909/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-12T12:01:22Z","updated_at":"2016-07-12T12:10:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"24251bcf89b6a91aa80dbb89a6dafb744533884b","assignee":{"login":"danone771909","id":9252013,"avatar_url":"https://avatars.githubusercontent.com/u/9252013?v=3","gravatar_id":"","url":"https://api.github.com/users/danone771909","html_url":"https://github.com/danone771909","followers_url":"https://api.github.com/users/danone771909/followers","following_url":"https://api.github.com/users/danone771909/following{/other_user}","gists_url":"https://api.github.com/users/danone771909/gists{/gist_id}","starred_url":"https://api.github.com/users/danone771909/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danone771909/subscriptions","organizations_url":"https://api.github.com/users/danone771909/orgs","repos_url":"https://api.github.com/users/danone771909/repos","events_url":"https://api.github.com/users/danone771909/events{/privacy}","received_events_url":"https://api.github.com/users/danone771909/received_events","type":"User","site_admin":false},"assignees":[{"login":"danone771909","id":9252013,"avatar_url":"https://avatars.githubusercontent.com/u/9252013?v=3","gravatar_id":"","url":"https://api.github.com/users/danone771909","html_url":"https://github.com/danone771909","followers_url":"https://api.github.com/users/danone771909/followers","following_url":"https://api.github.com/users/danone771909/following{/other_user}","gists_url":"https://api.github.com/users/danone771909/gists{/gist_id}","starred_url":"https://api.github.com/users/danone771909/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danone771909/subscriptions","organizations_url":"https://api.github.com/users/danone771909/orgs","repos_url":"https://api.github.com/users/danone771909/repos","events_url":"https://api.github.com/users/danone771909/events{/privacy}","received_events_url":"https://api.github.com/users/danone771909/received_events","type":"User","site_admin":false},{"login":"egolesor","id":20205803,"avatar_url":"https://avatars.githubusercontent.com/u/20205803?v=3","gravatar_id":"","url":"https://api.github.com/users/egolesor","html_url":"https://github.com/egolesor","followers_url":"https://api.github.com/users/egolesor/followers","following_url":"https://api.github.com/users/egolesor/following{/other_user}","gists_url":"https://api.github.com/users/egolesor/gists{/gist_id}","starred_url":"https://api.github.com/users/egolesor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egolesor/subscriptions","organizations_url":"https://api.github.com/users/egolesor/orgs","repos_url":"https://api.github.com/users/egolesor/repos","events_url":"https://api.github.com/users/egolesor/events{/privacy}","received_events_url":"https://api.github.com/users/egolesor/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/dream-team-pl/battle-ship/pulls/3/commits","review_comments_url":"https://api.github.com/repos/dream-team-pl/battle-ship/pulls/3/comments","review_comment_url":"https://api.github.com/repos/dream-team-pl/battle-ship/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dream-team-pl/battle-ship/issues/3/comments","statuses_url":"https://api.github.com/repos/dream-team-pl/battle-ship/statuses/b25ba5fa1e5635cd36f1e73a458ea0930f1b5ef3","head":{"label":"dream-team-pl:Features/Arbiter","ref":"Features/Arbiter","sha":"b25ba5fa1e5635cd36f1e73a458ea0930f1b5ef3","user":{"login":"dream-team-pl","id":20401436,"avatar_url":"https://avatars.githubusercontent.com/u/20401436?v=3","gravatar_id":"","url":"https://api.github.com/users/dream-team-pl","html_url":"https://github.com/dream-team-pl","followers_url":"https://api.github.com/users/dream-team-pl/followers","following_url":"https://api.github.com/users/dream-team-pl/following{/other_user}","gists_url":"https://api.github.com/users/dream-team-pl/gists{/gist_id}","starred_url":"https://api.github.com/users/dream-team-pl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dream-team-pl/subscriptions","organizations_url":"https://api.github.com/users/dream-team-pl/orgs","repos_url":"https://api.github.com/users/dream-team-pl/repos","events_url":"https://api.github.com/users/dream-team-pl/events{/privacy}","received_events_url":"https://api.github.com/users/dream-team-pl/received_events","type":"Organization","site_admin":false},"repo":{"id":63075102,"name":"battle-ship","full_name":"dream-team-pl/battle-ship","owner":{"login":"dream-team-pl","id":20401436,"avatar_url":"https://avatars.githubusercontent.com/u/20401436?v=3","gravatar_id":"","url":"https://api.github.com/users/dream-team-pl","html_url":"https://github.com/dream-team-pl","followers_url":"https://api.github.com/users/dream-team-pl/followers","following_url":"https://api.github.com/users/dream-team-pl/following{/other_user}","gists_url":"https://api.github.com/users/dream-team-pl/gists{/gist_id}","starred_url":"https://api.github.com/users/dream-team-pl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dream-team-pl/subscriptions","organizations_url":"https://api.github.com/users/dream-team-pl/orgs","repos_url":"https://api.github.com/users/dream-team-pl/repos","events_url":"https://api.github.com/users/dream-team-pl/events{/privacy}","received_events_url":"https://api.github.com/users/dream-team-pl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dream-team-pl/battle-ship","description":null,"fork":false,"url":"https://api.github.com/repos/dream-team-pl/battle-ship","forks_url":"https://api.github.com/repos/dream-team-pl/battle-ship/forks","keys_url":"https://api.github.com/repos/dream-team-pl/battle-ship/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dream-team-pl/battle-ship/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dream-team-pl/battle-ship/teams","hooks_url":"https://api.github.com/repos/dream-team-pl/battle-ship/hooks","issue_events_url":"https://api.github.com/repos/dream-team-pl/battle-ship/issues/events{/number}","events_url":"https://api.github.com/repos/dream-team-pl/battle-ship/events","assignees_url":"https://api.github.com/repos/dream-team-pl/battle-ship/assignees{/user}","branches_url":"https://api.github.com/repos/dream-team-pl/battle-ship/branches{/branch}","tags_url":"https://api.github.com/repos/dream-team-pl/battle-ship/tags","blobs_url":"https://api.github.com/repos/dream-team-pl/battle-ship/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dream-team-pl/battle-ship/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dream-team-pl/battle-ship/git/refs{/sha}","trees_url":"https://api.github.com/repos/dream-team-pl/battle-ship/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dream-team-pl/battle-ship/statuses/{sha}","languages_url":"https://api.github.com/repos/dream-team-pl/battle-ship/languages","stargazers_url":"https://api.github.com/repos/dream-team-pl/battle-ship/stargazers","contributors_url":"https://api.github.com/repos/dream-team-pl/battle-ship/contributors","subscribers_url":"https://api.github.com/repos/dream-team-pl/battle-ship/subscribers","subscription_url":"https://api.github.com/repos/dream-team-pl/battle-ship/subscription","commits_url":"https://api.github.com/repos/dream-team-pl/battle-ship/commits{/sha}","git_commits_url":"https://api.github.com/repos/dream-team-pl/battle-ship/git/commits{/sha}","comments_url":"https://api.github.com/repos/dream-team-pl/battle-ship/comments{/number}","issue_comment_url":"https://api.github.com/repos/dream-team-pl/battle-ship/issues/comments{/number}","contents_url":"https://api.github.com/repos/dream-team-pl/battle-ship/contents/{+path}","compare_url":"https://api.github.com/repos/dream-team-pl/battle-ship/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dream-team-pl/battle-ship/merges","archive_url":"https://api.github.com/repos/dream-team-pl/battle-ship/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dream-team-pl/battle-ship/downloads","issues_url":"https://api.github.com/repos/dream-team-pl/battle-ship/issues{/number}","pulls_url":"https://api.github.com/repos/dream-team-pl/battle-ship/pulls{/number}","milestones_url":"https://api.github.com/repos/dream-team-pl/battle-ship/milestones{/number}","notifications_url":"https://api.github.com/repos/dream-team-pl/battle-ship/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dream-team-pl/battle-ship/labels{/name}","releases_url":"https://api.github.com/repos/dream-team-pl/battle-ship/releases{/id}","deployments_url":"https://api.github.com/repos/dream-team-pl/battle-ship/deployments","created_at":"2016-07-11T14:31:07Z","updated_at":"2016-07-11T21:47:23Z","pushed_at":"2016-07-12T12:01:22Z","git_url":"git://github.com/dream-team-pl/battle-ship.git","ssh_url":"git@github.com:dream-team-pl/battle-ship.git","clone_url":"https://github.com/dream-team-pl/battle-ship.git","svn_url":"https://github.com/dream-team-pl/battle-ship","homepage":null,"size":23,"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":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"dream-team-pl:master","ref":"master","sha":"088db4116c8b3acd9d291bb8453d085516c6c506","user":{"login":"dream-team-pl","id":20401436,"avatar_url":"https://avatars.githubusercontent.com/u/20401436?v=3","gravatar_id":"","url":"https://api.github.com/users/dream-team-pl","html_url":"https://github.com/dream-team-pl","followers_url":"https://api.github.com/users/dream-team-pl/followers","following_url":"https://api.github.com/users/dream-team-pl/following{/other_user}","gists_url":"https://api.github.com/users/dream-team-pl/gists{/gist_id}","starred_url":"https://api.github.com/users/dream-team-pl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dream-team-pl/subscriptions","organizations_url":"https://api.github.com/users/dream-team-pl/orgs","repos_url":"https://api.github.com/users/dream-team-pl/repos","events_url":"https://api.github.com/users/dream-team-pl/events{/privacy}","received_events_url":"https://api.github.com/users/dream-team-pl/received_events","type":"Organization","site_admin":false},"repo":{"id":63075102,"name":"battle-ship","full_name":"dream-team-pl/battle-ship","owner":{"login":"dream-team-pl","id":20401436,"avatar_url":"https://avatars.githubusercontent.com/u/20401436?v=3","gravatar_id":"","url":"https://api.github.com/users/dream-team-pl","html_url":"https://github.com/dream-team-pl","followers_url":"https://api.github.com/users/dream-team-pl/followers","following_url":"https://api.github.com/users/dream-team-pl/following{/other_user}","gists_url":"https://api.github.com/users/dream-team-pl/gists{/gist_id}","starred_url":"https://api.github.com/users/dream-team-pl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dream-team-pl/subscriptions","organizations_url":"https://api.github.com/users/dream-team-pl/orgs","repos_url":"https://api.github.com/users/dream-team-pl/repos","events_url":"https://api.github.com/users/dream-team-pl/events{/privacy}","received_events_url":"https://api.github.com/users/dream-team-pl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dream-team-pl/battle-ship","description":null,"fork":false,"url":"https://api.github.com/repos/dream-team-pl/battle-ship","forks_url":"https://api.github.com/repos/dream-team-pl/battle-ship/forks","keys_url":"https://api.github.com/repos/dream-team-pl/battle-ship/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dream-team-pl/battle-ship/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dream-team-pl/battle-ship/teams","hooks_url":"https://api.github.com/repos/dream-team-pl/battle-ship/hooks","issue_events_url":"https://api.github.com/repos/dream-team-pl/battle-ship/issues/events{/number}","events_url":"https://api.github.com/repos/dream-team-pl/battle-ship/events","assignees_url":"https://api.github.com/repos/dream-team-pl/battle-ship/assignees{/user}","branches_url":"https://api.github.com/repos/dream-team-pl/battle-ship/branches{/branch}","tags_url":"https://api.github.com/repos/dream-team-pl/battle-ship/tags","blobs_url":"https://api.github.com/repos/dream-team-pl/battle-ship/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dream-team-pl/battle-ship/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dream-team-pl/battle-ship/git/refs{/sha}","trees_url":"https://api.github.com/repos/dream-team-pl/battle-ship/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dream-team-pl/battle-ship/statuses/{sha}","languages_url":"https://api.github.com/repos/dream-team-pl/battle-ship/languages","stargazers_url":"https://api.github.com/repos/dream-team-pl/battle-ship/stargazers","contributors_url":"https://api.github.com/repos/dream-team-pl/battle-ship/contributors","subscribers_url":"https://api.github.com/repos/dream-team-pl/battle-ship/subscribers","subscription_url":"https://api.github.com/repos/dream-team-pl/battle-ship/subscription","commits_url":"https://api.github.com/repos/dream-team-pl/battle-ship/commits{/sha}","git_commits_url":"https://api.github.com/repos/dream-team-pl/battle-ship/git/commits{/sha}","comments_url":"https://api.github.com/repos/dream-team-pl/battle-ship/comments{/number}","issue_comment_url":"https://api.github.com/repos/dream-team-pl/battle-ship/issues/comments{/number}","contents_url":"https://api.github.com/repos/dream-team-pl/battle-ship/contents/{+path}","compare_url":"https://api.github.com/repos/dream-team-pl/battle-ship/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dream-team-pl/battle-ship/merges","archive_url":"https://api.github.com/repos/dream-team-pl/battle-ship/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dream-team-pl/battle-ship/downloads","issues_url":"https://api.github.com/repos/dream-team-pl/battle-ship/issues{/number}","pulls_url":"https://api.github.com/repos/dream-team-pl/battle-ship/pulls{/number}","milestones_url":"https://api.github.com/repos/dream-team-pl/battle-ship/milestones{/number}","notifications_url":"https://api.github.com/repos/dream-team-pl/battle-ship/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dream-team-pl/battle-ship/labels{/name}","releases_url":"https://api.github.com/repos/dream-team-pl/battle-ship/releases{/id}","deployments_url":"https://api.github.com/repos/dream-team-pl/battle-ship/deployments","created_at":"2016-07-11T14:31:07Z","updated_at":"2016-07-11T21:47:23Z","pushed_at":"2016-07-12T12:01:22Z","git_url":"git://github.com/dream-team-pl/battle-ship.git","ssh_url":"git@github.com:dream-team-pl/battle-ship.git","clone_url":"https://github.com/dream-team-pl/battle-ship.git","svn_url":"https://github.com/dream-team-pl/battle-ship","homepage":null,"size":23,"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":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dream-team-pl/battle-ship/pulls/3"},"html":{"href":"https://github.com/dream-team-pl/battle-ship/pull/3"},"issue":{"href":"https://api.github.com/repos/dream-team-pl/battle-ship/issues/3"},"comments":{"href":"https://api.github.com/repos/dream-team-pl/battle-ship/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/dream-team-pl/battle-ship/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/dream-team-pl/battle-ship/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dream-team-pl/battle-ship/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/dream-team-pl/battle-ship/statuses/b25ba5fa1e5635cd36f1e73a458ea0930f1b5ef3"}}}}
{"actor":{"display_login":"egolesor"}}