{"action":"created","comment":{"url":"https://api.github.com/repos/ASGusev/ResemblanceServer/pulls/comments/93880076","pull_request_review_id":14368048,"id":93880076,"diff_hunk":"@@ -0,0 +1,369 @@\n+import java.io.*;\n+import java.sql.SQLException;\n+import java.util.ArrayList;\n+\n+public class Message {\n+    final public static int TEST_TYPE = 0;\n+    final public static int REGISTER_TYPE = 1;\n+    final public static int LOGIN_TYPE = 2;\n+    final public static int JOIN_RANDOM_GAME_TYPE = 3;\n+    final public static int QUIT_RANDOM_GAME_TYPE = 4;\n+    final public static int START_GAME_TYPE = 5;\n+    final public static int SEND_CARD_TYPE = 6;\n+    final public static int LEAD_REQUEST_TYPE = 7;\n+    final public static int LEAD_ASSOCIATION_TYPE = 8;\n+    final public static int CHOICE_REQUEST_TYPE = 9;\n+    final public static int CHOICE_TYPE = 10;\n+    final public static int VOTE_REQUEST_TYPE = 11;\n+    final public static int VOTE_TYPE = 12;\n+    final public static int ROUND_END_TYPE = 13;\n+    final public static int RATING_TYPE = 14;\n+    final public static int CREATE_FRIEND_GAME_TYPE = 15;\n+    final public static int JOIN_FRIEND_GAME_TYPE = 16;\n+    final public static int FRIEND_GAME_PLAYER_TYPE = 17;\n+    final public static int REMOVE_PLAYER_TYPE = 18;\n+    final public static int CANCEL_FRIEND_GAME_TYPE = 19;\n+    final public static int START_FRIEND_GAME_TYPE = 20;\n+    final public static int GAME_FINISH_TYPE = 21;\n+    final public static int GAME_CANCELED_TYPE = 22;\n+    final public static int QUIT_FIEND_GAME_TYPE = 23;\n+    final public static int PASSWORD_CHANGE_REQUEST_TYPE = 24;\n+    final public static int PASSWORD_CHANGE_RESPONSE_TYPE = 25;\n+\n+    MessageModule.ClientThread client;\n+    private int type = 0;\n+\n+    Message(int type) {\n+        this.type = type;\n+    }\n+    Message(MessageModule.ClientThread client) { this.client = client; }\n+    Message(MessageModule.ClientThread client, int type) { this.type = type; this.client = client; }","path":"src/main/java/Message.java","position":40,"original_position":40,"commit_id":"bfbf14dbcce217d507fe1c4f4a5b46421f919958","original_commit_id":"bfbf14dbcce217d507fe1c4f4a5b46421f919958","user":{"login":"sproshev","id":4990763,"avatar_url":"https://avatars.githubusercontent.com/u/4990763?v=3","gravatar_id":"","url":"https://api.github.com/users/sproshev","html_url":"https://github.com/sproshev","followers_url":"https://api.github.com/users/sproshev/followers","following_url":"https://api.github.com/users/sproshev/following{/other_user}","gists_url":"https://api.github.com/users/sproshev/gists{/gist_id}","starred_url":"https://api.github.com/users/sproshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sproshev/subscriptions","organizations_url":"https://api.github.com/users/sproshev/orgs","repos_url":"https://api.github.com/users/sproshev/repos","events_url":"https://api.github.com/users/sproshev/events{/privacy}","received_events_url":"https://api.github.com/users/sproshev/received_events","type":"User","site_admin":false},"body":"все неиспользованное должно быть удалено","created_at":"2016-12-26T18:17:03Z","updated_at":"2016-12-26T18:51:01Z","html_url":"https://github.com/ASGusev/ResemblanceServer/pull/3#discussion_r93880076","pull_request_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/ASGusev/ResemblanceServer/pulls/comments/93880076"},"html":{"href":"https://github.com/ASGusev/ResemblanceServer/pull/3#discussion_r93880076"},"pull_request":{"href":"https://api.github.com/repos/ASGusev/ResemblanceServer/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/ASGusev/ResemblanceServer/pulls/3","id":98488151,"html_url":"https://github.com/ASGusev/ResemblanceServer/pull/3","diff_url":"https://github.com/ASGusev/ResemblanceServer/pull/3.diff","patch_url":"https://github.com/ASGusev/ResemblanceServer/pull/3.patch","issue_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/issues/3","number":3,"state":"open","locked":false,"title":"For rewiev","user":{"login":"ASGusev","id":5954975,"avatar_url":"https://avatars.githubusercontent.com/u/5954975?v=3","gravatar_id":"","url":"https://api.github.com/users/ASGusev","html_url":"https://github.com/ASGusev","followers_url":"https://api.github.com/users/ASGusev/followers","following_url":"https://api.github.com/users/ASGusev/following{/other_user}","gists_url":"https://api.github.com/users/ASGusev/gists{/gist_id}","starred_url":"https://api.github.com/users/ASGusev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ASGusev/subscriptions","organizations_url":"https://api.github.com/users/ASGusev/orgs","repos_url":"https://api.github.com/users/ASGusev/repos","events_url":"https://api.github.com/users/ASGusev/events{/privacy}","received_events_url":"https://api.github.com/users/ASGusev/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-18T21:30:46Z","updated_at":"2016-12-26T18:51:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ec58c7e9e53b03e633ee238ff108759575dab14","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/pulls/3/commits","review_comments_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/pulls/3/comments","review_comment_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/issues/3/comments","statuses_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/statuses/bfbf14dbcce217d507fe1c4f4a5b46421f919958","head":{"label":"ASGusev:master","ref":"master","sha":"bfbf14dbcce217d507fe1c4f4a5b46421f919958","user":{"login":"ASGusev","id":5954975,"avatar_url":"https://avatars.githubusercontent.com/u/5954975?v=3","gravatar_id":"","url":"https://api.github.com/users/ASGusev","html_url":"https://github.com/ASGusev","followers_url":"https://api.github.com/users/ASGusev/followers","following_url":"https://api.github.com/users/ASGusev/following{/other_user}","gists_url":"https://api.github.com/users/ASGusev/gists{/gist_id}","starred_url":"https://api.github.com/users/ASGusev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ASGusev/subscriptions","organizations_url":"https://api.github.com/users/ASGusev/orgs","repos_url":"https://api.github.com/users/ASGusev/repos","events_url":"https://api.github.com/users/ASGusev/events{/privacy}","received_events_url":"https://api.github.com/users/ASGusev/received_events","type":"User","site_admin":false},"repo":{"id":74160085,"name":"ResemblanceServer","full_name":"ASGusev/ResemblanceServer","owner":{"login":"ASGusev","id":5954975,"avatar_url":"https://avatars.githubusercontent.com/u/5954975?v=3","gravatar_id":"","url":"https://api.github.com/users/ASGusev","html_url":"https://github.com/ASGusev","followers_url":"https://api.github.com/users/ASGusev/followers","following_url":"https://api.github.com/users/ASGusev/following{/other_user}","gists_url":"https://api.github.com/users/ASGusev/gists{/gist_id}","starred_url":"https://api.github.com/users/ASGusev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ASGusev/subscriptions","organizations_url":"https://api.github.com/users/ASGusev/orgs","repos_url":"https://api.github.com/users/ASGusev/repos","events_url":"https://api.github.com/users/ASGusev/events{/privacy}","received_events_url":"https://api.github.com/users/ASGusev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ASGusev/ResemblanceServer","description":null,"fork":false,"url":"https://api.github.com/repos/ASGusev/ResemblanceServer","forks_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/forks","keys_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/teams","hooks_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/hooks","issue_events_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/issues/events{/number}","events_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/events","assignees_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/assignees{/user}","branches_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/branches{/branch}","tags_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/tags","blobs_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/statuses/{sha}","languages_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/languages","stargazers_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/stargazers","contributors_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/contributors","subscribers_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/subscribers","subscription_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/subscription","commits_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/contents/{+path}","compare_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/merges","archive_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/downloads","issues_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/issues{/number}","pulls_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/pulls{/number}","milestones_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/milestones{/number}","notifications_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/labels{/name}","releases_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/releases{/id}","deployments_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/deployments","created_at":"2016-11-18T19:29:21Z","updated_at":"2016-11-28T11:44:15Z","pushed_at":"2016-12-26T08:59:18Z","git_url":"git://github.com/ASGusev/ResemblanceServer.git","ssh_url":"git@github.com:ASGusev/ResemblanceServer.git","clone_url":"https://github.com/ASGusev/ResemblanceServer.git","svn_url":"https://github.com/ASGusev/ResemblanceServer","homepage":null,"size":4354,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"ASGusev:accepted","ref":"accepted","sha":"95697b5d217758637c14d0d4b7d3a40c85c8c73b","user":{"login":"ASGusev","id":5954975,"avatar_url":"https://avatars.githubusercontent.com/u/5954975?v=3","gravatar_id":"","url":"https://api.github.com/users/ASGusev","html_url":"https://github.com/ASGusev","followers_url":"https://api.github.com/users/ASGusev/followers","following_url":"https://api.github.com/users/ASGusev/following{/other_user}","gists_url":"https://api.github.com/users/ASGusev/gists{/gist_id}","starred_url":"https://api.github.com/users/ASGusev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ASGusev/subscriptions","organizations_url":"https://api.github.com/users/ASGusev/orgs","repos_url":"https://api.github.com/users/ASGusev/repos","events_url":"https://api.github.com/users/ASGusev/events{/privacy}","received_events_url":"https://api.github.com/users/ASGusev/received_events","type":"User","site_admin":false},"repo":{"id":74160085,"name":"ResemblanceServer","full_name":"ASGusev/ResemblanceServer","owner":{"login":"ASGusev","id":5954975,"avatar_url":"https://avatars.githubusercontent.com/u/5954975?v=3","gravatar_id":"","url":"https://api.github.com/users/ASGusev","html_url":"https://github.com/ASGusev","followers_url":"https://api.github.com/users/ASGusev/followers","following_url":"https://api.github.com/users/ASGusev/following{/other_user}","gists_url":"https://api.github.com/users/ASGusev/gists{/gist_id}","starred_url":"https://api.github.com/users/ASGusev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ASGusev/subscriptions","organizations_url":"https://api.github.com/users/ASGusev/orgs","repos_url":"https://api.github.com/users/ASGusev/repos","events_url":"https://api.github.com/users/ASGusev/events{/privacy}","received_events_url":"https://api.github.com/users/ASGusev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ASGusev/ResemblanceServer","description":null,"fork":false,"url":"https://api.github.com/repos/ASGusev/ResemblanceServer","forks_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/forks","keys_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/teams","hooks_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/hooks","issue_events_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/issues/events{/number}","events_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/events","assignees_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/assignees{/user}","branches_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/branches{/branch}","tags_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/tags","blobs_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/statuses/{sha}","languages_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/languages","stargazers_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/stargazers","contributors_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/contributors","subscribers_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/subscribers","subscription_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/subscription","commits_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/contents/{+path}","compare_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/merges","archive_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/downloads","issues_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/issues{/number}","pulls_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/pulls{/number}","milestones_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/milestones{/number}","notifications_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/labels{/name}","releases_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/releases{/id}","deployments_url":"https://api.github.com/repos/ASGusev/ResemblanceServer/deployments","created_at":"2016-11-18T19:29:21Z","updated_at":"2016-11-28T11:44:15Z","pushed_at":"2016-12-26T08:59:18Z","git_url":"git://github.com/ASGusev/ResemblanceServer.git","ssh_url":"git@github.com:ASGusev/ResemblanceServer.git","clone_url":"https://github.com/ASGusev/ResemblanceServer.git","svn_url":"https://github.com/ASGusev/ResemblanceServer","homepage":null,"size":4354,"stargazers_count":0,"watchers_count":0,"language":"Java","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/ASGusev/ResemblanceServer/pulls/3"},"html":{"href":"https://github.com/ASGusev/ResemblanceServer/pull/3"},"issue":{"href":"https://api.github.com/repos/ASGusev/ResemblanceServer/issues/3"},"comments":{"href":"https://api.github.com/repos/ASGusev/ResemblanceServer/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/ASGusev/ResemblanceServer/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/ASGusev/ResemblanceServer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ASGusev/ResemblanceServer/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/ASGusev/ResemblanceServer/statuses/bfbf14dbcce217d507fe1c4f4a5b46421f919958"}}}}
{"actor":{"display_login":"sproshev"}}