payload: {"action":"created","comment":{"url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/pulls/comments/334295716","pull_request_review_id":301065929,"id":334295716,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMzNDI5NTcxNg==","diff_hunk":"@@ -1,67 +1,18 @@\n package ru.sbt.mipt.oop;\n \n-import com.google.gson.Gson;\n-\n import java.io.IOException;\n-import java.nio.file.Files;\n-import java.nio.file.Paths;\n-\n-import static ru.sbt.mipt.oop.SensorEventType.*;\n \n public class Application {\n \n     public static void main(String... args) throws IOException {\n+        EventHandling eventHandling = new EventHandlingDoorLightOnOff();","path":"src/main/java/ru/sbt/mipt/oop/Application.java","position":14,"original_position":14,"commit_id":"2a341580c75c170ff18f6c97db908f41370063e5","original_commit_id":"2a341580c75c170ff18f6c97db908f41370063e5","user":{"login":"a-ivanov","id":3616930,"node_id":"MDQ6VXNlcjM2MTY5MzA=","avatar_url":"https://avatars0.githubusercontent.com/u/3616930?v=4","gravatar_id":"","url":"https://api.github.com/users/a-ivanov","html_url":"https://github.com/a-ivanov","followers_url":"https://api.github.com/users/a-ivanov/followers","following_url":"https://api.github.com/users/a-ivanov/following{/other_user}","gists_url":"https://api.github.com/users/a-ivanov/gists{/gist_id}","starred_url":"https://api.github.com/users/a-ivanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-ivanov/subscriptions","organizations_url":"https://api.github.com/users/a-ivanov/orgs","repos_url":"https://api.github.com/users/a-ivanov/repos","events_url":"https://api.github.com/users/a-ivanov/events{/privacy}","received_events_url":"https://api.github.com/users/a-ivanov/received_events","type":"User","site_admin":false},"body":"А где код классов EventHandlingDoorLightOnOff, SmartHomeReadJson? Может быть вы забыли добавить эти файлы в ветку?","created_at":"2019-10-13T20:41:30Z","updated_at":"2019-10-13T20:42:08Z","html_url":"https://github.com/AlexanderMozhaev1/smart-home-2019/pull/1#discussion_r334295716","pull_request_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/pulls/comments/334295716"},"html":{"href":"https://github.com/AlexanderMozhaev1/smart-home-2019/pull/1#discussion_r334295716"},"pull_request":{"href":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/pulls/1","id":327333055,"node_id":"MDExOlB1bGxSZXF1ZXN0MzI3MzMzMDU1","html_url":"https://github.com/AlexanderMozhaev1/smart-home-2019/pull/1","diff_url":"https://github.com/AlexanderMozhaev1/smart-home-2019/pull/1.diff","patch_url":"https://github.com/AlexanderMozhaev1/smart-home-2019/pull/1.patch","issue_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/issues/1","number":1,"state":"open","locked":false,"title":"hometask-1","user":{"login":"AlexanderMozhaev1","id":56276748,"node_id":"MDQ6VXNlcjU2Mjc2NzQ4","avatar_url":"https://avatars1.githubusercontent.com/u/56276748?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexanderMozhaev1","html_url":"https://github.com/AlexanderMozhaev1","followers_url":"https://api.github.com/users/AlexanderMozhaev1/followers","following_url":"https://api.github.com/users/AlexanderMozhaev1/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderMozhaev1/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderMozhaev1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderMozhaev1/subscriptions","organizations_url":"https://api.github.com/users/AlexanderMozhaev1/orgs","repos_url":"https://api.github.com/users/AlexanderMozhaev1/repos","events_url":"https://api.github.com/users/AlexanderMozhaev1/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderMozhaev1/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-10-11T19:16:13Z","updated_at":"2019-10-13T20:42:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"265a61b2c971799231434c05d1636f5be0182f72","assignee":null,"assignees":[],"requested_reviewers":[{"login":"sbt-agoshkov","id":9216865,"node_id":"MDQ6VXNlcjkyMTY4NjU=","avatar_url":"https://avatars1.githubusercontent.com/u/9216865?v=4","gravatar_id":"","url":"https://api.github.com/users/sbt-agoshkov","html_url":"https://github.com/sbt-agoshkov","followers_url":"https://api.github.com/users/sbt-agoshkov/followers","following_url":"https://api.github.com/users/sbt-agoshkov/following{/other_user}","gists_url":"https://api.github.com/users/sbt-agoshkov/gists{/gist_id}","starred_url":"https://api.github.com/users/sbt-agoshkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbt-agoshkov/subscriptions","organizations_url":"https://api.github.com/users/sbt-agoshkov/orgs","repos_url":"https://api.github.com/users/sbt-agoshkov/repos","events_url":"https://api.github.com/users/sbt-agoshkov/events{/privacy}","received_events_url":"https://api.github.com/users/sbt-agoshkov/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/pulls/1/commits","review_comments_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/pulls/1/comments","review_comment_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/issues/1/comments","statuses_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/statuses/2a341580c75c170ff18f6c97db908f41370063e5","head":{"label":"AlexanderMozhaev1:hometask-1","ref":"hometask-1","sha":"2a341580c75c170ff18f6c97db908f41370063e5","user":{"login":"AlexanderMozhaev1","id":56276748,"node_id":"MDQ6VXNlcjU2Mjc2NzQ4","avatar_url":"https://avatars1.githubusercontent.com/u/56276748?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexanderMozhaev1","html_url":"https://github.com/AlexanderMozhaev1","followers_url":"https://api.github.com/users/AlexanderMozhaev1/followers","following_url":"https://api.github.com/users/AlexanderMozhaev1/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderMozhaev1/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderMozhaev1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderMozhaev1/subscriptions","organizations_url":"https://api.github.com/users/AlexanderMozhaev1/orgs","repos_url":"https://api.github.com/users/AlexanderMozhaev1/repos","events_url":"https://api.github.com/users/AlexanderMozhaev1/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderMozhaev1/received_events","type":"User","site_admin":false},"repo":{"id":214460967,"node_id":"MDEwOlJlcG9zaXRvcnkyMTQ0NjA5Njc=","name":"smart-home-2019","full_name":"AlexanderMozhaev1/smart-home-2019","private":false,"owner":{"login":"AlexanderMozhaev1","id":56276748,"node_id":"MDQ6VXNlcjU2Mjc2NzQ4","avatar_url":"https://avatars1.githubusercontent.com/u/56276748?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexanderMozhaev1","html_url":"https://github.com/AlexanderMozhaev1","followers_url":"https://api.github.com/users/AlexanderMozhaev1/followers","following_url":"https://api.github.com/users/AlexanderMozhaev1/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderMozhaev1/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderMozhaev1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderMozhaev1/subscriptions","organizations_url":"https://api.github.com/users/AlexanderMozhaev1/orgs","repos_url":"https://api.github.com/users/AlexanderMozhaev1/repos","events_url":"https://api.github.com/users/AlexanderMozhaev1/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderMozhaev1/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AlexanderMozhaev1/smart-home-2019","description":null,"fork":true,"url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019","forks_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/forks","keys_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/teams","hooks_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/hooks","issue_events_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/issues/events{/number}","events_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/events","assignees_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/assignees{/user}","branches_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/branches{/branch}","tags_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/tags","blobs_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/languages","stargazers_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/stargazers","contributors_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/contributors","subscribers_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/subscribers","subscription_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/subscription","commits_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/contents/{+path}","compare_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/merges","archive_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/downloads","issues_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/issues{/number}","pulls_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/labels{/name}","releases_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/releases{/id}","deployments_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/deployments","created_at":"2019-10-11T14:46:19Z","updated_at":"2019-10-11T14:46:21Z","pushed_at":"2019-10-11T19:16:14Z","git_url":"git://github.com/AlexanderMozhaev1/smart-home-2019.git","ssh_url":"git@github.com:AlexanderMozhaev1/smart-home-2019.git","clone_url":"https://github.com/AlexanderMozhaev1/smart-home-2019.git","svn_url":"https://github.com/AlexanderMozhaev1/smart-home-2019","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"AlexanderMozhaev1:master","ref":"master","sha":"ec498603d0cf019781a4c6786048400102c2cb5f","user":{"login":"AlexanderMozhaev1","id":56276748,"node_id":"MDQ6VXNlcjU2Mjc2NzQ4","avatar_url":"https://avatars1.githubusercontent.com/u/56276748?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexanderMozhaev1","html_url":"https://github.com/AlexanderMozhaev1","followers_url":"https://api.github.com/users/AlexanderMozhaev1/followers","following_url":"https://api.github.com/users/AlexanderMozhaev1/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderMozhaev1/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderMozhaev1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderMozhaev1/subscriptions","organizations_url":"https://api.github.com/users/AlexanderMozhaev1/orgs","repos_url":"https://api.github.com/users/AlexanderMozhaev1/repos","events_url":"https://api.github.com/users/AlexanderMozhaev1/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderMozhaev1/received_events","type":"User","site_admin":false},"repo":{"id":214460967,"node_id":"MDEwOlJlcG9zaXRvcnkyMTQ0NjA5Njc=","name":"smart-home-2019","full_name":"AlexanderMozhaev1/smart-home-2019","private":false,"owner":{"login":"AlexanderMozhaev1","id":56276748,"node_id":"MDQ6VXNlcjU2Mjc2NzQ4","avatar_url":"https://avatars1.githubusercontent.com/u/56276748?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexanderMozhaev1","html_url":"https://github.com/AlexanderMozhaev1","followers_url":"https://api.github.com/users/AlexanderMozhaev1/followers","following_url":"https://api.github.com/users/AlexanderMozhaev1/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderMozhaev1/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderMozhaev1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderMozhaev1/subscriptions","organizations_url":"https://api.github.com/users/AlexanderMozhaev1/orgs","repos_url":"https://api.github.com/users/AlexanderMozhaev1/repos","events_url":"https://api.github.com/users/AlexanderMozhaev1/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderMozhaev1/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AlexanderMozhaev1/smart-home-2019","description":null,"fork":true,"url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019","forks_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/forks","keys_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/teams","hooks_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/hooks","issue_events_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/issues/events{/number}","events_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/events","assignees_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/assignees{/user}","branches_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/branches{/branch}","tags_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/tags","blobs_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/languages","stargazers_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/stargazers","contributors_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/contributors","subscribers_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/subscribers","subscription_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/subscription","commits_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/contents/{+path}","compare_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/merges","archive_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/downloads","issues_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/issues{/number}","pulls_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/labels{/name}","releases_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/releases{/id}","deployments_url":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/deployments","created_at":"2019-10-11T14:46:19Z","updated_at":"2019-10-11T14:46:21Z","pushed_at":"2019-10-11T19:16:14Z","git_url":"git://github.com/AlexanderMozhaev1/smart-home-2019.git","ssh_url":"git@github.com:AlexanderMozhaev1/smart-home-2019.git","clone_url":"https://github.com/AlexanderMozhaev1/smart-home-2019.git","svn_url":"https://github.com/AlexanderMozhaev1/smart-home-2019","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/pulls/1"},"html":{"href":"https://github.com/AlexanderMozhaev1/smart-home-2019/pull/1"},"issue":{"href":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/issues/1"},"comments":{"href":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/AlexanderMozhaev1/smart-home-2019/statuses/2a341580c75c170ff18f6c97db908f41370063e5"}},"author_association":"OWNER"}}
other: {"actor":{"display_login":"a-ivanov"}}