{"action":"created","comment":{"url":"https://api.github.com/repos/algil/tennis-tournament/pulls/comments/45134739","id":45134739,"diff_hunk":"@@ -0,0 +1,85 @@\n+import * as utilsCommon from '../utils/common';\n+\n+export class Match {\n+\n+    constructor(previousMatch1, previousMatch2) {\n+        if (previousMatch1) {\n+            this.previousMatch1 = previousMatch1;\n+            previousMatch1.setNextMatch(this);\n+        }\n+        if (previousMatch2) {\n+            this.previousMatch2 = previousMatch2;\n+            previousMatch2.setNextMatch(this);\n+        }\n+    }\n+\n+    getOrder() {\n+        return this.order;\n+    }\n+\n+    setOrder(order) {\n+        this.order = order;\n+    }\n+\n+    getPlayer1() {\n+        return this.player1;\n+    }\n+\n+    setPlayer1(player) {\n+        this.player1 = player;\n+    }\n+\n+    getPlayer2() {\n+        return this.player2;\n+    }\n+\n+    setPlayer2(player) {\n+        this.player2 = player;\n+    }\n+\n+    getPreviousMatch1() {\n+        return this.previousMatch1;\n+    }\n+\n+    setPreviousMatch1(match) {\n+        this.previousMatch1 = match;\n+    }\n+\n+    getPreviousMatch2() {\n+        return this.previousMatch2;\n+    }\n+\n+    setPreviousMatch2(match) {\n+        this.previousMatch2 = match;\n+    }\n+\n+    getNextMatch() {\n+        return this.nextMatch;\n+    }\n+\n+    setNextMatch(match) {\n+        this.nextMatch = match;\n+    }\n+\n+    getWinnerPlayer() {\n+        return this.winnerPlayer;\n+    }\n+\n+    addPLayer(player) {","path":"src/app/model/Match.js","position":68,"original_position":68,"commit_id":"6c7c673cc4bcee419d3a99a1c5bb3296b096782a","original_commit_id":"6c7c673cc4bcee419d3a99a1c5bb3296b096782a","user":{"login":"pablonete","id":579705,"avatar_url":"https://avatars.githubusercontent.com/u/579705?v=3","gravatar_id":"","url":"https://api.github.com/users/pablonete","html_url":"https://github.com/pablonete","followers_url":"https://api.github.com/users/pablonete/followers","following_url":"https://api.github.com/users/pablonete/following{/other_user}","gists_url":"https://api.github.com/users/pablonete/gists{/gist_id}","starred_url":"https://api.github.com/users/pablonete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablonete/subscriptions","organizations_url":"https://api.github.com/users/pablonete/orgs","repos_url":"https://api.github.com/users/pablonete/repos","events_url":"https://api.github.com/users/pablonete/events{/privacy}","received_events_url":"https://api.github.com/users/pablonete/received_events","type":"User","site_admin":false},"body":"Be careful with typos: uppercased L. JavaScript will fail at run time.","created_at":"2015-11-17T22:50:06Z","updated_at":"2015-11-17T22:50:06Z","html_url":"https://github.com/algil/tennis-tournament/pull/2#discussion_r45134739","pull_request_url":"https://api.github.com/repos/algil/tennis-tournament/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/algil/tennis-tournament/pulls/comments/45134739"},"html":{"href":"https://github.com/algil/tennis-tournament/pull/2#discussion_r45134739"},"pull_request":{"href":"https://api.github.com/repos/algil/tennis-tournament/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/algil/tennis-tournament/pulls/2","id":50750399,"html_url":"https://github.com/algil/tennis-tournament/pull/2","diff_url":"https://github.com/algil/tennis-tournament/pull/2.diff","patch_url":"https://github.com/algil/tennis-tournament/pull/2.patch","issue_url":"https://api.github.com/repos/algil/tennis-tournament/issues/2","number":2,"state":"open","locked":false,"title":"Develop","user":{"login":"algil","id":520071,"avatar_url":"https://avatars.githubusercontent.com/u/520071?v=3","gravatar_id":"","url":"https://api.github.com/users/algil","html_url":"https://github.com/algil","followers_url":"https://api.github.com/users/algil/followers","following_url":"https://api.github.com/users/algil/following{/other_user}","gists_url":"https://api.github.com/users/algil/gists{/gist_id}","starred_url":"https://api.github.com/users/algil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algil/subscriptions","organizations_url":"https://api.github.com/users/algil/orgs","repos_url":"https://api.github.com/users/algil/repos","events_url":"https://api.github.com/users/algil/events{/privacy}","received_events_url":"https://api.github.com/users/algil/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-15T16:48:44Z","updated_at":"2015-11-17T22:50:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0726a08d9d33df46ead0425ad0676276ebf61b2","assignee":{"login":"pablonete","id":579705,"avatar_url":"https://avatars.githubusercontent.com/u/579705?v=3","gravatar_id":"","url":"https://api.github.com/users/pablonete","html_url":"https://github.com/pablonete","followers_url":"https://api.github.com/users/pablonete/followers","following_url":"https://api.github.com/users/pablonete/following{/other_user}","gists_url":"https://api.github.com/users/pablonete/gists{/gist_id}","starred_url":"https://api.github.com/users/pablonete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablonete/subscriptions","organizations_url":"https://api.github.com/users/pablonete/orgs","repos_url":"https://api.github.com/users/pablonete/repos","events_url":"https://api.github.com/users/pablonete/events{/privacy}","received_events_url":"https://api.github.com/users/pablonete/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/algil/tennis-tournament/pulls/2/commits","review_comments_url":"https://api.github.com/repos/algil/tennis-tournament/pulls/2/comments","review_comment_url":"https://api.github.com/repos/algil/tennis-tournament/pulls/comments{/number}","comments_url":"https://api.github.com/repos/algil/tennis-tournament/issues/2/comments","statuses_url":"https://api.github.com/repos/algil/tennis-tournament/statuses/6c7c673cc4bcee419d3a99a1c5bb3296b096782a","head":{"label":"algil:develop","ref":"develop","sha":"6c7c673cc4bcee419d3a99a1c5bb3296b096782a","user":{"login":"algil","id":520071,"avatar_url":"https://avatars.githubusercontent.com/u/520071?v=3","gravatar_id":"","url":"https://api.github.com/users/algil","html_url":"https://github.com/algil","followers_url":"https://api.github.com/users/algil/followers","following_url":"https://api.github.com/users/algil/following{/other_user}","gists_url":"https://api.github.com/users/algil/gists{/gist_id}","starred_url":"https://api.github.com/users/algil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algil/subscriptions","organizations_url":"https://api.github.com/users/algil/orgs","repos_url":"https://api.github.com/users/algil/repos","events_url":"https://api.github.com/users/algil/events{/privacy}","received_events_url":"https://api.github.com/users/algil/received_events","type":"User","site_admin":false},"repo":{"id":45125930,"name":"tennis-tournament","full_name":"algil/tennis-tournament","owner":{"login":"algil","id":520071,"avatar_url":"https://avatars.githubusercontent.com/u/520071?v=3","gravatar_id":"","url":"https://api.github.com/users/algil","html_url":"https://github.com/algil","followers_url":"https://api.github.com/users/algil/followers","following_url":"https://api.github.com/users/algil/following{/other_user}","gists_url":"https://api.github.com/users/algil/gists{/gist_id}","starred_url":"https://api.github.com/users/algil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algil/subscriptions","organizations_url":"https://api.github.com/users/algil/orgs","repos_url":"https://api.github.com/users/algil/repos","events_url":"https://api.github.com/users/algil/events{/privacy}","received_events_url":"https://api.github.com/users/algil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/algil/tennis-tournament","description":"EMACScript 6 Tennis Tournament App","fork":false,"url":"https://api.github.com/repos/algil/tennis-tournament","forks_url":"https://api.github.com/repos/algil/tennis-tournament/forks","keys_url":"https://api.github.com/repos/algil/tennis-tournament/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algil/tennis-tournament/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algil/tennis-tournament/teams","hooks_url":"https://api.github.com/repos/algil/tennis-tournament/hooks","issue_events_url":"https://api.github.com/repos/algil/tennis-tournament/issues/events{/number}","events_url":"https://api.github.com/repos/algil/tennis-tournament/events","assignees_url":"https://api.github.com/repos/algil/tennis-tournament/assignees{/user}","branches_url":"https://api.github.com/repos/algil/tennis-tournament/branches{/branch}","tags_url":"https://api.github.com/repos/algil/tennis-tournament/tags","blobs_url":"https://api.github.com/repos/algil/tennis-tournament/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algil/tennis-tournament/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algil/tennis-tournament/git/refs{/sha}","trees_url":"https://api.github.com/repos/algil/tennis-tournament/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algil/tennis-tournament/statuses/{sha}","languages_url":"https://api.github.com/repos/algil/tennis-tournament/languages","stargazers_url":"https://api.github.com/repos/algil/tennis-tournament/stargazers","contributors_url":"https://api.github.com/repos/algil/tennis-tournament/contributors","subscribers_url":"https://api.github.com/repos/algil/tennis-tournament/subscribers","subscription_url":"https://api.github.com/repos/algil/tennis-tournament/subscription","commits_url":"https://api.github.com/repos/algil/tennis-tournament/commits{/sha}","git_commits_url":"https://api.github.com/repos/algil/tennis-tournament/git/commits{/sha}","comments_url":"https://api.github.com/repos/algil/tennis-tournament/comments{/number}","issue_comment_url":"https://api.github.com/repos/algil/tennis-tournament/issues/comments{/number}","contents_url":"https://api.github.com/repos/algil/tennis-tournament/contents/{+path}","compare_url":"https://api.github.com/repos/algil/tennis-tournament/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algil/tennis-tournament/merges","archive_url":"https://api.github.com/repos/algil/tennis-tournament/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algil/tennis-tournament/downloads","issues_url":"https://api.github.com/repos/algil/tennis-tournament/issues{/number}","pulls_url":"https://api.github.com/repos/algil/tennis-tournament/pulls{/number}","milestones_url":"https://api.github.com/repos/algil/tennis-tournament/milestones{/number}","notifications_url":"https://api.github.com/repos/algil/tennis-tournament/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algil/tennis-tournament/labels{/name}","releases_url":"https://api.github.com/repos/algil/tennis-tournament/releases{/id}","created_at":"2015-10-28T16:24:47Z","updated_at":"2015-10-28T16:24:47Z","pushed_at":"2015-11-15T16:48:44Z","git_url":"git://github.com/algil/tennis-tournament.git","ssh_url":"git@github.com:algil/tennis-tournament.git","clone_url":"https://github.com/algil/tennis-tournament.git","svn_url":"https://github.com/algil/tennis-tournament","homepage":null,"size":172,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"algil:master","ref":"master","sha":"3487e809e37cfdf5685521ce5a9ca0531edd6307","user":{"login":"algil","id":520071,"avatar_url":"https://avatars.githubusercontent.com/u/520071?v=3","gravatar_id":"","url":"https://api.github.com/users/algil","html_url":"https://github.com/algil","followers_url":"https://api.github.com/users/algil/followers","following_url":"https://api.github.com/users/algil/following{/other_user}","gists_url":"https://api.github.com/users/algil/gists{/gist_id}","starred_url":"https://api.github.com/users/algil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algil/subscriptions","organizations_url":"https://api.github.com/users/algil/orgs","repos_url":"https://api.github.com/users/algil/repos","events_url":"https://api.github.com/users/algil/events{/privacy}","received_events_url":"https://api.github.com/users/algil/received_events","type":"User","site_admin":false},"repo":{"id":45125930,"name":"tennis-tournament","full_name":"algil/tennis-tournament","owner":{"login":"algil","id":520071,"avatar_url":"https://avatars.githubusercontent.com/u/520071?v=3","gravatar_id":"","url":"https://api.github.com/users/algil","html_url":"https://github.com/algil","followers_url":"https://api.github.com/users/algil/followers","following_url":"https://api.github.com/users/algil/following{/other_user}","gists_url":"https://api.github.com/users/algil/gists{/gist_id}","starred_url":"https://api.github.com/users/algil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algil/subscriptions","organizations_url":"https://api.github.com/users/algil/orgs","repos_url":"https://api.github.com/users/algil/repos","events_url":"https://api.github.com/users/algil/events{/privacy}","received_events_url":"https://api.github.com/users/algil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/algil/tennis-tournament","description":"EMACScript 6 Tennis Tournament App","fork":false,"url":"https://api.github.com/repos/algil/tennis-tournament","forks_url":"https://api.github.com/repos/algil/tennis-tournament/forks","keys_url":"https://api.github.com/repos/algil/tennis-tournament/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algil/tennis-tournament/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algil/tennis-tournament/teams","hooks_url":"https://api.github.com/repos/algil/tennis-tournament/hooks","issue_events_url":"https://api.github.com/repos/algil/tennis-tournament/issues/events{/number}","events_url":"https://api.github.com/repos/algil/tennis-tournament/events","assignees_url":"https://api.github.com/repos/algil/tennis-tournament/assignees{/user}","branches_url":"https://api.github.com/repos/algil/tennis-tournament/branches{/branch}","tags_url":"https://api.github.com/repos/algil/tennis-tournament/tags","blobs_url":"https://api.github.com/repos/algil/tennis-tournament/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algil/tennis-tournament/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algil/tennis-tournament/git/refs{/sha}","trees_url":"https://api.github.com/repos/algil/tennis-tournament/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algil/tennis-tournament/statuses/{sha}","languages_url":"https://api.github.com/repos/algil/tennis-tournament/languages","stargazers_url":"https://api.github.com/repos/algil/tennis-tournament/stargazers","contributors_url":"https://api.github.com/repos/algil/tennis-tournament/contributors","subscribers_url":"https://api.github.com/repos/algil/tennis-tournament/subscribers","subscription_url":"https://api.github.com/repos/algil/tennis-tournament/subscription","commits_url":"https://api.github.com/repos/algil/tennis-tournament/commits{/sha}","git_commits_url":"https://api.github.com/repos/algil/tennis-tournament/git/commits{/sha}","comments_url":"https://api.github.com/repos/algil/tennis-tournament/comments{/number}","issue_comment_url":"https://api.github.com/repos/algil/tennis-tournament/issues/comments{/number}","contents_url":"https://api.github.com/repos/algil/tennis-tournament/contents/{+path}","compare_url":"https://api.github.com/repos/algil/tennis-tournament/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algil/tennis-tournament/merges","archive_url":"https://api.github.com/repos/algil/tennis-tournament/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algil/tennis-tournament/downloads","issues_url":"https://api.github.com/repos/algil/tennis-tournament/issues{/number}","pulls_url":"https://api.github.com/repos/algil/tennis-tournament/pulls{/number}","milestones_url":"https://api.github.com/repos/algil/tennis-tournament/milestones{/number}","notifications_url":"https://api.github.com/repos/algil/tennis-tournament/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algil/tennis-tournament/labels{/name}","releases_url":"https://api.github.com/repos/algil/tennis-tournament/releases{/id}","created_at":"2015-10-28T16:24:47Z","updated_at":"2015-10-28T16:24:47Z","pushed_at":"2015-11-15T16:48:44Z","git_url":"git://github.com/algil/tennis-tournament.git","ssh_url":"git@github.com:algil/tennis-tournament.git","clone_url":"https://github.com/algil/tennis-tournament.git","svn_url":"https://github.com/algil/tennis-tournament","homepage":null,"size":172,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/algil/tennis-tournament/pulls/2"},"html":{"href":"https://github.com/algil/tennis-tournament/pull/2"},"issue":{"href":"https://api.github.com/repos/algil/tennis-tournament/issues/2"},"comments":{"href":"https://api.github.com/repos/algil/tennis-tournament/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/algil/tennis-tournament/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/algil/tennis-tournament/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/algil/tennis-tournament/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/algil/tennis-tournament/statuses/6c7c673cc4bcee419d3a99a1c5bb3296b096782a"}}}}