{"action":"created","comment":{"url":"https://api.github.com/repos/Backendless/Android-SDK/pulls/comments/65093212","id":65093212,"diff_hunk":"@@ -498,6 +498,29 @@ public void restorePassword( final String identity, final AsyncCallback<Void> re\n     }\n   }\n \n+  public void resendEmailConfirmation( String email ) throws BackendlessException\n+  {\n+    if( email == null )","path":"src/com/backendless/UserService.java","position":6,"original_position":6,"commit_id":"a7acadd492be587733f8b8644e6e7f076b47d8a0","original_commit_id":"a7acadd492be587733f8b8644e6e7f076b47d8a0","user":{"login":"scadgek","id":3458586,"avatar_url":"https://avatars.githubusercontent.com/u/3458586?v=3","gravatar_id":"","url":"https://api.github.com/users/scadgek","html_url":"https://github.com/scadgek","followers_url":"https://api.github.com/users/scadgek/followers","following_url":"https://api.github.com/users/scadgek/following{/other_user}","gists_url":"https://api.github.com/users/scadgek/gists{/gist_id}","starred_url":"https://api.github.com/users/scadgek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scadgek/subscriptions","organizations_url":"https://api.github.com/users/scadgek/orgs","repos_url":"https://api.github.com/users/scadgek/repos","events_url":"https://api.github.com/users/scadgek/events{/privacy}","received_events_url":"https://api.github.com/users/scadgek/received_events","type":"User","site_admin":false},"body":"I think these null-checks are redundant, otherwise we should also check email.isEmpty() and maybe do some more validations.\r\nAlso, the error message \"Identity cannot be null\" doesn't relate to email or resending email confirmation - this will confuse the users in case they encounter it.","created_at":"2016-05-30T17:03:10Z","updated_at":"2016-05-30T17:03:10Z","html_url":"https://github.com/Backendless/Android-SDK/pull/207#discussion_r65093212","pull_request_url":"https://api.github.com/repos/Backendless/Android-SDK/pulls/207","_links":{"self":{"href":"https://api.github.com/repos/Backendless/Android-SDK/pulls/comments/65093212"},"html":{"href":"https://github.com/Backendless/Android-SDK/pull/207#discussion_r65093212"},"pull_request":{"href":"https://api.github.com/repos/Backendless/Android-SDK/pulls/207"}}},"pull_request":{"url":"https://api.github.com/repos/Backendless/Android-SDK/pulls/207","id":71907473,"html_url":"https://github.com/Backendless/Android-SDK/pull/207","diff_url":"https://github.com/Backendless/Android-SDK/pull/207.diff","patch_url":"https://github.com/Backendless/Android-SDK/pull/207.patch","issue_url":"https://api.github.com/repos/Backendless/Android-SDK/issues/207","number":207,"state":"open","locked":false,"title":" BKNDLSS-12164 BKNDLSS-12162 Add API to resend email confirmation","user":{"login":"schaffe","id":6803606,"avatar_url":"https://avatars.githubusercontent.com/u/6803606?v=3","gravatar_id":"","url":"https://api.github.com/users/schaffe","html_url":"https://github.com/schaffe","followers_url":"https://api.github.com/users/schaffe/followers","following_url":"https://api.github.com/users/schaffe/following{/other_user}","gists_url":"https://api.github.com/users/schaffe/gists{/gist_id}","starred_url":"https://api.github.com/users/schaffe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schaffe/subscriptions","organizations_url":"https://api.github.com/users/schaffe/orgs","repos_url":"https://api.github.com/users/schaffe/repos","events_url":"https://api.github.com/users/schaffe/events{/privacy}","received_events_url":"https://api.github.com/users/schaffe/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-30T14:17:51Z","updated_at":"2016-05-30T17:03:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"161ecd98d413e132f9ae0a0742d6dd26bee5bd27","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Backendless/Android-SDK/pulls/207/commits","review_comments_url":"https://api.github.com/repos/Backendless/Android-SDK/pulls/207/comments","review_comment_url":"https://api.github.com/repos/Backendless/Android-SDK/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Backendless/Android-SDK/issues/207/comments","statuses_url":"https://api.github.com/repos/Backendless/Android-SDK/statuses/a7acadd492be587733f8b8644e6e7f076b47d8a0","head":{"label":"Backendless:T-12162","ref":"T-12162","sha":"a7acadd492be587733f8b8644e6e7f076b47d8a0","user":{"login":"Backendless","id":4603945,"avatar_url":"https://avatars.githubusercontent.com/u/4603945?v=3","gravatar_id":"","url":"https://api.github.com/users/Backendless","html_url":"https://github.com/Backendless","followers_url":"https://api.github.com/users/Backendless/followers","following_url":"https://api.github.com/users/Backendless/following{/other_user}","gists_url":"https://api.github.com/users/Backendless/gists{/gist_id}","starred_url":"https://api.github.com/users/Backendless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Backendless/subscriptions","organizations_url":"https://api.github.com/users/Backendless/orgs","repos_url":"https://api.github.com/users/Backendless/repos","events_url":"https://api.github.com/users/Backendless/events{/privacy}","received_events_url":"https://api.github.com/users/Backendless/received_events","type":"Organization","site_admin":false},"repo":{"id":15827300,"name":"Android-SDK","full_name":"Backendless/Android-SDK","owner":{"login":"Backendless","id":4603945,"avatar_url":"https://avatars.githubusercontent.com/u/4603945?v=3","gravatar_id":"","url":"https://api.github.com/users/Backendless","html_url":"https://github.com/Backendless","followers_url":"https://api.github.com/users/Backendless/followers","following_url":"https://api.github.com/users/Backendless/following{/other_user}","gists_url":"https://api.github.com/users/Backendless/gists{/gist_id}","starred_url":"https://api.github.com/users/Backendless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Backendless/subscriptions","organizations_url":"https://api.github.com/users/Backendless/orgs","repos_url":"https://api.github.com/users/Backendless/repos","events_url":"https://api.github.com/users/Backendless/events{/privacy}","received_events_url":"https://api.github.com/users/Backendless/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Backendless/Android-SDK","description":"Backendless SDK for Java and Android","fork":false,"url":"https://api.github.com/repos/Backendless/Android-SDK","forks_url":"https://api.github.com/repos/Backendless/Android-SDK/forks","keys_url":"https://api.github.com/repos/Backendless/Android-SDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Backendless/Android-SDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Backendless/Android-SDK/teams","hooks_url":"https://api.github.com/repos/Backendless/Android-SDK/hooks","issue_events_url":"https://api.github.com/repos/Backendless/Android-SDK/issues/events{/number}","events_url":"https://api.github.com/repos/Backendless/Android-SDK/events","assignees_url":"https://api.github.com/repos/Backendless/Android-SDK/assignees{/user}","branches_url":"https://api.github.com/repos/Backendless/Android-SDK/branches{/branch}","tags_url":"https://api.github.com/repos/Backendless/Android-SDK/tags","blobs_url":"https://api.github.com/repos/Backendless/Android-SDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Backendless/Android-SDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Backendless/Android-SDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/Backendless/Android-SDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Backendless/Android-SDK/statuses/{sha}","languages_url":"https://api.github.com/repos/Backendless/Android-SDK/languages","stargazers_url":"https://api.github.com/repos/Backendless/Android-SDK/stargazers","contributors_url":"https://api.github.com/repos/Backendless/Android-SDK/contributors","subscribers_url":"https://api.github.com/repos/Backendless/Android-SDK/subscribers","subscription_url":"https://api.github.com/repos/Backendless/Android-SDK/subscription","commits_url":"https://api.github.com/repos/Backendless/Android-SDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/Backendless/Android-SDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/Backendless/Android-SDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/Backendless/Android-SDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/Backendless/Android-SDK/contents/{+path}","compare_url":"https://api.github.com/repos/Backendless/Android-SDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Backendless/Android-SDK/merges","archive_url":"https://api.github.com/repos/Backendless/Android-SDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Backendless/Android-SDK/downloads","issues_url":"https://api.github.com/repos/Backendless/Android-SDK/issues{/number}","pulls_url":"https://api.github.com/repos/Backendless/Android-SDK/pulls{/number}","milestones_url":"https://api.github.com/repos/Backendless/Android-SDK/milestones{/number}","notifications_url":"https://api.github.com/repos/Backendless/Android-SDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Backendless/Android-SDK/labels{/name}","releases_url":"https://api.github.com/repos/Backendless/Android-SDK/releases{/id}","deployments_url":"https://api.github.com/repos/Backendless/Android-SDK/deployments","created_at":"2014-01-11T17:47:15Z","updated_at":"2016-05-26T14:27:27Z","pushed_at":"2016-05-30T14:17:51Z","git_url":"git://github.com/Backendless/Android-SDK.git","ssh_url":"git@github.com:Backendless/Android-SDK.git","clone_url":"https://github.com/Backendless/Android-SDK.git","svn_url":"https://github.com/Backendless/Android-SDK","homepage":null,"size":57782,"stargazers_count":26,"watchers_count":26,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":4,"forks":22,"open_issues":4,"watchers":26,"default_branch":"master"}},"base":{"label":"Backendless:master","ref":"master","sha":"dfafaf32b97fa21481b701271f9e631708c685a1","user":{"login":"Backendless","id":4603945,"avatar_url":"https://avatars.githubusercontent.com/u/4603945?v=3","gravatar_id":"","url":"https://api.github.com/users/Backendless","html_url":"https://github.com/Backendless","followers_url":"https://api.github.com/users/Backendless/followers","following_url":"https://api.github.com/users/Backendless/following{/other_user}","gists_url":"https://api.github.com/users/Backendless/gists{/gist_id}","starred_url":"https://api.github.com/users/Backendless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Backendless/subscriptions","organizations_url":"https://api.github.com/users/Backendless/orgs","repos_url":"https://api.github.com/users/Backendless/repos","events_url":"https://api.github.com/users/Backendless/events{/privacy}","received_events_url":"https://api.github.com/users/Backendless/received_events","type":"Organization","site_admin":false},"repo":{"id":15827300,"name":"Android-SDK","full_name":"Backendless/Android-SDK","owner":{"login":"Backendless","id":4603945,"avatar_url":"https://avatars.githubusercontent.com/u/4603945?v=3","gravatar_id":"","url":"https://api.github.com/users/Backendless","html_url":"https://github.com/Backendless","followers_url":"https://api.github.com/users/Backendless/followers","following_url":"https://api.github.com/users/Backendless/following{/other_user}","gists_url":"https://api.github.com/users/Backendless/gists{/gist_id}","starred_url":"https://api.github.com/users/Backendless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Backendless/subscriptions","organizations_url":"https://api.github.com/users/Backendless/orgs","repos_url":"https://api.github.com/users/Backendless/repos","events_url":"https://api.github.com/users/Backendless/events{/privacy}","received_events_url":"https://api.github.com/users/Backendless/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Backendless/Android-SDK","description":"Backendless SDK for Java and Android","fork":false,"url":"https://api.github.com/repos/Backendless/Android-SDK","forks_url":"https://api.github.com/repos/Backendless/Android-SDK/forks","keys_url":"https://api.github.com/repos/Backendless/Android-SDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Backendless/Android-SDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Backendless/Android-SDK/teams","hooks_url":"https://api.github.com/repos/Backendless/Android-SDK/hooks","issue_events_url":"https://api.github.com/repos/Backendless/Android-SDK/issues/events{/number}","events_url":"https://api.github.com/repos/Backendless/Android-SDK/events","assignees_url":"https://api.github.com/repos/Backendless/Android-SDK/assignees{/user}","branches_url":"https://api.github.com/repos/Backendless/Android-SDK/branches{/branch}","tags_url":"https://api.github.com/repos/Backendless/Android-SDK/tags","blobs_url":"https://api.github.com/repos/Backendless/Android-SDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Backendless/Android-SDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Backendless/Android-SDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/Backendless/Android-SDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Backendless/Android-SDK/statuses/{sha}","languages_url":"https://api.github.com/repos/Backendless/Android-SDK/languages","stargazers_url":"https://api.github.com/repos/Backendless/Android-SDK/stargazers","contributors_url":"https://api.github.com/repos/Backendless/Android-SDK/contributors","subscribers_url":"https://api.github.com/repos/Backendless/Android-SDK/subscribers","subscription_url":"https://api.github.com/repos/Backendless/Android-SDK/subscription","commits_url":"https://api.github.com/repos/Backendless/Android-SDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/Backendless/Android-SDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/Backendless/Android-SDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/Backendless/Android-SDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/Backendless/Android-SDK/contents/{+path}","compare_url":"https://api.github.com/repos/Backendless/Android-SDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Backendless/Android-SDK/merges","archive_url":"https://api.github.com/repos/Backendless/Android-SDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Backendless/Android-SDK/downloads","issues_url":"https://api.github.com/repos/Backendless/Android-SDK/issues{/number}","pulls_url":"https://api.github.com/repos/Backendless/Android-SDK/pulls{/number}","milestones_url":"https://api.github.com/repos/Backendless/Android-SDK/milestones{/number}","notifications_url":"https://api.github.com/repos/Backendless/Android-SDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Backendless/Android-SDK/labels{/name}","releases_url":"https://api.github.com/repos/Backendless/Android-SDK/releases{/id}","deployments_url":"https://api.github.com/repos/Backendless/Android-SDK/deployments","created_at":"2014-01-11T17:47:15Z","updated_at":"2016-05-26T14:27:27Z","pushed_at":"2016-05-30T14:17:51Z","git_url":"git://github.com/Backendless/Android-SDK.git","ssh_url":"git@github.com:Backendless/Android-SDK.git","clone_url":"https://github.com/Backendless/Android-SDK.git","svn_url":"https://github.com/Backendless/Android-SDK","homepage":null,"size":57782,"stargazers_count":26,"watchers_count":26,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":4,"forks":22,"open_issues":4,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Backendless/Android-SDK/pulls/207"},"html":{"href":"https://github.com/Backendless/Android-SDK/pull/207"},"issue":{"href":"https://api.github.com/repos/Backendless/Android-SDK/issues/207"},"comments":{"href":"https://api.github.com/repos/Backendless/Android-SDK/issues/207/comments"},"review_comments":{"href":"https://api.github.com/repos/Backendless/Android-SDK/pulls/207/comments"},"review_comment":{"href":"https://api.github.com/repos/Backendless/Android-SDK/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Backendless/Android-SDK/pulls/207/commits"},"statuses":{"href":"https://api.github.com/repos/Backendless/Android-SDK/statuses/a7acadd492be587733f8b8644e6e7f076b47d8a0"}}}}
{"actor":{"display_login":"scadgek"}}