{"action":"created","comment":{"url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/comments/230010845","pull_request_review_id":170644572,"id":230010845,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDAxMDg0NQ==","diff_hunk":"@@ -0,0 +1,100 @@\n+package ru.unn.agile.fraction.model;\n+\n+import java.util.Objects;\n+\n+public class Fraction {\n+    private int num;\n+    private int denom;\n+\n+    private Fraction revert() {\n+        return (this.getNumerator() < 0)\n+                ? new Fraction(-this.getDenominator(), Math.abs(getNumerator()))\n+                : new Fraction(this.getDenominator(), this.getNumerator());\n+    }\n+\n+    public Fraction(final int numerator, final int denominator) {\n+        this.num = numerator;\n+        if (denominator < 0) {\n+           throw new ArithmeticException(\"Denominator cannot be less than zero!\");\n+        }\n+        if (denominator == 0) {\n+           throw new ArithmeticException(\"Denominator cannot be zero!\");\n+        }\n+        this.denom = denominator;\n+    }\n+\n+    public void setNumerator(final int numerator) {\n+        this.num = numerator;\n+    }\n+\n+    public int getNumerator() {\n+        return num;\n+    }\n+\n+    public void setDenominator(final int denominator) {\n+        this.denom = denominator;\n+    }\n+\n+    public int getDenominator() {\n+        return denom;\n+    }\n+\n+    public Fraction addNoGcd(final Fraction other) {","path":"code/fytov-aleksandr-frac-calc/src/main/java/ru/unn/agile/fraction/model/Fraction.java","position":42,"original_position":42,"commit_id":"6da76809be855ecf55e49fb9da35cdfffa5d730b","original_commit_id":"6da76809be855ecf55e49fb9da35cdfffa5d730b","user":{"login":"andreymarchenko","id":17382387,"node_id":"MDQ6VXNlcjE3MzgyMzg3","avatar_url":"https://avatars2.githubusercontent.com/u/17382387?v=4","gravatar_id":"","url":"https://api.github.com/users/andreymarchenko","html_url":"https://github.com/andreymarchenko","followers_url":"https://api.github.com/users/andreymarchenko/followers","following_url":"https://api.github.com/users/andreymarchenko/following{/other_user}","gists_url":"https://api.github.com/users/andreymarchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/andreymarchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreymarchenko/subscriptions","organizations_url":"https://api.github.com/users/andreymarchenko/orgs","repos_url":"https://api.github.com/users/andreymarchenko/repos","events_url":"https://api.github.com/users/andreymarchenko/events{/privacy}","received_events_url":"https://api.github.com/users/andreymarchenko/received_events","type":"User","site_admin":false},"body":"непонятное название","created_at":"2018-11-01T11:20:53Z","updated_at":"2018-11-01T11:20:53Z","html_url":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/78#discussion_r230010845","pull_request_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/78","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/comments/230010845"},"html":{"href":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/78#discussion_r230010845"},"pull_request":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/78","id":227511782,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3NTExNzgy","html_url":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/78","diff_url":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/78.diff","patch_url":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/78.patch","issue_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/78","number":78,"state":"open","locked":false,"title":"Фытов - Лабораторная работа #1","user":{"login":"fytov","id":18198327,"node_id":"MDQ6VXNlcjE4MTk4MzI3","avatar_url":"https://avatars0.githubusercontent.com/u/18198327?v=4","gravatar_id":"","url":"https://api.github.com/users/fytov","html_url":"https://github.com/fytov","followers_url":"https://api.github.com/users/fytov/followers","following_url":"https://api.github.com/users/fytov/following{/other_user}","gists_url":"https://api.github.com/users/fytov/gists{/gist_id}","starred_url":"https://api.github.com/users/fytov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fytov/subscriptions","organizations_url":"https://api.github.com/users/fytov/orgs","repos_url":"https://api.github.com/users/fytov/repos","events_url":"https://api.github.com/users/fytov/events{/privacy}","received_events_url":"https://api.github.com/users/fytov/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-01T04:41:59Z","updated_at":"2018-11-01T11:20:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d26706b7a2c672c0c90e9583c7faeb09121e3c9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/78/commits","review_comments_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/78/comments","review_comment_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/78/comments","statuses_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/statuses/6da76809be855ecf55e49fb9da35cdfffa5d730b","head":{"label":"fytov:lab1-tdd-frac-calc","ref":"lab1-tdd-frac-calc","sha":"6da76809be855ecf55e49fb9da35cdfffa5d730b","user":{"login":"fytov","id":18198327,"node_id":"MDQ6VXNlcjE4MTk4MzI3","avatar_url":"https://avatars0.githubusercontent.com/u/18198327?v=4","gravatar_id":"","url":"https://api.github.com/users/fytov","html_url":"https://github.com/fytov","followers_url":"https://api.github.com/users/fytov/followers","following_url":"https://api.github.com/users/fytov/following{/other_user}","gists_url":"https://api.github.com/users/fytov/gists{/gist_id}","starred_url":"https://api.github.com/users/fytov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fytov/subscriptions","organizations_url":"https://api.github.com/users/fytov/orgs","repos_url":"https://api.github.com/users/fytov/repos","events_url":"https://api.github.com/users/fytov/events{/privacy}","received_events_url":"https://api.github.com/users/fytov/received_events","type":"User","site_admin":false},"repo":{"id":155370073,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUzNzAwNzM=","name":"agile-course-practice","full_name":"fytov/agile-course-practice","private":false,"owner":{"login":"fytov","id":18198327,"node_id":"MDQ6VXNlcjE4MTk4MzI3","avatar_url":"https://avatars0.githubusercontent.com/u/18198327?v=4","gravatar_id":"","url":"https://api.github.com/users/fytov","html_url":"https://github.com/fytov","followers_url":"https://api.github.com/users/fytov/followers","following_url":"https://api.github.com/users/fytov/following{/other_user}","gists_url":"https://api.github.com/users/fytov/gists{/gist_id}","starred_url":"https://api.github.com/users/fytov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fytov/subscriptions","organizations_url":"https://api.github.com/users/fytov/orgs","repos_url":"https://api.github.com/users/fytov/repos","events_url":"https://api.github.com/users/fytov/events{/privacy}","received_events_url":"https://api.github.com/users/fytov/received_events","type":"User","site_admin":false},"html_url":"https://github.com/fytov/agile-course-practice","description":"Practice for master course on Agile Development","fork":true,"url":"https://api.github.com/repos/fytov/agile-course-practice","forks_url":"https://api.github.com/repos/fytov/agile-course-practice/forks","keys_url":"https://api.github.com/repos/fytov/agile-course-practice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fytov/agile-course-practice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fytov/agile-course-practice/teams","hooks_url":"https://api.github.com/repos/fytov/agile-course-practice/hooks","issue_events_url":"https://api.github.com/repos/fytov/agile-course-practice/issues/events{/number}","events_url":"https://api.github.com/repos/fytov/agile-course-practice/events","assignees_url":"https://api.github.com/repos/fytov/agile-course-practice/assignees{/user}","branches_url":"https://api.github.com/repos/fytov/agile-course-practice/branches{/branch}","tags_url":"https://api.github.com/repos/fytov/agile-course-practice/tags","blobs_url":"https://api.github.com/repos/fytov/agile-course-practice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fytov/agile-course-practice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fytov/agile-course-practice/git/refs{/sha}","trees_url":"https://api.github.com/repos/fytov/agile-course-practice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fytov/agile-course-practice/statuses/{sha}","languages_url":"https://api.github.com/repos/fytov/agile-course-practice/languages","stargazers_url":"https://api.github.com/repos/fytov/agile-course-practice/stargazers","contributors_url":"https://api.github.com/repos/fytov/agile-course-practice/contributors","subscribers_url":"https://api.github.com/repos/fytov/agile-course-practice/subscribers","subscription_url":"https://api.github.com/repos/fytov/agile-course-practice/subscription","commits_url":"https://api.github.com/repos/fytov/agile-course-practice/commits{/sha}","git_commits_url":"https://api.github.com/repos/fytov/agile-course-practice/git/commits{/sha}","comments_url":"https://api.github.com/repos/fytov/agile-course-practice/comments{/number}","issue_comment_url":"https://api.github.com/repos/fytov/agile-course-practice/issues/comments{/number}","contents_url":"https://api.github.com/repos/fytov/agile-course-practice/contents/{+path}","compare_url":"https://api.github.com/repos/fytov/agile-course-practice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fytov/agile-course-practice/merges","archive_url":"https://api.github.com/repos/fytov/agile-course-practice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fytov/agile-course-practice/downloads","issues_url":"https://api.github.com/repos/fytov/agile-course-practice/issues{/number}","pulls_url":"https://api.github.com/repos/fytov/agile-course-practice/pulls{/number}","milestones_url":"https://api.github.com/repos/fytov/agile-course-practice/milestones{/number}","notifications_url":"https://api.github.com/repos/fytov/agile-course-practice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fytov/agile-course-practice/labels{/name}","releases_url":"https://api.github.com/repos/fytov/agile-course-practice/releases{/id}","deployments_url":"https://api.github.com/repos/fytov/agile-course-practice/deployments","created_at":"2018-10-30T10:58:18Z","updated_at":"2018-10-30T10:58:20Z","pushed_at":"2018-11-01T04:39:46Z","git_url":"git://github.com/fytov/agile-course-practice.git","ssh_url":"git@github.com:fytov/agile-course-practice.git","clone_url":"https://github.com/fytov/agile-course-practice.git","svn_url":"https://github.com/fytov/agile-course-practice","homepage":"","size":534,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"UNN-VMK-Software:master","ref":"master","sha":"f170b1b736f75da5cc082cfba60ebec53e777978","user":{"login":"UNN-VMK-Software","id":5463209,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NjMyMDk=","avatar_url":"https://avatars2.githubusercontent.com/u/5463209?v=4","gravatar_id":"","url":"https://api.github.com/users/UNN-VMK-Software","html_url":"https://github.com/UNN-VMK-Software","followers_url":"https://api.github.com/users/UNN-VMK-Software/followers","following_url":"https://api.github.com/users/UNN-VMK-Software/following{/other_user}","gists_url":"https://api.github.com/users/UNN-VMK-Software/gists{/gist_id}","starred_url":"https://api.github.com/users/UNN-VMK-Software/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UNN-VMK-Software/subscriptions","organizations_url":"https://api.github.com/users/UNN-VMK-Software/orgs","repos_url":"https://api.github.com/users/UNN-VMK-Software/repos","events_url":"https://api.github.com/users/UNN-VMK-Software/events{/privacy}","received_events_url":"https://api.github.com/users/UNN-VMK-Software/received_events","type":"Organization","site_admin":false},"repo":{"id":152223946,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIyMjM5NDY=","name":"agile-course-practice","full_name":"UNN-VMK-Software/agile-course-practice","private":false,"owner":{"login":"UNN-VMK-Software","id":5463209,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NjMyMDk=","avatar_url":"https://avatars2.githubusercontent.com/u/5463209?v=4","gravatar_id":"","url":"https://api.github.com/users/UNN-VMK-Software","html_url":"https://github.com/UNN-VMK-Software","followers_url":"https://api.github.com/users/UNN-VMK-Software/followers","following_url":"https://api.github.com/users/UNN-VMK-Software/following{/other_user}","gists_url":"https://api.github.com/users/UNN-VMK-Software/gists{/gist_id}","starred_url":"https://api.github.com/users/UNN-VMK-Software/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UNN-VMK-Software/subscriptions","organizations_url":"https://api.github.com/users/UNN-VMK-Software/orgs","repos_url":"https://api.github.com/users/UNN-VMK-Software/repos","events_url":"https://api.github.com/users/UNN-VMK-Software/events{/privacy}","received_events_url":"https://api.github.com/users/UNN-VMK-Software/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/UNN-VMK-Software/agile-course-practice","description":"Practice for master course on Agile Development","fork":false,"url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice","forks_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/forks","keys_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/teams","hooks_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/hooks","issue_events_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/events{/number}","events_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/events","assignees_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/assignees{/user}","branches_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/branches{/branch}","tags_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/tags","blobs_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/git/refs{/sha}","trees_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/statuses/{sha}","languages_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/languages","stargazers_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/stargazers","contributors_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/contributors","subscribers_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/subscribers","subscription_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/subscription","commits_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/commits{/sha}","git_commits_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/git/commits{/sha}","comments_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/comments{/number}","issue_comment_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/comments{/number}","contents_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/contents/{+path}","compare_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/merges","archive_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/downloads","issues_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues{/number}","pulls_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls{/number}","milestones_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/milestones{/number}","notifications_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/labels{/name}","releases_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/releases{/id}","deployments_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/deployments","created_at":"2018-10-09T09:25:36Z","updated_at":"2018-11-01T07:58:02Z","pushed_at":"2018-11-01T10:24:42Z","git_url":"git://github.com/UNN-VMK-Software/agile-course-practice.git","ssh_url":"git@github.com:UNN-VMK-Software/agile-course-practice.git","clone_url":"https://github.com/UNN-VMK-Software/agile-course-practice.git","svn_url":"https://github.com/UNN-VMK-Software/agile-course-practice","homepage":"","size":530,"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":44,"mirror_url":null,"archived":false,"open_issues_count":16,"license":null,"forks":44,"open_issues":16,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/78"},"html":{"href":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/78"},"issue":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/78"},"comments":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/statuses/6da76809be855ecf55e49fb9da35cdfffa5d730b"}},"author_association":"NONE"}}
{"actor":{"display_login":"andreymarchenko"}}