{"action":"created","comment":{"url":"https://api.github.com/repos/SberTechJavaSchool/Homework/pulls/comments/167404554","pull_request_review_id":95627706,"id":167404554,"diff_hunk":"@@ -0,0 +1,40 @@\n+package ru.sberbank.homework.avramenok;\n+\n+public class SimpleCalculator {\n+\n+\n+    public int sum(int a, int b) {\n+        return a + b;\n+    }\n+\n+    public double sum(double a, double b) {\n+        return a + b;\n+    }\n+\n+    public int sub(int a, int b) {\n+        return a - b;\n+    }\n+\n+    public double sub(double a, double b) {\n+        return a - b;\n+    }\n+\n+    public int mult(int a, int b) {\n+        return a * b;\n+    }\n+\n+    public double mult(double a, double b) {\n+        return a * b;\n+    }\n+\n+    public int div(int a, int b) {\n+        if(b == 0){\n+            throw new ArithmeticException(\"Error! Dividing by zero!\");","path":"hw01/src/ru/sberbank/homework/avramenok/SimpleCalculator.java","position":32,"original_position":32,"commit_id":"53d94afa7828e8a36a2db8d0b5b925eed48c7d81","original_commit_id":"53d94afa7828e8a36a2db8d0b5b925eed48c7d81","user":{"login":"bormoshka","id":1025327,"avatar_url":"https://avatars3.githubusercontent.com/u/1025327?v=4","gravatar_id":"","url":"https://api.github.com/users/bormoshka","html_url":"https://github.com/bormoshka","followers_url":"https://api.github.com/users/bormoshka/followers","following_url":"https://api.github.com/users/bormoshka/following{/other_user}","gists_url":"https://api.github.com/users/bormoshka/gists{/gist_id}","starred_url":"https://api.github.com/users/bormoshka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bormoshka/subscriptions","organizations_url":"https://api.github.com/users/bormoshka/orgs","repos_url":"https://api.github.com/users/bormoshka/repos","events_url":"https://api.github.com/users/bormoshka/events{/privacy}","received_events_url":"https://api.github.com/users/bormoshka/received_events","type":"User","site_admin":false},"body":"А иначе оно брошено не будет?","created_at":"2018-02-10T17:18:37Z","updated_at":"2018-02-10T17:20:47Z","html_url":"https://github.com/SberTechJavaSchool/Homework/pull/9#discussion_r167404554","pull_request_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/pulls/9","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/SberTechJavaSchool/Homework/pulls/comments/167404554"},"html":{"href":"https://github.com/SberTechJavaSchool/Homework/pull/9#discussion_r167404554"},"pull_request":{"href":"https://api.github.com/repos/SberTechJavaSchool/Homework/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/SberTechJavaSchool/Homework/pulls/9","id":167691512,"html_url":"https://github.com/SberTechJavaSchool/Homework/pull/9","diff_url":"https://github.com/SberTechJavaSchool/Homework/pull/9.diff","patch_url":"https://github.com/SberTechJavaSchool/Homework/pull/9.patch","issue_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/issues/9","number":9,"state":"open","locked":false,"title":"SimpleCalculator. Avramenok.","user":{"login":"slavaavr","id":28762839,"avatar_url":"https://avatars0.githubusercontent.com/u/28762839?v=4","gravatar_id":"","url":"https://api.github.com/users/slavaavr","html_url":"https://github.com/slavaavr","followers_url":"https://api.github.com/users/slavaavr/followers","following_url":"https://api.github.com/users/slavaavr/following{/other_user}","gists_url":"https://api.github.com/users/slavaavr/gists{/gist_id}","starred_url":"https://api.github.com/users/slavaavr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slavaavr/subscriptions","organizations_url":"https://api.github.com/users/slavaavr/orgs","repos_url":"https://api.github.com/users/slavaavr/repos","events_url":"https://api.github.com/users/slavaavr/events{/privacy}","received_events_url":"https://api.github.com/users/slavaavr/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-07T13:24:24Z","updated_at":"2018-02-10T17:20:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b20ea2dc4ae3b472049929203be4664994d0f69f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/pulls/9/commits","review_comments_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/pulls/9/comments","review_comment_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/issues/9/comments","statuses_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/statuses/53d94afa7828e8a36a2db8d0b5b925eed48c7d81","head":{"label":"slavaavr:master","ref":"master","sha":"53d94afa7828e8a36a2db8d0b5b925eed48c7d81","user":{"login":"slavaavr","id":28762839,"avatar_url":"https://avatars0.githubusercontent.com/u/28762839?v=4","gravatar_id":"","url":"https://api.github.com/users/slavaavr","html_url":"https://github.com/slavaavr","followers_url":"https://api.github.com/users/slavaavr/followers","following_url":"https://api.github.com/users/slavaavr/following{/other_user}","gists_url":"https://api.github.com/users/slavaavr/gists{/gist_id}","starred_url":"https://api.github.com/users/slavaavr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slavaavr/subscriptions","organizations_url":"https://api.github.com/users/slavaavr/orgs","repos_url":"https://api.github.com/users/slavaavr/repos","events_url":"https://api.github.com/users/slavaavr/events{/privacy}","received_events_url":"https://api.github.com/users/slavaavr/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"SberTechJavaSchool:master","ref":"master","sha":"05af574ce46cf08badd614d0d9adfefd5d8d2b3b","user":{"login":"SberTechJavaSchool","id":36043895,"avatar_url":"https://avatars3.githubusercontent.com/u/36043895?v=4","gravatar_id":"","url":"https://api.github.com/users/SberTechJavaSchool","html_url":"https://github.com/SberTechJavaSchool","followers_url":"https://api.github.com/users/SberTechJavaSchool/followers","following_url":"https://api.github.com/users/SberTechJavaSchool/following{/other_user}","gists_url":"https://api.github.com/users/SberTechJavaSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/SberTechJavaSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SberTechJavaSchool/subscriptions","organizations_url":"https://api.github.com/users/SberTechJavaSchool/orgs","repos_url":"https://api.github.com/users/SberTechJavaSchool/repos","events_url":"https://api.github.com/users/SberTechJavaSchool/events{/privacy}","received_events_url":"https://api.github.com/users/SberTechJavaSchool/received_events","type":"Organization","site_admin":false},"repo":{"id":120473051,"name":"Homework","full_name":"SberTechJavaSchool/Homework","owner":{"login":"SberTechJavaSchool","id":36043895,"avatar_url":"https://avatars3.githubusercontent.com/u/36043895?v=4","gravatar_id":"","url":"https://api.github.com/users/SberTechJavaSchool","html_url":"https://github.com/SberTechJavaSchool","followers_url":"https://api.github.com/users/SberTechJavaSchool/followers","following_url":"https://api.github.com/users/SberTechJavaSchool/following{/other_user}","gists_url":"https://api.github.com/users/SberTechJavaSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/SberTechJavaSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SberTechJavaSchool/subscriptions","organizations_url":"https://api.github.com/users/SberTechJavaSchool/orgs","repos_url":"https://api.github.com/users/SberTechJavaSchool/repos","events_url":"https://api.github.com/users/SberTechJavaSchool/events{/privacy}","received_events_url":"https://api.github.com/users/SberTechJavaSchool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SberTechJavaSchool/Homework","description":"Домашняя работа","fork":false,"url":"https://api.github.com/repos/SberTechJavaSchool/Homework","forks_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/forks","keys_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/teams","hooks_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/hooks","issue_events_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/issues/events{/number}","events_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/events","assignees_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/assignees{/user}","branches_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/branches{/branch}","tags_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/tags","blobs_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/statuses/{sha}","languages_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/languages","stargazers_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/stargazers","contributors_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/contributors","subscribers_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/subscribers","subscription_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/subscription","commits_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/contents/{+path}","compare_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/merges","archive_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/downloads","issues_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/issues{/number}","pulls_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/pulls{/number}","milestones_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/milestones{/number}","notifications_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/labels{/name}","releases_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/releases{/id}","deployments_url":"https://api.github.com/repos/SberTechJavaSchool/Homework/deployments","created_at":"2018-02-06T14:49:25Z","updated_at":"2018-02-10T16:04:38Z","pushed_at":"2018-02-10T17:06:04Z","git_url":"git://github.com/SberTechJavaSchool/Homework.git","ssh_url":"git@github.com:SberTechJavaSchool/Homework.git","clone_url":"https://github.com/SberTechJavaSchool/Homework.git","svn_url":"https://github.com/SberTechJavaSchool/Homework","homepage":null,"size":41,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":16,"open_issues":9,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SberTechJavaSchool/Homework/pulls/9"},"html":{"href":"https://github.com/SberTechJavaSchool/Homework/pull/9"},"issue":{"href":"https://api.github.com/repos/SberTechJavaSchool/Homework/issues/9"},"comments":{"href":"https://api.github.com/repos/SberTechJavaSchool/Homework/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/SberTechJavaSchool/Homework/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/SberTechJavaSchool/Homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SberTechJavaSchool/Homework/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/SberTechJavaSchool/Homework/statuses/53d94afa7828e8a36a2db8d0b5b925eed48c7d81"}},"author_association":"NONE"}}
{"actor":{"display_login":"bormoshka"}}