{"action":"created","comment":{"url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/pulls/comments/59520855","id":59520855,"diff_hunk":"@@ -166,10 +164,12 @@ public String addToOrder(HttpServletRequest req, HttpSession session) {\n         int user_id = (int) session.getAttribute(\"userId\");\n \n         Order order = new Order(item_id, event_id);\n-        EventUser eventUser = new EventUser(user_id,event_id);\n-\n \n-        eventUserService.save(eventUser);\n+        EventUser eventUserById = eventUserService.getEventUserById(user_id, event_id);","path":"src/main/java/com/controllers/MainController.java","position":52,"original_position":52,"commit_id":"fb75f3c81ae4e56868370c7760630dd56aa81a74","original_commit_id":"fb75f3c81ae4e56868370c7760630dd56aa81a74","user":{"login":"alexanderko","id":192206,"avatar_url":"https://avatars.githubusercontent.com/u/192206?v=3","gravatar_id":"","url":"https://api.github.com/users/alexanderko","html_url":"https://github.com/alexanderko","followers_url":"https://api.github.com/users/alexanderko/followers","following_url":"https://api.github.com/users/alexanderko/following{/other_user}","gists_url":"https://api.github.com/users/alexanderko/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanderko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanderko/subscriptions","organizations_url":"https://api.github.com/users/alexanderko/orgs","repos_url":"https://api.github.com/users/alexanderko/repos","events_url":"https://api.github.com/users/alexanderko/events{/privacy}","received_events_url":"https://api.github.com/users/alexanderko/received_events","type":"User","site_admin":false},"body":"variables don't follow java naming convention. ","created_at":"2016-04-13T09:47:23Z","updated_at":"2016-04-13T09:47:23Z","html_url":"https://github.com/ViktorG-in6k/FoodOrderind/pull/3#discussion_r59520855","pull_request_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/pulls/comments/59520855"},"html":{"href":"https://github.com/ViktorG-in6k/FoodOrderind/pull/3#discussion_r59520855"},"pull_request":{"href":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/pulls/3","id":66277235,"html_url":"https://github.com/ViktorG-in6k/FoodOrderind/pull/3","diff_url":"https://github.com/ViktorG-in6k/FoodOrderind/pull/3.diff","patch_url":"https://github.com/ViktorG-in6k/FoodOrderind/pull/3.patch","issue_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/issues/3","number":3,"state":"open","locked":false,"title":"change front (navbar, panes for create)","user":{"login":"ViktorG-in6k","id":17565946,"avatar_url":"https://avatars.githubusercontent.com/u/17565946?v=3","gravatar_id":"","url":"https://api.github.com/users/ViktorG-in6k","html_url":"https://github.com/ViktorG-in6k","followers_url":"https://api.github.com/users/ViktorG-in6k/followers","following_url":"https://api.github.com/users/ViktorG-in6k/following{/other_user}","gists_url":"https://api.github.com/users/ViktorG-in6k/gists{/gist_id}","starred_url":"https://api.github.com/users/ViktorG-in6k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViktorG-in6k/subscriptions","organizations_url":"https://api.github.com/users/ViktorG-in6k/orgs","repos_url":"https://api.github.com/users/ViktorG-in6k/repos","events_url":"https://api.github.com/users/ViktorG-in6k/events{/privacy}","received_events_url":"https://api.github.com/users/ViktorG-in6k/received_events","type":"User","site_admin":false},"body":"Change navbar\r\nFixed navbar\r\nFixed all panels for create(event, restaurant, item of menu for restaurant)\r\n","created_at":"2016-04-13T07:33:53Z","updated_at":"2016-04-13T09:47:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b16b3d96bb9cc1c112ff780fe60c1c17706ab4d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/pulls/3/commits","review_comments_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/pulls/3/comments","review_comment_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/issues/3/comments","statuses_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/statuses/fb75f3c81ae4e56868370c7760630dd56aa81a74","head":{"label":"ViktorG-in6k:front","ref":"front","sha":"fb75f3c81ae4e56868370c7760630dd56aa81a74","user":{"login":"ViktorG-in6k","id":17565946,"avatar_url":"https://avatars.githubusercontent.com/u/17565946?v=3","gravatar_id":"","url":"https://api.github.com/users/ViktorG-in6k","html_url":"https://github.com/ViktorG-in6k","followers_url":"https://api.github.com/users/ViktorG-in6k/followers","following_url":"https://api.github.com/users/ViktorG-in6k/following{/other_user}","gists_url":"https://api.github.com/users/ViktorG-in6k/gists{/gist_id}","starred_url":"https://api.github.com/users/ViktorG-in6k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViktorG-in6k/subscriptions","organizations_url":"https://api.github.com/users/ViktorG-in6k/orgs","repos_url":"https://api.github.com/users/ViktorG-in6k/repos","events_url":"https://api.github.com/users/ViktorG-in6k/events{/privacy}","received_events_url":"https://api.github.com/users/ViktorG-in6k/received_events","type":"User","site_admin":false},"repo":{"id":54731748,"name":"FoodOrderind","full_name":"ViktorG-in6k/FoodOrderind","owner":{"login":"ViktorG-in6k","id":17565946,"avatar_url":"https://avatars.githubusercontent.com/u/17565946?v=3","gravatar_id":"","url":"https://api.github.com/users/ViktorG-in6k","html_url":"https://github.com/ViktorG-in6k","followers_url":"https://api.github.com/users/ViktorG-in6k/followers","following_url":"https://api.github.com/users/ViktorG-in6k/following{/other_user}","gists_url":"https://api.github.com/users/ViktorG-in6k/gists{/gist_id}","starred_url":"https://api.github.com/users/ViktorG-in6k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViktorG-in6k/subscriptions","organizations_url":"https://api.github.com/users/ViktorG-in6k/orgs","repos_url":"https://api.github.com/users/ViktorG-in6k/repos","events_url":"https://api.github.com/users/ViktorG-in6k/events{/privacy}","received_events_url":"https://api.github.com/users/ViktorG-in6k/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ViktorG-in6k/FoodOrderind","description":"","fork":false,"url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind","forks_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/forks","keys_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/teams","hooks_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/hooks","issue_events_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/issues/events{/number}","events_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/events","assignees_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/assignees{/user}","branches_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/branches{/branch}","tags_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/tags","blobs_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/git/refs{/sha}","trees_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/statuses/{sha}","languages_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/languages","stargazers_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/stargazers","contributors_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/contributors","subscribers_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/subscribers","subscription_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/subscription","commits_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/commits{/sha}","git_commits_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/git/commits{/sha}","comments_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/comments{/number}","issue_comment_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/issues/comments{/number}","contents_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/contents/{+path}","compare_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/merges","archive_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/downloads","issues_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/issues{/number}","pulls_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/pulls{/number}","milestones_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/milestones{/number}","notifications_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/labels{/name}","releases_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/releases{/id}","deployments_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/deployments","created_at":"2016-03-25T16:36:29Z","updated_at":"2016-04-12T13:12:20Z","pushed_at":"2016-04-13T09:26:36Z","git_url":"git://github.com/ViktorG-in6k/FoodOrderind.git","ssh_url":"git@github.com:ViktorG-in6k/FoodOrderind.git","clone_url":"https://github.com/ViktorG-in6k/FoodOrderind.git","svn_url":"https://github.com/ViktorG-in6k/FoodOrderind","homepage":null,"size":59419,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ViktorG-in6k:master","ref":"master","sha":"87d5387723fd447ff73d9b9537b72a57b519ebe0","user":{"login":"ViktorG-in6k","id":17565946,"avatar_url":"https://avatars.githubusercontent.com/u/17565946?v=3","gravatar_id":"","url":"https://api.github.com/users/ViktorG-in6k","html_url":"https://github.com/ViktorG-in6k","followers_url":"https://api.github.com/users/ViktorG-in6k/followers","following_url":"https://api.github.com/users/ViktorG-in6k/following{/other_user}","gists_url":"https://api.github.com/users/ViktorG-in6k/gists{/gist_id}","starred_url":"https://api.github.com/users/ViktorG-in6k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViktorG-in6k/subscriptions","organizations_url":"https://api.github.com/users/ViktorG-in6k/orgs","repos_url":"https://api.github.com/users/ViktorG-in6k/repos","events_url":"https://api.github.com/users/ViktorG-in6k/events{/privacy}","received_events_url":"https://api.github.com/users/ViktorG-in6k/received_events","type":"User","site_admin":false},"repo":{"id":54731748,"name":"FoodOrderind","full_name":"ViktorG-in6k/FoodOrderind","owner":{"login":"ViktorG-in6k","id":17565946,"avatar_url":"https://avatars.githubusercontent.com/u/17565946?v=3","gravatar_id":"","url":"https://api.github.com/users/ViktorG-in6k","html_url":"https://github.com/ViktorG-in6k","followers_url":"https://api.github.com/users/ViktorG-in6k/followers","following_url":"https://api.github.com/users/ViktorG-in6k/following{/other_user}","gists_url":"https://api.github.com/users/ViktorG-in6k/gists{/gist_id}","starred_url":"https://api.github.com/users/ViktorG-in6k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViktorG-in6k/subscriptions","organizations_url":"https://api.github.com/users/ViktorG-in6k/orgs","repos_url":"https://api.github.com/users/ViktorG-in6k/repos","events_url":"https://api.github.com/users/ViktorG-in6k/events{/privacy}","received_events_url":"https://api.github.com/users/ViktorG-in6k/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ViktorG-in6k/FoodOrderind","description":"","fork":false,"url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind","forks_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/forks","keys_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/teams","hooks_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/hooks","issue_events_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/issues/events{/number}","events_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/events","assignees_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/assignees{/user}","branches_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/branches{/branch}","tags_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/tags","blobs_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/git/refs{/sha}","trees_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/statuses/{sha}","languages_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/languages","stargazers_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/stargazers","contributors_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/contributors","subscribers_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/subscribers","subscription_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/subscription","commits_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/commits{/sha}","git_commits_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/git/commits{/sha}","comments_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/comments{/number}","issue_comment_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/issues/comments{/number}","contents_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/contents/{+path}","compare_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/merges","archive_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/downloads","issues_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/issues{/number}","pulls_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/pulls{/number}","milestones_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/milestones{/number}","notifications_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/labels{/name}","releases_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/releases{/id}","deployments_url":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/deployments","created_at":"2016-03-25T16:36:29Z","updated_at":"2016-04-12T13:12:20Z","pushed_at":"2016-04-13T09:26:36Z","git_url":"git://github.com/ViktorG-in6k/FoodOrderind.git","ssh_url":"git@github.com:ViktorG-in6k/FoodOrderind.git","clone_url":"https://github.com/ViktorG-in6k/FoodOrderind.git","svn_url":"https://github.com/ViktorG-in6k/FoodOrderind","homepage":null,"size":59419,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/pulls/3"},"html":{"href":"https://github.com/ViktorG-in6k/FoodOrderind/pull/3"},"issue":{"href":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/issues/3"},"comments":{"href":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/ViktorG-in6k/FoodOrderind/statuses/fb75f3c81ae4e56868370c7760630dd56aa81a74"}}}}