{"action":"created","comment":{"url":"https://api.github.com/repos/Java-Classes/MealOrder/pulls/comments/169986553","pull_request_review_id":98585837,"id":169986553,"diff_hunk":"@@ -177,7 +176,7 @@ void throwsCannotCancelProcessedOrder() {\n                                                             .setOrderId(ORDER_ID)","path":"api-java/src/test/java/javaclasses/mealorder/c/order/CancelOrderTest.java","position":47,"original_position":56,"commit_id":"c741ff138cf50a85f58e5244c4a526fc6603df01","original_commit_id":"c741ff138cf50a85f58e5244c4a526fc6603df01","user":{"login":"YuriiHaidamaka","id":33631944,"avatar_url":"https://avatars0.githubusercontent.com/u/33631944?v=4","gravatar_id":"","url":"https://api.github.com/users/YuriiHaidamaka","html_url":"https://github.com/YuriiHaidamaka","followers_url":"https://api.github.com/users/YuriiHaidamaka/followers","following_url":"https://api.github.com/users/YuriiHaidamaka/following{/other_user}","gists_url":"https://api.github.com/users/YuriiHaidamaka/gists{/gist_id}","starred_url":"https://api.github.com/users/YuriiHaidamaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuriiHaidamaka/subscriptions","organizations_url":"https://api.github.com/users/YuriiHaidamaka/orgs","repos_url":"https://api.github.com/users/YuriiHaidamaka/repos","events_url":"https://api.github.com/users/YuriiHaidamaka/events{/privacy}","received_events_url":"https://api.github.com/users/YuriiHaidamaka/received_events","type":"User","site_admin":false},"body":"Delete 173 line.","created_at":"2018-02-22T15:07:26Z","updated_at":"2018-02-22T15:10:52Z","html_url":"https://github.com/Java-Classes/MealOrder/pull/42#discussion_r169986553","pull_request_url":"https://api.github.com/repos/Java-Classes/MealOrder/pulls/42","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Java-Classes/MealOrder/pulls/comments/169986553"},"html":{"href":"https://github.com/Java-Classes/MealOrder/pull/42#discussion_r169986553"},"pull_request":{"href":"https://api.github.com/repos/Java-Classes/MealOrder/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/Java-Classes/MealOrder/pulls/42","id":170764443,"html_url":"https://github.com/Java-Classes/MealOrder/pull/42","diff_url":"https://github.com/Java-Classes/MealOrder/pull/42.diff","patch_url":"https://github.com/Java-Classes/MealOrder/pull/42.patch","issue_url":"https://api.github.com/repos/Java-Classes/MealOrder/issues/42","number":42,"state":"open","locked":false,"title":"Order aggregate refactoring","user":{"login":"vladislav-kozachenko","id":29333127,"avatar_url":"https://avatars0.githubusercontent.com/u/29333127?v=4","gravatar_id":"","url":"https://api.github.com/users/vladislav-kozachenko","html_url":"https://github.com/vladislav-kozachenko","followers_url":"https://api.github.com/users/vladislav-kozachenko/followers","following_url":"https://api.github.com/users/vladislav-kozachenko/following{/other_user}","gists_url":"https://api.github.com/users/vladislav-kozachenko/gists{/gist_id}","starred_url":"https://api.github.com/users/vladislav-kozachenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladislav-kozachenko/subscriptions","organizations_url":"https://api.github.com/users/vladislav-kozachenko/orgs","repos_url":"https://api.github.com/users/vladislav-kozachenko/repos","events_url":"https://api.github.com/users/vladislav-kozachenko/events{/privacy}","received_events_url":"https://api.github.com/users/vladislav-kozachenko/received_events","type":"User","site_admin":false},"body":"In this PR we have refactored classes that relate to the order aggregate as follows:\r\n- Removed unnecessary whitespaces\r\n- Added Javadocs for all public methods and classes\r\n- Extracted variables in calls\r\n- Extracted returning values\r\n- Split long methods\r\n- Validated null arguments in public static methods","created_at":"2018-02-22T14:26:06Z","updated_at":"2018-02-22T15:10:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"34c264d296c1ebfa1e1cf51c4aa9fb8021d4af31","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Java-Classes/MealOrder/pulls/42/commits","review_comments_url":"https://api.github.com/repos/Java-Classes/MealOrder/pulls/42/comments","review_comment_url":"https://api.github.com/repos/Java-Classes/MealOrder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Java-Classes/MealOrder/issues/42/comments","statuses_url":"https://api.github.com/repos/Java-Classes/MealOrder/statuses/c741ff138cf50a85f58e5244c4a526fc6603df01","head":{"label":"Java-Classes:order_aggregate_refactoring","ref":"order_aggregate_refactoring","sha":"c741ff138cf50a85f58e5244c4a526fc6603df01","user":{"login":"Java-Classes","id":16760983,"avatar_url":"https://avatars1.githubusercontent.com/u/16760983?v=4","gravatar_id":"","url":"https://api.github.com/users/Java-Classes","html_url":"https://github.com/Java-Classes","followers_url":"https://api.github.com/users/Java-Classes/followers","following_url":"https://api.github.com/users/Java-Classes/following{/other_user}","gists_url":"https://api.github.com/users/Java-Classes/gists{/gist_id}","starred_url":"https://api.github.com/users/Java-Classes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Java-Classes/subscriptions","organizations_url":"https://api.github.com/users/Java-Classes/orgs","repos_url":"https://api.github.com/users/Java-Classes/repos","events_url":"https://api.github.com/users/Java-Classes/events{/privacy}","received_events_url":"https://api.github.com/users/Java-Classes/received_events","type":"Organization","site_admin":false},"repo":{"id":119825655,"name":"MealOrder","full_name":"Java-Classes/MealOrder","owner":{"login":"Java-Classes","id":16760983,"avatar_url":"https://avatars1.githubusercontent.com/u/16760983?v=4","gravatar_id":"","url":"https://api.github.com/users/Java-Classes","html_url":"https://github.com/Java-Classes","followers_url":"https://api.github.com/users/Java-Classes/followers","following_url":"https://api.github.com/users/Java-Classes/following{/other_user}","gists_url":"https://api.github.com/users/Java-Classes/gists{/gist_id}","starred_url":"https://api.github.com/users/Java-Classes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Java-Classes/subscriptions","organizations_url":"https://api.github.com/users/Java-Classes/orgs","repos_url":"https://api.github.com/users/Java-Classes/repos","events_url":"https://api.github.com/users/Java-Classes/events{/privacy}","received_events_url":"https://api.github.com/users/Java-Classes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Java-Classes/MealOrder","description":"The MealOrder application.","fork":false,"url":"https://api.github.com/repos/Java-Classes/MealOrder","forks_url":"https://api.github.com/repos/Java-Classes/MealOrder/forks","keys_url":"https://api.github.com/repos/Java-Classes/MealOrder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Java-Classes/MealOrder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Java-Classes/MealOrder/teams","hooks_url":"https://api.github.com/repos/Java-Classes/MealOrder/hooks","issue_events_url":"https://api.github.com/repos/Java-Classes/MealOrder/issues/events{/number}","events_url":"https://api.github.com/repos/Java-Classes/MealOrder/events","assignees_url":"https://api.github.com/repos/Java-Classes/MealOrder/assignees{/user}","branches_url":"https://api.github.com/repos/Java-Classes/MealOrder/branches{/branch}","tags_url":"https://api.github.com/repos/Java-Classes/MealOrder/tags","blobs_url":"https://api.github.com/repos/Java-Classes/MealOrder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Java-Classes/MealOrder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Java-Classes/MealOrder/git/refs{/sha}","trees_url":"https://api.github.com/repos/Java-Classes/MealOrder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Java-Classes/MealOrder/statuses/{sha}","languages_url":"https://api.github.com/repos/Java-Classes/MealOrder/languages","stargazers_url":"https://api.github.com/repos/Java-Classes/MealOrder/stargazers","contributors_url":"https://api.github.com/repos/Java-Classes/MealOrder/contributors","subscribers_url":"https://api.github.com/repos/Java-Classes/MealOrder/subscribers","subscription_url":"https://api.github.com/repos/Java-Classes/MealOrder/subscription","commits_url":"https://api.github.com/repos/Java-Classes/MealOrder/commits{/sha}","git_commits_url":"https://api.github.com/repos/Java-Classes/MealOrder/git/commits{/sha}","comments_url":"https://api.github.com/repos/Java-Classes/MealOrder/comments{/number}","issue_comment_url":"https://api.github.com/repos/Java-Classes/MealOrder/issues/comments{/number}","contents_url":"https://api.github.com/repos/Java-Classes/MealOrder/contents/{+path}","compare_url":"https://api.github.com/repos/Java-Classes/MealOrder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Java-Classes/MealOrder/merges","archive_url":"https://api.github.com/repos/Java-Classes/MealOrder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Java-Classes/MealOrder/downloads","issues_url":"https://api.github.com/repos/Java-Classes/MealOrder/issues{/number}","pulls_url":"https://api.github.com/repos/Java-Classes/MealOrder/pulls{/number}","milestones_url":"https://api.github.com/repos/Java-Classes/MealOrder/milestones{/number}","notifications_url":"https://api.github.com/repos/Java-Classes/MealOrder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Java-Classes/MealOrder/labels{/name}","releases_url":"https://api.github.com/repos/Java-Classes/MealOrder/releases{/id}","deployments_url":"https://api.github.com/repos/Java-Classes/MealOrder/deployments","created_at":"2018-02-01T11:18:13Z","updated_at":"2018-02-09T13:03:29Z","pushed_at":"2018-02-22T14:26:07Z","git_url":"git://github.com/Java-Classes/MealOrder.git","ssh_url":"git@github.com:Java-Classes/MealOrder.git","clone_url":"https://github.com/Java-Classes/MealOrder.git","svn_url":"https://github.com/Java-Classes/MealOrder","homepage":null,"size":5095,"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":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"Java-Classes:master","ref":"master","sha":"6ef10766d4b57af9e73688507b742ba4477998bc","user":{"login":"Java-Classes","id":16760983,"avatar_url":"https://avatars1.githubusercontent.com/u/16760983?v=4","gravatar_id":"","url":"https://api.github.com/users/Java-Classes","html_url":"https://github.com/Java-Classes","followers_url":"https://api.github.com/users/Java-Classes/followers","following_url":"https://api.github.com/users/Java-Classes/following{/other_user}","gists_url":"https://api.github.com/users/Java-Classes/gists{/gist_id}","starred_url":"https://api.github.com/users/Java-Classes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Java-Classes/subscriptions","organizations_url":"https://api.github.com/users/Java-Classes/orgs","repos_url":"https://api.github.com/users/Java-Classes/repos","events_url":"https://api.github.com/users/Java-Classes/events{/privacy}","received_events_url":"https://api.github.com/users/Java-Classes/received_events","type":"Organization","site_admin":false},"repo":{"id":119825655,"name":"MealOrder","full_name":"Java-Classes/MealOrder","owner":{"login":"Java-Classes","id":16760983,"avatar_url":"https://avatars1.githubusercontent.com/u/16760983?v=4","gravatar_id":"","url":"https://api.github.com/users/Java-Classes","html_url":"https://github.com/Java-Classes","followers_url":"https://api.github.com/users/Java-Classes/followers","following_url":"https://api.github.com/users/Java-Classes/following{/other_user}","gists_url":"https://api.github.com/users/Java-Classes/gists{/gist_id}","starred_url":"https://api.github.com/users/Java-Classes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Java-Classes/subscriptions","organizations_url":"https://api.github.com/users/Java-Classes/orgs","repos_url":"https://api.github.com/users/Java-Classes/repos","events_url":"https://api.github.com/users/Java-Classes/events{/privacy}","received_events_url":"https://api.github.com/users/Java-Classes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Java-Classes/MealOrder","description":"The MealOrder application.","fork":false,"url":"https://api.github.com/repos/Java-Classes/MealOrder","forks_url":"https://api.github.com/repos/Java-Classes/MealOrder/forks","keys_url":"https://api.github.com/repos/Java-Classes/MealOrder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Java-Classes/MealOrder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Java-Classes/MealOrder/teams","hooks_url":"https://api.github.com/repos/Java-Classes/MealOrder/hooks","issue_events_url":"https://api.github.com/repos/Java-Classes/MealOrder/issues/events{/number}","events_url":"https://api.github.com/repos/Java-Classes/MealOrder/events","assignees_url":"https://api.github.com/repos/Java-Classes/MealOrder/assignees{/user}","branches_url":"https://api.github.com/repos/Java-Classes/MealOrder/branches{/branch}","tags_url":"https://api.github.com/repos/Java-Classes/MealOrder/tags","blobs_url":"https://api.github.com/repos/Java-Classes/MealOrder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Java-Classes/MealOrder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Java-Classes/MealOrder/git/refs{/sha}","trees_url":"https://api.github.com/repos/Java-Classes/MealOrder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Java-Classes/MealOrder/statuses/{sha}","languages_url":"https://api.github.com/repos/Java-Classes/MealOrder/languages","stargazers_url":"https://api.github.com/repos/Java-Classes/MealOrder/stargazers","contributors_url":"https://api.github.com/repos/Java-Classes/MealOrder/contributors","subscribers_url":"https://api.github.com/repos/Java-Classes/MealOrder/subscribers","subscription_url":"https://api.github.com/repos/Java-Classes/MealOrder/subscription","commits_url":"https://api.github.com/repos/Java-Classes/MealOrder/commits{/sha}","git_commits_url":"https://api.github.com/repos/Java-Classes/MealOrder/git/commits{/sha}","comments_url":"https://api.github.com/repos/Java-Classes/MealOrder/comments{/number}","issue_comment_url":"https://api.github.com/repos/Java-Classes/MealOrder/issues/comments{/number}","contents_url":"https://api.github.com/repos/Java-Classes/MealOrder/contents/{+path}","compare_url":"https://api.github.com/repos/Java-Classes/MealOrder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Java-Classes/MealOrder/merges","archive_url":"https://api.github.com/repos/Java-Classes/MealOrder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Java-Classes/MealOrder/downloads","issues_url":"https://api.github.com/repos/Java-Classes/MealOrder/issues{/number}","pulls_url":"https://api.github.com/repos/Java-Classes/MealOrder/pulls{/number}","milestones_url":"https://api.github.com/repos/Java-Classes/MealOrder/milestones{/number}","notifications_url":"https://api.github.com/repos/Java-Classes/MealOrder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Java-Classes/MealOrder/labels{/name}","releases_url":"https://api.github.com/repos/Java-Classes/MealOrder/releases{/id}","deployments_url":"https://api.github.com/repos/Java-Classes/MealOrder/deployments","created_at":"2018-02-01T11:18:13Z","updated_at":"2018-02-09T13:03:29Z","pushed_at":"2018-02-22T14:26:07Z","git_url":"git://github.com/Java-Classes/MealOrder.git","ssh_url":"git@github.com:Java-Classes/MealOrder.git","clone_url":"https://github.com/Java-Classes/MealOrder.git","svn_url":"https://github.com/Java-Classes/MealOrder","homepage":null,"size":5095,"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":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Java-Classes/MealOrder/pulls/42"},"html":{"href":"https://github.com/Java-Classes/MealOrder/pull/42"},"issue":{"href":"https://api.github.com/repos/Java-Classes/MealOrder/issues/42"},"comments":{"href":"https://api.github.com/repos/Java-Classes/MealOrder/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/Java-Classes/MealOrder/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/Java-Classes/MealOrder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Java-Classes/MealOrder/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/Java-Classes/MealOrder/statuses/c741ff138cf50a85f58e5244c4a526fc6603df01"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"YuriiHaidamaka"}}