payload: {"action":"created","comment":{"url":"https://api.github.com/repos/eriks-v/jg2/pulls/comments/329514756","pull_request_review_id":294889614,"id":329514756,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyOTUxNDc1Ng==","diff_hunk":"@@ -1,43 +1,161 @@\n package com.javaguru.shoppinglist;\n \n import java.math.BigDecimal;\n+import java.util.Arrays;\n import java.util.HashMap;\n import java.util.Map;\n import java.util.Scanner;\n \n class ShoppingListApplication {\n \n+    private static Product editProduct(Product product, Scanner scanner) {\n+\n+        Product editedProduct = new Product(product);\n+\n+        editingLoop:","path":"src/com/javaguru/shoppinglist/ShoppingListApplication.java","position":null,"original_position":15,"commit_id":"db44be5be7106e9c9cb7c07e95c4bca526b5b2d8","original_commit_id":"6bb997885826dd21fc22228bde87d8cde1e6fc2b","user":{"login":"eriks-v","id":53615096,"node_id":"MDQ6VXNlcjUzNjE1MDk2","avatar_url":"https://avatars1.githubusercontent.com/u/53615096?v=4","gravatar_id":"","url":"https://api.github.com/users/eriks-v","html_url":"https://github.com/eriks-v","followers_url":"https://api.github.com/users/eriks-v/followers","following_url":"https://api.github.com/users/eriks-v/following{/other_user}","gists_url":"https://api.github.com/users/eriks-v/gists{/gist_id}","starred_url":"https://api.github.com/users/eriks-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eriks-v/subscriptions","organizations_url":"https://api.github.com/users/eriks-v/orgs","repos_url":"https://api.github.com/users/eriks-v/repos","events_url":"https://api.github.com/users/eriks-v/events{/privacy}","received_events_url":"https://api.github.com/users/eriks-v/received_events","type":"User","site_admin":false},"body":"`                    case 0:\r\n                        break editingLoop;\r\n                    default:`\r\nWill treat break editingLoop; (line 51) as goto editingLoop; (This is changed to control variable already)\r\n\r\nP.S. I have no issues reading replies in Russian. I just write in English as it is much faster for me and a lot less painful for you to read my Russian writing :D. So please feel free to use any language (of previous two) for replies.\r\nThanks.","created_at":"2019-09-30T10:44:59Z","updated_at":"2019-09-30T10:44:59Z","html_url":"https://github.com/eriks-v/jg2/pull/1#discussion_r329514756","pull_request_url":"https://api.github.com/repos/eriks-v/jg2/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/eriks-v/jg2/pulls/comments/329514756"},"html":{"href":"https://github.com/eriks-v/jg2/pull/1#discussion_r329514756"},"pull_request":{"href":"https://api.github.com/repos/eriks-v/jg2/pulls/1"}},"in_reply_to_id":329476342},"pull_request":{"url":"https://api.github.com/repos/eriks-v/jg2/pulls/1","id":322490108,"node_id":"MDExOlB1bGxSZXF1ZXN0MzIyNDkwMTA4","html_url":"https://github.com/eriks-v/jg2/pull/1","diff_url":"https://github.com/eriks-v/jg2/pull/1.diff","patch_url":"https://github.com/eriks-v/jg2/pull/1.patch","issue_url":"https://api.github.com/repos/eriks-v/jg2/issues/1","number":1,"state":"open","locked":false,"title":"#1 New fields and product validation, removal and editing.","user":{"login":"eriks-v","id":53615096,"node_id":"MDQ6VXNlcjUzNjE1MDk2","avatar_url":"https://avatars1.githubusercontent.com/u/53615096?v=4","gravatar_id":"","url":"https://api.github.com/users/eriks-v","html_url":"https://github.com/eriks-v","followers_url":"https://api.github.com/users/eriks-v/followers","following_url":"https://api.github.com/users/eriks-v/following{/other_user}","gists_url":"https://api.github.com/users/eriks-v/gists{/gist_id}","starred_url":"https://api.github.com/users/eriks-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eriks-v/subscriptions","organizations_url":"https://api.github.com/users/eriks-v/orgs","repos_url":"https://api.github.com/users/eriks-v/repos","events_url":"https://api.github.com/users/eriks-v/events{/privacy}","received_events_url":"https://api.github.com/users/eriks-v/received_events","type":"User","site_admin":false},"body":"#1 New fields (category, discount and description) added product validation, removal and editing.","created_at":"2019-09-29T09:55:22Z","updated_at":"2019-09-30T10:44:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6e1a010a83ecdafab02cb4a3826549a3dc421b94","assignee":{"login":"javagururt","id":36124293,"node_id":"MDQ6VXNlcjM2MTI0Mjkz","avatar_url":"https://avatars0.githubusercontent.com/u/36124293?v=4","gravatar_id":"","url":"https://api.github.com/users/javagururt","html_url":"https://github.com/javagururt","followers_url":"https://api.github.com/users/javagururt/followers","following_url":"https://api.github.com/users/javagururt/following{/other_user}","gists_url":"https://api.github.com/users/javagururt/gists{/gist_id}","starred_url":"https://api.github.com/users/javagururt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javagururt/subscriptions","organizations_url":"https://api.github.com/users/javagururt/orgs","repos_url":"https://api.github.com/users/javagururt/repos","events_url":"https://api.github.com/users/javagururt/events{/privacy}","received_events_url":"https://api.github.com/users/javagururt/received_events","type":"User","site_admin":false},"assignees":[{"login":"javagururt","id":36124293,"node_id":"MDQ6VXNlcjM2MTI0Mjkz","avatar_url":"https://avatars0.githubusercontent.com/u/36124293?v=4","gravatar_id":"","url":"https://api.github.com/users/javagururt","html_url":"https://github.com/javagururt","followers_url":"https://api.github.com/users/javagururt/followers","following_url":"https://api.github.com/users/javagururt/following{/other_user}","gists_url":"https://api.github.com/users/javagururt/gists{/gist_id}","starred_url":"https://api.github.com/users/javagururt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javagururt/subscriptions","organizations_url":"https://api.github.com/users/javagururt/orgs","repos_url":"https://api.github.com/users/javagururt/repos","events_url":"https://api.github.com/users/javagururt/events{/privacy}","received_events_url":"https://api.github.com/users/javagururt/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/eriks-v/jg2/pulls/1/commits","review_comments_url":"https://api.github.com/repos/eriks-v/jg2/pulls/1/comments","review_comment_url":"https://api.github.com/repos/eriks-v/jg2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eriks-v/jg2/issues/1/comments","statuses_url":"https://api.github.com/repos/eriks-v/jg2/statuses/db44be5be7106e9c9cb7c07e95c4bca526b5b2d8","head":{"label":"eriks-v:feature/1","ref":"feature/1","sha":"db44be5be7106e9c9cb7c07e95c4bca526b5b2d8","user":{"login":"eriks-v","id":53615096,"node_id":"MDQ6VXNlcjUzNjE1MDk2","avatar_url":"https://avatars1.githubusercontent.com/u/53615096?v=4","gravatar_id":"","url":"https://api.github.com/users/eriks-v","html_url":"https://github.com/eriks-v","followers_url":"https://api.github.com/users/eriks-v/followers","following_url":"https://api.github.com/users/eriks-v/following{/other_user}","gists_url":"https://api.github.com/users/eriks-v/gists{/gist_id}","starred_url":"https://api.github.com/users/eriks-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eriks-v/subscriptions","organizations_url":"https://api.github.com/users/eriks-v/orgs","repos_url":"https://api.github.com/users/eriks-v/repos","events_url":"https://api.github.com/users/eriks-v/events{/privacy}","received_events_url":"https://api.github.com/users/eriks-v/received_events","type":"User","site_admin":false},"repo":{"id":210897902,"node_id":"MDEwOlJlcG9zaXRvcnkyMTA4OTc5MDI=","name":"jg2","full_name":"eriks-v/jg2","private":false,"owner":{"login":"eriks-v","id":53615096,"node_id":"MDQ6VXNlcjUzNjE1MDk2","avatar_url":"https://avatars1.githubusercontent.com/u/53615096?v=4","gravatar_id":"","url":"https://api.github.com/users/eriks-v","html_url":"https://github.com/eriks-v","followers_url":"https://api.github.com/users/eriks-v/followers","following_url":"https://api.github.com/users/eriks-v/following{/other_user}","gists_url":"https://api.github.com/users/eriks-v/gists{/gist_id}","starred_url":"https://api.github.com/users/eriks-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eriks-v/subscriptions","organizations_url":"https://api.github.com/users/eriks-v/orgs","repos_url":"https://api.github.com/users/eriks-v/repos","events_url":"https://api.github.com/users/eriks-v/events{/privacy}","received_events_url":"https://api.github.com/users/eriks-v/received_events","type":"User","site_admin":false},"html_url":"https://github.com/eriks-v/jg2","description":"repository for jg2 courses","fork":false,"url":"https://api.github.com/repos/eriks-v/jg2","forks_url":"https://api.github.com/repos/eriks-v/jg2/forks","keys_url":"https://api.github.com/repos/eriks-v/jg2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eriks-v/jg2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eriks-v/jg2/teams","hooks_url":"https://api.github.com/repos/eriks-v/jg2/hooks","issue_events_url":"https://api.github.com/repos/eriks-v/jg2/issues/events{/number}","events_url":"https://api.github.com/repos/eriks-v/jg2/events","assignees_url":"https://api.github.com/repos/eriks-v/jg2/assignees{/user}","branches_url":"https://api.github.com/repos/eriks-v/jg2/branches{/branch}","tags_url":"https://api.github.com/repos/eriks-v/jg2/tags","blobs_url":"https://api.github.com/repos/eriks-v/jg2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eriks-v/jg2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eriks-v/jg2/git/refs{/sha}","trees_url":"https://api.github.com/repos/eriks-v/jg2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eriks-v/jg2/statuses/{sha}","languages_url":"https://api.github.com/repos/eriks-v/jg2/languages","stargazers_url":"https://api.github.com/repos/eriks-v/jg2/stargazers","contributors_url":"https://api.github.com/repos/eriks-v/jg2/contributors","subscribers_url":"https://api.github.com/repos/eriks-v/jg2/subscribers","subscription_url":"https://api.github.com/repos/eriks-v/jg2/subscription","commits_url":"https://api.github.com/repos/eriks-v/jg2/commits{/sha}","git_commits_url":"https://api.github.com/repos/eriks-v/jg2/git/commits{/sha}","comments_url":"https://api.github.com/repos/eriks-v/jg2/comments{/number}","issue_comment_url":"https://api.github.com/repos/eriks-v/jg2/issues/comments{/number}","contents_url":"https://api.github.com/repos/eriks-v/jg2/contents/{+path}","compare_url":"https://api.github.com/repos/eriks-v/jg2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eriks-v/jg2/merges","archive_url":"https://api.github.com/repos/eriks-v/jg2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eriks-v/jg2/downloads","issues_url":"https://api.github.com/repos/eriks-v/jg2/issues{/number}","pulls_url":"https://api.github.com/repos/eriks-v/jg2/pulls{/number}","milestones_url":"https://api.github.com/repos/eriks-v/jg2/milestones{/number}","notifications_url":"https://api.github.com/repos/eriks-v/jg2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eriks-v/jg2/labels{/name}","releases_url":"https://api.github.com/repos/eriks-v/jg2/releases{/id}","deployments_url":"https://api.github.com/repos/eriks-v/jg2/deployments","created_at":"2019-09-25T17:04:33Z","updated_at":"2019-09-25T18:04:32Z","pushed_at":"2019-09-30T10:21:45Z","git_url":"git://github.com/eriks-v/jg2.git","ssh_url":"git@github.com:eriks-v/jg2.git","clone_url":"https://github.com/eriks-v/jg2.git","svn_url":"https://github.com/eriks-v/jg2","homepage":null,"size":4,"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,"disabled":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"eriks-v:master","ref":"master","sha":"7cb4baa9485cf2d9c0038525a0a7e4f99eb0e0d0","user":{"login":"eriks-v","id":53615096,"node_id":"MDQ6VXNlcjUzNjE1MDk2","avatar_url":"https://avatars1.githubusercontent.com/u/53615096?v=4","gravatar_id":"","url":"https://api.github.com/users/eriks-v","html_url":"https://github.com/eriks-v","followers_url":"https://api.github.com/users/eriks-v/followers","following_url":"https://api.github.com/users/eriks-v/following{/other_user}","gists_url":"https://api.github.com/users/eriks-v/gists{/gist_id}","starred_url":"https://api.github.com/users/eriks-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eriks-v/subscriptions","organizations_url":"https://api.github.com/users/eriks-v/orgs","repos_url":"https://api.github.com/users/eriks-v/repos","events_url":"https://api.github.com/users/eriks-v/events{/privacy}","received_events_url":"https://api.github.com/users/eriks-v/received_events","type":"User","site_admin":false},"repo":{"id":210897902,"node_id":"MDEwOlJlcG9zaXRvcnkyMTA4OTc5MDI=","name":"jg2","full_name":"eriks-v/jg2","private":false,"owner":{"login":"eriks-v","id":53615096,"node_id":"MDQ6VXNlcjUzNjE1MDk2","avatar_url":"https://avatars1.githubusercontent.com/u/53615096?v=4","gravatar_id":"","url":"https://api.github.com/users/eriks-v","html_url":"https://github.com/eriks-v","followers_url":"https://api.github.com/users/eriks-v/followers","following_url":"https://api.github.com/users/eriks-v/following{/other_user}","gists_url":"https://api.github.com/users/eriks-v/gists{/gist_id}","starred_url":"https://api.github.com/users/eriks-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eriks-v/subscriptions","organizations_url":"https://api.github.com/users/eriks-v/orgs","repos_url":"https://api.github.com/users/eriks-v/repos","events_url":"https://api.github.com/users/eriks-v/events{/privacy}","received_events_url":"https://api.github.com/users/eriks-v/received_events","type":"User","site_admin":false},"html_url":"https://github.com/eriks-v/jg2","description":"repository for jg2 courses","fork":false,"url":"https://api.github.com/repos/eriks-v/jg2","forks_url":"https://api.github.com/repos/eriks-v/jg2/forks","keys_url":"https://api.github.com/repos/eriks-v/jg2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eriks-v/jg2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eriks-v/jg2/teams","hooks_url":"https://api.github.com/repos/eriks-v/jg2/hooks","issue_events_url":"https://api.github.com/repos/eriks-v/jg2/issues/events{/number}","events_url":"https://api.github.com/repos/eriks-v/jg2/events","assignees_url":"https://api.github.com/repos/eriks-v/jg2/assignees{/user}","branches_url":"https://api.github.com/repos/eriks-v/jg2/branches{/branch}","tags_url":"https://api.github.com/repos/eriks-v/jg2/tags","blobs_url":"https://api.github.com/repos/eriks-v/jg2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eriks-v/jg2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eriks-v/jg2/git/refs{/sha}","trees_url":"https://api.github.com/repos/eriks-v/jg2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eriks-v/jg2/statuses/{sha}","languages_url":"https://api.github.com/repos/eriks-v/jg2/languages","stargazers_url":"https://api.github.com/repos/eriks-v/jg2/stargazers","contributors_url":"https://api.github.com/repos/eriks-v/jg2/contributors","subscribers_url":"https://api.github.com/repos/eriks-v/jg2/subscribers","subscription_url":"https://api.github.com/repos/eriks-v/jg2/subscription","commits_url":"https://api.github.com/repos/eriks-v/jg2/commits{/sha}","git_commits_url":"https://api.github.com/repos/eriks-v/jg2/git/commits{/sha}","comments_url":"https://api.github.com/repos/eriks-v/jg2/comments{/number}","issue_comment_url":"https://api.github.com/repos/eriks-v/jg2/issues/comments{/number}","contents_url":"https://api.github.com/repos/eriks-v/jg2/contents/{+path}","compare_url":"https://api.github.com/repos/eriks-v/jg2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eriks-v/jg2/merges","archive_url":"https://api.github.com/repos/eriks-v/jg2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eriks-v/jg2/downloads","issues_url":"https://api.github.com/repos/eriks-v/jg2/issues{/number}","pulls_url":"https://api.github.com/repos/eriks-v/jg2/pulls{/number}","milestones_url":"https://api.github.com/repos/eriks-v/jg2/milestones{/number}","notifications_url":"https://api.github.com/repos/eriks-v/jg2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eriks-v/jg2/labels{/name}","releases_url":"https://api.github.com/repos/eriks-v/jg2/releases{/id}","deployments_url":"https://api.github.com/repos/eriks-v/jg2/deployments","created_at":"2019-09-25T17:04:33Z","updated_at":"2019-09-25T18:04:32Z","pushed_at":"2019-09-30T10:21:45Z","git_url":"git://github.com/eriks-v/jg2.git","ssh_url":"git@github.com:eriks-v/jg2.git","clone_url":"https://github.com/eriks-v/jg2.git","svn_url":"https://github.com/eriks-v/jg2","homepage":null,"size":4,"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,"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/eriks-v/jg2/pulls/1"},"html":{"href":"https://github.com/eriks-v/jg2/pull/1"},"issue":{"href":"https://api.github.com/repos/eriks-v/jg2/issues/1"},"comments":{"href":"https://api.github.com/repos/eriks-v/jg2/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/eriks-v/jg2/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/eriks-v/jg2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eriks-v/jg2/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/eriks-v/jg2/statuses/db44be5be7106e9c9cb7c07e95c4bca526b5b2d8"}},"author_association":"OWNER"}}
other: {"actor":{"display_login":"eriks-v"}}