{"action":"created","comment":{"url":"https://api.github.com/repos/koldovsky/orlp-server/pulls/comments/241686345","pull_request_review_id":185020817,"id":241686345,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTY4NjM0NQ==","diff_hunk":"@@ -166,6 +167,16 @@ void initializeNewUser(Account account, String email, AccountStatus accountStatu\n      */\n     void isUserStatusActive(User user) throws UserStatusException;\n \n+    /**\n+     * Validates whether user's account can or cannot contain a null password value. If user registered\n+     * via Facebook or Google then it allows for password field to be null, but will throw\n+     * PasswordCannotBeNullException if user's authentication type is LOCAL and password is null.\n+     *\n+     * @param account            user`s account.\n+     * @throws PasswordCannotBeNullException if authenticationType is LOCAL and password is null\n+     */\n+    void validateAccount(Account account) throws PasswordCannotBeNullException;","path":"src/main/java/com/softserve/academy/spaced/repetition/service/UserService.java","position":20,"original_position":20,"commit_id":"e9bd2f2619005893778d0be04029692ae170a028","original_commit_id":"e9bd2f2619005893778d0be04029692ae170a028","user":{"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},"body":"This method is called only inside the service implementation, therefore it should be removed from interface and marked private.\r\nPlease also move the JavaDoc.","created_at":"2018-12-14T09:15:25Z","updated_at":"2018-12-14T09:16:59Z","html_url":"https://github.com/koldovsky/orlp-server/pull/360#discussion_r241686345","pull_request_url":"https://api.github.com/repos/koldovsky/orlp-server/pulls/360","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/koldovsky/orlp-server/pulls/comments/241686345"},"html":{"href":"https://github.com/koldovsky/orlp-server/pull/360#discussion_r241686345"},"pull_request":{"href":"https://api.github.com/repos/koldovsky/orlp-server/pulls/360"}}},"pull_request":{"url":"https://api.github.com/repos/koldovsky/orlp-server/pulls/360","id":236181521,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MTgxNTIx","html_url":"https://github.com/koldovsky/orlp-server/pull/360","diff_url":"https://github.com/koldovsky/orlp-server/pull/360.diff","patch_url":"https://github.com/koldovsky/orlp-server/pull/360.patch","issue_url":"https://api.github.com/repos/koldovsky/orlp-server/issues/360","number":360,"state":"open","locked":false,"title":"Closes #354 - Refactor google sign in","user":{"login":"OleksandrMazur","id":19899144,"node_id":"MDQ6VXNlcjE5ODk5MTQ0","avatar_url":"https://avatars0.githubusercontent.com/u/19899144?v=4","gravatar_id":"","url":"https://api.github.com/users/OleksandrMazur","html_url":"https://github.com/OleksandrMazur","followers_url":"https://api.github.com/users/OleksandrMazur/followers","following_url":"https://api.github.com/users/OleksandrMazur/following{/other_user}","gists_url":"https://api.github.com/users/OleksandrMazur/gists{/gist_id}","starred_url":"https://api.github.com/users/OleksandrMazur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OleksandrMazur/subscriptions","organizations_url":"https://api.github.com/users/OleksandrMazur/orgs","repos_url":"https://api.github.com/users/OleksandrMazur/repos","events_url":"https://api.github.com/users/OleksandrMazur/events{/privacy}","received_events_url":"https://api.github.com/users/OleksandrMazur/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-05T13:51:46Z","updated_at":"2018-12-14T09:16:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e4c81e40883dc815e00b328832077788a5b8914","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/koldovsky/orlp-server/pulls/360/commits","review_comments_url":"https://api.github.com/repos/koldovsky/orlp-server/pulls/360/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/360/comments","statuses_url":"https://api.github.com/repos/koldovsky/orlp-server/statuses/e9bd2f2619005893778d0be04029692ae170a028","head":{"label":"koldovsky:om/ORLP-354-refactor-google-sign-in","ref":"om/ORLP-354-refactor-google-sign-in","sha":"e9bd2f2619005893778d0be04029692ae170a028","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-12-14T08:35:46Z","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":5694,"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":12,"license":null,"forks":6,"open_issues":12,"watchers":3,"default_branch":"master"}},"base":{"label":"koldovsky:develop","ref":"develop","sha":"ae8917b8de95bddeb5d5f11ecf33233bbca1146a","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-12-14T08:35:46Z","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":5694,"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":12,"license":null,"forks":6,"open_issues":12,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/koldovsky/orlp-server/pulls/360"},"html":{"href":"https://github.com/koldovsky/orlp-server/pull/360"},"issue":{"href":"https://api.github.com/repos/koldovsky/orlp-server/issues/360"},"comments":{"href":"https://api.github.com/repos/koldovsky/orlp-server/issues/360/comments"},"review_comments":{"href":"https://api.github.com/repos/koldovsky/orlp-server/pulls/360/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/360/commits"},"statuses":{"href":"https://api.github.com/repos/koldovsky/orlp-server/statuses/e9bd2f2619005893778d0be04029692ae170a028"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"antonbakalets"}}