{"action":"created","comment":{"url":"https://api.github.com/repos/koldovsky/orlp-server/pulls/comments/235418628","pull_request_review_id":177278717,"id":235418628,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTQxODYyOA==","diff_hunk":"@@ -164,19 +147,19 @@ public void createPrivateCourse(Course privateCourse, Long categoryId) throws No\n     }\n \n     @Override\n-    public Course updateCourseAccess(Long courseId, Course courseAccess) {\n-        Course course = courseRepository.findOne(courseId);\n+    public Course updateCourseAccess(Long course_id, Course courseAccess) {","path":"src/main/java/com/softserve/academy/spaced/repetition/service/impl/CourseServiceImpl.java","position":136,"original_position":136,"commit_id":"db185aaedec9b20dd869336dcb2d4a3e9d30a1e3","original_commit_id":"db185aaedec9b20dd869336dcb2d4a3e9d30a1e3","user":{"login":"sonarcloud[bot]","id":39514782,"node_id":"MDM6Qm90Mzk1MTQ3ODI=","avatar_url":"https://avatars2.githubusercontent.com/in/12526?v=4","gravatar_id":"","url":"https://api.github.com/users/sonarcloud%5Bbot%5D","html_url":"https://github.com/apps/sonarcloud","followers_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/followers","following_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/repos","events_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"![Code Smell](https://sonarsource.github.io/sonar-github/code_smell.png 'Code Smell') Code Smell: Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'. ([squid:S00117](https://sonarcloud.io/organizations/orlp/rules#rule_key=squid%3AS00117))\n\n[See it in SonarCloud](https://sonarcloud.io/project/issues?id=com.softserve.academy%3ASpaced.Repetition&pullRequest=328&issues=AWc2xQeL0EcSutaxvCiE&open=AWc2xQeL0EcSutaxvCiE)\n\n[ISSUE_KEY]: AWc2xQeL0EcSutaxvCiE","created_at":"2018-11-21T14:55:47Z","updated_at":"2018-11-21T14:55:48Z","html_url":"https://github.com/koldovsky/orlp-server/pull/328#discussion_r235418628","pull_request_url":"https://api.github.com/repos/koldovsky/orlp-server/pulls/328","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/koldovsky/orlp-server/pulls/comments/235418628"},"html":{"href":"https://github.com/koldovsky/orlp-server/pull/328#discussion_r235418628"},"pull_request":{"href":"https://api.github.com/repos/koldovsky/orlp-server/pulls/328"}}},"pull_request":{"url":"https://api.github.com/repos/koldovsky/orlp-server/pulls/328","id":232568564,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNTY4NTY0","html_url":"https://github.com/koldovsky/orlp-server/pull/328","diff_url":"https://github.com/koldovsky/orlp-server/pull/328.diff","patch_url":"https://github.com/koldovsky/orlp-server/pull/328.patch","issue_url":"https://api.github.com/repos/koldovsky/orlp-server/issues/328","number":328,"state":"open","locked":false,"title":"Mc/orlp 310 create deck price service","user":{"login":"Maks-Chornyi","id":29275486,"node_id":"MDQ6VXNlcjI5Mjc1NDg2","avatar_url":"https://avatars0.githubusercontent.com/u/29275486?v=4","gravatar_id":"","url":"https://api.github.com/users/Maks-Chornyi","html_url":"https://github.com/Maks-Chornyi","followers_url":"https://api.github.com/users/Maks-Chornyi/followers","following_url":"https://api.github.com/users/Maks-Chornyi/following{/other_user}","gists_url":"https://api.github.com/users/Maks-Chornyi/gists{/gist_id}","starred_url":"https://api.github.com/users/Maks-Chornyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maks-Chornyi/subscriptions","organizations_url":"https://api.github.com/users/Maks-Chornyi/orgs","repos_url":"https://api.github.com/users/Maks-Chornyi/repos","events_url":"https://api.github.com/users/Maks-Chornyi/events{/privacy}","received_events_url":"https://api.github.com/users/Maks-Chornyi/received_events","type":"User","site_admin":false},"body":"updated few methods of adding, receiving, updating and deleting decks. Because of few diff variants of updating deck i had to use this statement of `if else if...`","created_at":"2018-11-21T07:56:05Z","updated_at":"2018-11-21T14:55:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eb256309ba241b0eec89a5c12b0f6fef9e435b27","assignee":null,"assignees":[],"requested_reviewers":[{"login":"antonbakalets","id":3871580,"node_id":"MDQ6VXNlcjM4NzE1ODA=","avatar_url":"https://avatars3.githubusercontent.com/u/3871580?v=4","gravatar_id":"","url":"https://api.github.com/users/antonbakalets","html_url":"https://github.com/antonbakalets","followers_url":"https://api.github.com/users/antonbakalets/followers","following_url":"https://api.github.com/users/antonbakalets/following{/other_user}","gists_url":"https://api.github.com/users/antonbakalets/gists{/gist_id}","starred_url":"https://api.github.com/users/antonbakalets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonbakalets/subscriptions","organizations_url":"https://api.github.com/users/antonbakalets/orgs","repos_url":"https://api.github.com/users/antonbakalets/repos","events_url":"https://api.github.com/users/antonbakalets/events{/privacy}","received_events_url":"https://api.github.com/users/antonbakalets/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/koldovsky/orlp-server/pulls/328/commits","review_comments_url":"https://api.github.com/repos/koldovsky/orlp-server/pulls/328/comments","review_comment_url":"https://api.github.com/repos/koldovsky/orlp-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/koldovsky/orlp-server/issues/328/comments","statuses_url":"https://api.github.com/repos/koldovsky/orlp-server/statuses/db185aaedec9b20dd869336dcb2d4a3e9d30a1e3","head":{"label":"koldovsky:mc/orlp-310-create-deckPriceService","ref":"mc/orlp-310-create-deckPriceService","sha":"db185aaedec9b20dd869336dcb2d4a3e9d30a1e3","user":{"login":"koldovsky","id":4018712,"node_id":"MDQ6VXNlcjQwMTg3MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/4018712?v=4","gravatar_id":"","url":"https://api.github.com/users/koldovsky","html_url":"https://github.com/koldovsky","followers_url":"https://api.github.com/users/koldovsky/followers","following_url":"https://api.github.com/users/koldovsky/following{/other_user}","gists_url":"https://api.github.com/users/koldovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/koldovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koldovsky/subscriptions","organizations_url":"https://api.github.com/users/koldovsky/orgs","repos_url":"https://api.github.com/users/koldovsky/repos","events_url":"https://api.github.com/users/koldovsky/events{/privacy}","received_events_url":"https://api.github.com/users/koldovsky/received_events","type":"User","site_admin":false},"repo":{"id":95656750,"node_id":"MDEwOlJlcG9zaXRvcnk5NTY1Njc1MA==","name":"orlp-server","full_name":"koldovsky/orlp-server","private":false,"owner":{"login":"koldovsky","id":4018712,"node_id":"MDQ6VXNlcjQwMTg3MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/4018712?v=4","gravatar_id":"","url":"https://api.github.com/users/koldovsky","html_url":"https://github.com/koldovsky","followers_url":"https://api.github.com/users/koldovsky/followers","following_url":"https://api.github.com/users/koldovsky/following{/other_user}","gists_url":"https://api.github.com/users/koldovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/koldovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koldovsky/subscriptions","organizations_url":"https://api.github.com/users/koldovsky/orgs","repos_url":"https://api.github.com/users/koldovsky/repos","events_url":"https://api.github.com/users/koldovsky/events{/privacy}","received_events_url":"https://api.github.com/users/koldovsky/received_events","type":"User","site_admin":false},"html_url":"https://github.com/koldovsky/orlp-server","description":null,"fork":false,"url":"https://api.github.com/repos/koldovsky/orlp-server","forks_url":"https://api.github.com/repos/koldovsky/orlp-server/forks","keys_url":"https://api.github.com/repos/koldovsky/orlp-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koldovsky/orlp-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koldovsky/orlp-server/teams","hooks_url":"https://api.github.com/repos/koldovsky/orlp-server/hooks","issue_events_url":"https://api.github.com/repos/koldovsky/orlp-server/issues/events{/number}","events_url":"https://api.github.com/repos/koldovsky/orlp-server/events","assignees_url":"https://api.github.com/repos/koldovsky/orlp-server/assignees{/user}","branches_url":"https://api.github.com/repos/koldovsky/orlp-server/branches{/branch}","tags_url":"https://api.github.com/repos/koldovsky/orlp-server/tags","blobs_url":"https://api.github.com/repos/koldovsky/orlp-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koldovsky/orlp-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koldovsky/orlp-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/koldovsky/orlp-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koldovsky/orlp-server/statuses/{sha}","languages_url":"https://api.github.com/repos/koldovsky/orlp-server/languages","stargazers_url":"https://api.github.com/repos/koldovsky/orlp-server/stargazers","contributors_url":"https://api.github.com/repos/koldovsky/orlp-server/contributors","subscribers_url":"https://api.github.com/repos/koldovsky/orlp-server/subscribers","subscription_url":"https://api.github.com/repos/koldovsky/orlp-server/subscription","commits_url":"https://api.github.com/repos/koldovsky/orlp-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/koldovsky/orlp-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/koldovsky/orlp-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/koldovsky/orlp-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/koldovsky/orlp-server/contents/{+path}","compare_url":"https://api.github.com/repos/koldovsky/orlp-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koldovsky/orlp-server/merges","archive_url":"https://api.github.com/repos/koldovsky/orlp-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koldovsky/orlp-server/downloads","issues_url":"https://api.github.com/repos/koldovsky/orlp-server/issues{/number}","pulls_url":"https://api.github.com/repos/koldovsky/orlp-server/pulls{/number}","milestones_url":"https://api.github.com/repos/koldovsky/orlp-server/milestones{/number}","notifications_url":"https://api.github.com/repos/koldovsky/orlp-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koldovsky/orlp-server/labels{/name}","releases_url":"https://api.github.com/repos/koldovsky/orlp-server/releases{/id}","deployments_url":"https://api.github.com/repos/koldovsky/orlp-server/deployments","created_at":"2017-06-28T10:19:30Z","updated_at":"2018-09-28T08:39:04Z","pushed_at":"2018-11-21T14:50:43Z","git_url":"git://github.com/koldovsky/orlp-server.git","ssh_url":"git@github.com:koldovsky/orlp-server.git","clone_url":"https://github.com/koldovsky/orlp-server.git","svn_url":"https://github.com/koldovsky/orlp-server","homepage":null,"size":5583,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":6,"open_issues":10,"watchers":3,"default_branch":"master"}},"base":{"label":"koldovsky:develop","ref":"develop","sha":"859ea890124f9ca87195cf8ad07cdf4bc1a70232","user":{"login":"koldovsky","id":4018712,"node_id":"MDQ6VXNlcjQwMTg3MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/4018712?v=4","gravatar_id":"","url":"https://api.github.com/users/koldovsky","html_url":"https://github.com/koldovsky","followers_url":"https://api.github.com/users/koldovsky/followers","following_url":"https://api.github.com/users/koldovsky/following{/other_user}","gists_url":"https://api.github.com/users/koldovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/koldovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koldovsky/subscriptions","organizations_url":"https://api.github.com/users/koldovsky/orgs","repos_url":"https://api.github.com/users/koldovsky/repos","events_url":"https://api.github.com/users/koldovsky/events{/privacy}","received_events_url":"https://api.github.com/users/koldovsky/received_events","type":"User","site_admin":false},"repo":{"id":95656750,"node_id":"MDEwOlJlcG9zaXRvcnk5NTY1Njc1MA==","name":"orlp-server","full_name":"koldovsky/orlp-server","private":false,"owner":{"login":"koldovsky","id":4018712,"node_id":"MDQ6VXNlcjQwMTg3MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/4018712?v=4","gravatar_id":"","url":"https://api.github.com/users/koldovsky","html_url":"https://github.com/koldovsky","followers_url":"https://api.github.com/users/koldovsky/followers","following_url":"https://api.github.com/users/koldovsky/following{/other_user}","gists_url":"https://api.github.com/users/koldovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/koldovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koldovsky/subscriptions","organizations_url":"https://api.github.com/users/koldovsky/orgs","repos_url":"https://api.github.com/users/koldovsky/repos","events_url":"https://api.github.com/users/koldovsky/events{/privacy}","received_events_url":"https://api.github.com/users/koldovsky/received_events","type":"User","site_admin":false},"html_url":"https://github.com/koldovsky/orlp-server","description":null,"fork":false,"url":"https://api.github.com/repos/koldovsky/orlp-server","forks_url":"https://api.github.com/repos/koldovsky/orlp-server/forks","keys_url":"https://api.github.com/repos/koldovsky/orlp-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koldovsky/orlp-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koldovsky/orlp-server/teams","hooks_url":"https://api.github.com/repos/koldovsky/orlp-server/hooks","issue_events_url":"https://api.github.com/repos/koldovsky/orlp-server/issues/events{/number}","events_url":"https://api.github.com/repos/koldovsky/orlp-server/events","assignees_url":"https://api.github.com/repos/koldovsky/orlp-server/assignees{/user}","branches_url":"https://api.github.com/repos/koldovsky/orlp-server/branches{/branch}","tags_url":"https://api.github.com/repos/koldovsky/orlp-server/tags","blobs_url":"https://api.github.com/repos/koldovsky/orlp-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koldovsky/orlp-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koldovsky/orlp-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/koldovsky/orlp-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koldovsky/orlp-server/statuses/{sha}","languages_url":"https://api.github.com/repos/koldovsky/orlp-server/languages","stargazers_url":"https://api.github.com/repos/koldovsky/orlp-server/stargazers","contributors_url":"https://api.github.com/repos/koldovsky/orlp-server/contributors","subscribers_url":"https://api.github.com/repos/koldovsky/orlp-server/subscribers","subscription_url":"https://api.github.com/repos/koldovsky/orlp-server/subscription","commits_url":"https://api.github.com/repos/koldovsky/orlp-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/koldovsky/orlp-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/koldovsky/orlp-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/koldovsky/orlp-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/koldovsky/orlp-server/contents/{+path}","compare_url":"https://api.github.com/repos/koldovsky/orlp-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koldovsky/orlp-server/merges","archive_url":"https://api.github.com/repos/koldovsky/orlp-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koldovsky/orlp-server/downloads","issues_url":"https://api.github.com/repos/koldovsky/orlp-server/issues{/number}","pulls_url":"https://api.github.com/repos/koldovsky/orlp-server/pulls{/number}","milestones_url":"https://api.github.com/repos/koldovsky/orlp-server/milestones{/number}","notifications_url":"https://api.github.com/repos/koldovsky/orlp-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koldovsky/orlp-server/labels{/name}","releases_url":"https://api.github.com/repos/koldovsky/orlp-server/releases{/id}","deployments_url":"https://api.github.com/repos/koldovsky/orlp-server/deployments","created_at":"2017-06-28T10:19:30Z","updated_at":"2018-09-28T08:39:04Z","pushed_at":"2018-11-21T14:50:43Z","git_url":"git://github.com/koldovsky/orlp-server.git","ssh_url":"git@github.com:koldovsky/orlp-server.git","clone_url":"https://github.com/koldovsky/orlp-server.git","svn_url":"https://github.com/koldovsky/orlp-server","homepage":null,"size":5583,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":6,"open_issues":10,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/koldovsky/orlp-server/pulls/328"},"html":{"href":"https://github.com/koldovsky/orlp-server/pull/328"},"issue":{"href":"https://api.github.com/repos/koldovsky/orlp-server/issues/328"},"comments":{"href":"https://api.github.com/repos/koldovsky/orlp-server/issues/328/comments"},"review_comments":{"href":"https://api.github.com/repos/koldovsky/orlp-server/pulls/328/comments"},"review_comment":{"href":"https://api.github.com/repos/koldovsky/orlp-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/koldovsky/orlp-server/pulls/328/commits"},"statuses":{"href":"https://api.github.com/repos/koldovsky/orlp-server/statuses/db185aaedec9b20dd869336dcb2d4a3e9d30a1e3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"sonarcloud"}}