{"action":"created","comment":{"url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/pulls/comments/242278521","pull_request_review_id":185752312,"id":242278521,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MjI3ODUyMQ==","diff_hunk":"@@ -40,9 +43,7 @@ public void init() throws ServletException {\n \n     @Override\n     public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n-        Cart cart = cartService.getCart(request.getSession());\n-        showPage(request, response, cart);\n-\n+        request.getRequestDispatcher(\"/WEB-INF/pages/cart.jsp\").forward(request, response);\n     }","path":"src/main/java/com/es/phoneshop/web/CartPageServlet.java","position":45,"original_position":45,"commit_id":"625480d7e4cc5eb5f4d4f43ddad5fabc74b74a64","original_commit_id":"21bb60d73a8d0f5b214dd7c2fee12c1e32bb5e65","user":{"login":"AntonNikifarau","id":7703922,"node_id":"MDQ6VXNlcjc3MDM5MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/7703922?v=4","gravatar_id":"","url":"https://api.github.com/users/AntonNikifarau","html_url":"https://github.com/AntonNikifarau","followers_url":"https://api.github.com/users/AntonNikifarau/followers","following_url":"https://api.github.com/users/AntonNikifarau/following{/other_user}","gists_url":"https://api.github.com/users/AntonNikifarau/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonNikifarau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonNikifarau/subscriptions","organizations_url":"https://api.github.com/users/AntonNikifarau/orgs","repos_url":"https://api.github.com/users/AntonNikifarau/repos","events_url":"https://api.github.com/users/AntonNikifarau/events{/privacy}","received_events_url":"https://api.github.com/users/AntonNikifarau/received_events","type":"User","site_admin":false},"body":"если пустая карта, то вылетает 500 ошибка","created_at":"2018-12-17T19:11:38Z","updated_at":"2018-12-17T19:11:38Z","html_url":"https://github.com/sheremet-vlad/phoneshop-servlet-api/pull/11#discussion_r242278521","pull_request_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/pulls/11","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/pulls/comments/242278521"},"html":{"href":"https://github.com/sheremet-vlad/phoneshop-servlet-api/pull/11#discussion_r242278521"},"pull_request":{"href":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/pulls/11","id":238867950,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4ODY3OTUw","html_url":"https://github.com/sheremet-vlad/phoneshop-servlet-api/pull/11","diff_url":"https://github.com/sheremet-vlad/phoneshop-servlet-api/pull/11.diff","patch_url":"https://github.com/sheremet-vlad/phoneshop-servlet-api/pull/11.patch","issue_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/issues/11","number":11,"state":"open","locked":false,"title":"add checkout page and cart in the header","user":{"login":"sheremet-vlad","id":31595633,"node_id":"MDQ6VXNlcjMxNTk1NjMz","avatar_url":"https://avatars3.githubusercontent.com/u/31595633?v=4","gravatar_id":"","url":"https://api.github.com/users/sheremet-vlad","html_url":"https://github.com/sheremet-vlad","followers_url":"https://api.github.com/users/sheremet-vlad/followers","following_url":"https://api.github.com/users/sheremet-vlad/following{/other_user}","gists_url":"https://api.github.com/users/sheremet-vlad/gists{/gist_id}","starred_url":"https://api.github.com/users/sheremet-vlad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheremet-vlad/subscriptions","organizations_url":"https://api.github.com/users/sheremet-vlad/orgs","repos_url":"https://api.github.com/users/sheremet-vlad/repos","events_url":"https://api.github.com/users/sheremet-vlad/events{/privacy}","received_events_url":"https://api.github.com/users/sheremet-vlad/received_events","type":"User","site_admin":false},"body":"add task5 and code comments","created_at":"2018-12-14T23:19:18Z","updated_at":"2018-12-17T19:11:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d6a985282b27957ead23c8791e4f56fee61a1453","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/pulls/11/commits","review_comments_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/pulls/11/comments","review_comment_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/issues/11/comments","statuses_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/statuses/625480d7e4cc5eb5f4d4f43ddad5fabc74b74a64","head":{"label":"sheremet-vlad:task5","ref":"task5","sha":"625480d7e4cc5eb5f4d4f43ddad5fabc74b74a64","user":{"login":"sheremet-vlad","id":31595633,"node_id":"MDQ6VXNlcjMxNTk1NjMz","avatar_url":"https://avatars3.githubusercontent.com/u/31595633?v=4","gravatar_id":"","url":"https://api.github.com/users/sheremet-vlad","html_url":"https://github.com/sheremet-vlad","followers_url":"https://api.github.com/users/sheremet-vlad/followers","following_url":"https://api.github.com/users/sheremet-vlad/following{/other_user}","gists_url":"https://api.github.com/users/sheremet-vlad/gists{/gist_id}","starred_url":"https://api.github.com/users/sheremet-vlad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheremet-vlad/subscriptions","organizations_url":"https://api.github.com/users/sheremet-vlad/orgs","repos_url":"https://api.github.com/users/sheremet-vlad/repos","events_url":"https://api.github.com/users/sheremet-vlad/events{/privacy}","received_events_url":"https://api.github.com/users/sheremet-vlad/received_events","type":"User","site_admin":false},"repo":{"id":156466735,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY0NjY3MzU=","name":"phoneshop-servlet-api","full_name":"sheremet-vlad/phoneshop-servlet-api","private":false,"owner":{"login":"sheremet-vlad","id":31595633,"node_id":"MDQ6VXNlcjMxNTk1NjMz","avatar_url":"https://avatars3.githubusercontent.com/u/31595633?v=4","gravatar_id":"","url":"https://api.github.com/users/sheremet-vlad","html_url":"https://github.com/sheremet-vlad","followers_url":"https://api.github.com/users/sheremet-vlad/followers","following_url":"https://api.github.com/users/sheremet-vlad/following{/other_user}","gists_url":"https://api.github.com/users/sheremet-vlad/gists{/gist_id}","starred_url":"https://api.github.com/users/sheremet-vlad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheremet-vlad/subscriptions","organizations_url":"https://api.github.com/users/sheremet-vlad/orgs","repos_url":"https://api.github.com/users/sheremet-vlad/repos","events_url":"https://api.github.com/users/sheremet-vlad/events{/privacy}","received_events_url":"https://api.github.com/users/sheremet-vlad/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sheremet-vlad/phoneshop-servlet-api","description":null,"fork":true,"url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api","forks_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/forks","keys_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/teams","hooks_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/hooks","issue_events_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/issues/events{/number}","events_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/events","assignees_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/assignees{/user}","branches_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/branches{/branch}","tags_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/tags","blobs_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/statuses/{sha}","languages_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/languages","stargazers_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/stargazers","contributors_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/contributors","subscribers_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/subscribers","subscription_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/subscription","commits_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/contents/{+path}","compare_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/merges","archive_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/downloads","issues_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/issues{/number}","pulls_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/pulls{/number}","milestones_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/milestones{/number}","notifications_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/labels{/name}","releases_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/releases{/id}","deployments_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/deployments","created_at":"2018-11-07T00:21:36Z","updated_at":"2018-12-12T15:17:36Z","pushed_at":"2018-12-17T18:54:36Z","git_url":"git://github.com/sheremet-vlad/phoneshop-servlet-api.git","ssh_url":"git@github.com:sheremet-vlad/phoneshop-servlet-api.git","clone_url":"https://github.com/sheremet-vlad/phoneshop-servlet-api.git","svn_url":"https://github.com/sheremet-vlad/phoneshop-servlet-api","homepage":null,"size":118,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sheremet-vlad:master","ref":"master","sha":"2c5a791bb62d5d2a1e73a4ab53cac4ed131ab6c4","user":{"login":"sheremet-vlad","id":31595633,"node_id":"MDQ6VXNlcjMxNTk1NjMz","avatar_url":"https://avatars3.githubusercontent.com/u/31595633?v=4","gravatar_id":"","url":"https://api.github.com/users/sheremet-vlad","html_url":"https://github.com/sheremet-vlad","followers_url":"https://api.github.com/users/sheremet-vlad/followers","following_url":"https://api.github.com/users/sheremet-vlad/following{/other_user}","gists_url":"https://api.github.com/users/sheremet-vlad/gists{/gist_id}","starred_url":"https://api.github.com/users/sheremet-vlad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheremet-vlad/subscriptions","organizations_url":"https://api.github.com/users/sheremet-vlad/orgs","repos_url":"https://api.github.com/users/sheremet-vlad/repos","events_url":"https://api.github.com/users/sheremet-vlad/events{/privacy}","received_events_url":"https://api.github.com/users/sheremet-vlad/received_events","type":"User","site_admin":false},"repo":{"id":156466735,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY0NjY3MzU=","name":"phoneshop-servlet-api","full_name":"sheremet-vlad/phoneshop-servlet-api","private":false,"owner":{"login":"sheremet-vlad","id":31595633,"node_id":"MDQ6VXNlcjMxNTk1NjMz","avatar_url":"https://avatars3.githubusercontent.com/u/31595633?v=4","gravatar_id":"","url":"https://api.github.com/users/sheremet-vlad","html_url":"https://github.com/sheremet-vlad","followers_url":"https://api.github.com/users/sheremet-vlad/followers","following_url":"https://api.github.com/users/sheremet-vlad/following{/other_user}","gists_url":"https://api.github.com/users/sheremet-vlad/gists{/gist_id}","starred_url":"https://api.github.com/users/sheremet-vlad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheremet-vlad/subscriptions","organizations_url":"https://api.github.com/users/sheremet-vlad/orgs","repos_url":"https://api.github.com/users/sheremet-vlad/repos","events_url":"https://api.github.com/users/sheremet-vlad/events{/privacy}","received_events_url":"https://api.github.com/users/sheremet-vlad/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sheremet-vlad/phoneshop-servlet-api","description":null,"fork":true,"url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api","forks_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/forks","keys_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/teams","hooks_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/hooks","issue_events_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/issues/events{/number}","events_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/events","assignees_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/assignees{/user}","branches_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/branches{/branch}","tags_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/tags","blobs_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/statuses/{sha}","languages_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/languages","stargazers_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/stargazers","contributors_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/contributors","subscribers_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/subscribers","subscription_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/subscription","commits_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/contents/{+path}","compare_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/merges","archive_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/downloads","issues_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/issues{/number}","pulls_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/pulls{/number}","milestones_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/milestones{/number}","notifications_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/labels{/name}","releases_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/releases{/id}","deployments_url":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/deployments","created_at":"2018-11-07T00:21:36Z","updated_at":"2018-12-12T15:17:36Z","pushed_at":"2018-12-17T18:54:36Z","git_url":"git://github.com/sheremet-vlad/phoneshop-servlet-api.git","ssh_url":"git@github.com:sheremet-vlad/phoneshop-servlet-api.git","clone_url":"https://github.com/sheremet-vlad/phoneshop-servlet-api.git","svn_url":"https://github.com/sheremet-vlad/phoneshop-servlet-api","homepage":null,"size":118,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":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/sheremet-vlad/phoneshop-servlet-api/pulls/11"},"html":{"href":"https://github.com/sheremet-vlad/phoneshop-servlet-api/pull/11"},"issue":{"href":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/issues/11"},"comments":{"href":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/sheremet-vlad/phoneshop-servlet-api/statuses/625480d7e4cc5eb5f4d4f43ddad5fabc74b74a64"}},"author_association":"OWNER"}}
{"actor":{"display_login":"AntonNikifarau"}}