{"action":"created","comment":{"url":"https://api.github.com/repos/AndersonMelo123/ClinUP/pulls/comments/201517039","pull_request_review_id":136035816,"id":201517039,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTUxNzAzOQ==","diff_hunk":"@@ -1,15 +1,292 @@\n package br.com.projetofragmeto.clinup.activity;\n \n+import android.content.Intent;\n+import android.support.annotation.NonNull;\n+import android.support.v7.app.AlertDialog;\n import android.support.v7.app.AppCompatActivity;\n import android.os.Bundle;\n+import android.util.Log;\n+import android.view.View;\n+import android.widget.Button;\n+import android.widget.EditText;\n+import android.widget.TextView;\n+import android.widget.Toast;\n+\n+import com.facebook.login.LoginManager;\n+import com.google.android.gms.auth.api.Auth;\n+import com.google.android.gms.auth.api.signin.GoogleSignInAccount;\n+import com.google.android.gms.auth.api.signin.GoogleSignInOptions;\n+import com.google.android.gms.auth.api.signin.GoogleSignInResult;\n+import com.google.android.gms.common.ConnectionResult;\n+import com.google.android.gms.common.api.GoogleApiClient;\n+import com.google.android.gms.common.api.OptionalPendingResult;\n+import com.google.android.gms.common.api.ResultCallback;\n+import com.google.android.gms.common.api.Status;\n+import com.google.android.gms.tasks.OnCompleteListener;\n+import com.google.android.gms.tasks.Task;\n+import com.google.firebase.auth.AuthCredential;\n+import com.google.firebase.auth.EmailAuthProvider;\n+import com.google.firebase.auth.FirebaseAuth;\n+import com.google.firebase.auth.FirebaseUser;\n+import com.google.firebase.database.DataSnapshot;\n+import com.google.firebase.database.DatabaseError;\n+import com.google.firebase.database.DatabaseReference;\n+import com.google.firebase.database.ValueEventListener;\n+\n \n import br.com.projetofragmeto.clinup.R;\n+import br.com.projetofragmeto.clinup.config.ConfiguracaoFirebase;\n+import br.com.projetofragmeto.clinup.helper.Preferencias;\n+import br.com.projetofragmeto.clinup.model.Usuario;\n+\n \n public class MainActivity extends AppCompatActivity {\n \n+    private Button logout;\n+    private Button botaoDelete;\n+    private TextView texto;","path":"app/src/main/java/br/com/projetofragmeto/clinup/activity/MainActivity.java","position":47,"original_position":47,"commit_id":"3a6e97b667b14663cdfd65e26a57d3cf39d51e25","original_commit_id":"3a6e97b667b14663cdfd65e26a57d3cf39d51e25","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused private fields such as 'texto'.](https://app.codacy.com/app/ClinUP/ClinUP/pullRequest?prid=1886340)","created_at":"2018-07-10T22:37:34Z","updated_at":"2018-07-10T22:37:34Z","html_url":"https://github.com/AndersonMelo123/ClinUP/pull/4#discussion_r201517039","pull_request_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/AndersonMelo123/ClinUP/pulls/comments/201517039"},"html":{"href":"https://github.com/AndersonMelo123/ClinUP/pull/4#discussion_r201517039"},"pull_request":{"href":"https://api.github.com/repos/AndersonMelo123/ClinUP/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/AndersonMelo123/ClinUP/pulls/4","id":200542212,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNTQyMjEy","html_url":"https://github.com/AndersonMelo123/ClinUP/pull/4","diff_url":"https://github.com/AndersonMelo123/ClinUP/pull/4.diff","patch_url":"https://github.com/AndersonMelo123/ClinUP/pull/4.patch","issue_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/issues/4","number":4,"state":"open","locked":false,"title":"Ademario","user":{"login":"AdemarioJ","id":32912917,"node_id":"MDQ6VXNlcjMyOTEyOTE3","avatar_url":"https://avatars3.githubusercontent.com/u/32912917?v=4","gravatar_id":"","url":"https://api.github.com/users/AdemarioJ","html_url":"https://github.com/AdemarioJ","followers_url":"https://api.github.com/users/AdemarioJ/followers","following_url":"https://api.github.com/users/AdemarioJ/following{/other_user}","gists_url":"https://api.github.com/users/AdemarioJ/gists{/gist_id}","starred_url":"https://api.github.com/users/AdemarioJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdemarioJ/subscriptions","organizations_url":"https://api.github.com/users/AdemarioJ/orgs","repos_url":"https://api.github.com/users/AdemarioJ/repos","events_url":"https://api.github.com/users/AdemarioJ/events{/privacy}","received_events_url":"https://api.github.com/users/AdemarioJ/received_events","type":"User","site_admin":false},"body":"Login do usuário por e-mail e senha, e redes sociais Facebook e Google, podendo atualizar o cadastro do usuário após o login e desativar a conta do usuário  e-mail e senha.","created_at":"2018-07-10T22:36:43Z","updated_at":"2018-07-10T22:37:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/pulls/4/commits","review_comments_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/pulls/4/comments","review_comment_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/issues/4/comments","statuses_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/statuses/3a6e97b667b14663cdfd65e26a57d3cf39d51e25","head":{"label":"AndersonMelo123:Ademario","ref":"Ademario","sha":"3a6e97b667b14663cdfd65e26a57d3cf39d51e25","user":{"login":"AndersonMelo123","id":18428146,"node_id":"MDQ6VXNlcjE4NDI4MTQ2","avatar_url":"https://avatars1.githubusercontent.com/u/18428146?v=4","gravatar_id":"","url":"https://api.github.com/users/AndersonMelo123","html_url":"https://github.com/AndersonMelo123","followers_url":"https://api.github.com/users/AndersonMelo123/followers","following_url":"https://api.github.com/users/AndersonMelo123/following{/other_user}","gists_url":"https://api.github.com/users/AndersonMelo123/gists{/gist_id}","starred_url":"https://api.github.com/users/AndersonMelo123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndersonMelo123/subscriptions","organizations_url":"https://api.github.com/users/AndersonMelo123/orgs","repos_url":"https://api.github.com/users/AndersonMelo123/repos","events_url":"https://api.github.com/users/AndersonMelo123/events{/privacy}","received_events_url":"https://api.github.com/users/AndersonMelo123/received_events","type":"User","site_admin":false},"repo":{"id":133514342,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM1MTQzNDI=","name":"ClinUP","full_name":"AndersonMelo123/ClinUP","owner":{"login":"AndersonMelo123","id":18428146,"node_id":"MDQ6VXNlcjE4NDI4MTQ2","avatar_url":"https://avatars1.githubusercontent.com/u/18428146?v=4","gravatar_id":"","url":"https://api.github.com/users/AndersonMelo123","html_url":"https://github.com/AndersonMelo123","followers_url":"https://api.github.com/users/AndersonMelo123/followers","following_url":"https://api.github.com/users/AndersonMelo123/following{/other_user}","gists_url":"https://api.github.com/users/AndersonMelo123/gists{/gist_id}","starred_url":"https://api.github.com/users/AndersonMelo123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndersonMelo123/subscriptions","organizations_url":"https://api.github.com/users/AndersonMelo123/orgs","repos_url":"https://api.github.com/users/AndersonMelo123/repos","events_url":"https://api.github.com/users/AndersonMelo123/events{/privacy}","received_events_url":"https://api.github.com/users/AndersonMelo123/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndersonMelo123/ClinUP","description":null,"fork":false,"url":"https://api.github.com/repos/AndersonMelo123/ClinUP","forks_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/forks","keys_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/teams","hooks_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/hooks","issue_events_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/issues/events{/number}","events_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/events","assignees_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/assignees{/user}","branches_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/branches{/branch}","tags_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/tags","blobs_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/statuses/{sha}","languages_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/languages","stargazers_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/stargazers","contributors_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/contributors","subscribers_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/subscribers","subscription_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/subscription","commits_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/contents/{+path}","compare_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/merges","archive_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/downloads","issues_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/issues{/number}","pulls_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/pulls{/number}","milestones_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/milestones{/number}","notifications_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/labels{/name}","releases_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/releases{/id}","deployments_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/deployments","created_at":"2018-05-15T12:40:45Z","updated_at":"2018-06-26T20:22:10Z","pushed_at":"2018-07-10T22:36:44Z","git_url":"git://github.com/AndersonMelo123/ClinUP.git","ssh_url":"git@github.com:AndersonMelo123/ClinUP.git","clone_url":"https://github.com/AndersonMelo123/ClinUP.git","svn_url":"https://github.com/AndersonMelo123/ClinUP","homepage":null,"size":581,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":4,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"AndersonMelo123:master","ref":"master","sha":"84be64d3d4a8051afb3f32283e49aa5209302e49","user":{"login":"AndersonMelo123","id":18428146,"node_id":"MDQ6VXNlcjE4NDI4MTQ2","avatar_url":"https://avatars1.githubusercontent.com/u/18428146?v=4","gravatar_id":"","url":"https://api.github.com/users/AndersonMelo123","html_url":"https://github.com/AndersonMelo123","followers_url":"https://api.github.com/users/AndersonMelo123/followers","following_url":"https://api.github.com/users/AndersonMelo123/following{/other_user}","gists_url":"https://api.github.com/users/AndersonMelo123/gists{/gist_id}","starred_url":"https://api.github.com/users/AndersonMelo123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndersonMelo123/subscriptions","organizations_url":"https://api.github.com/users/AndersonMelo123/orgs","repos_url":"https://api.github.com/users/AndersonMelo123/repos","events_url":"https://api.github.com/users/AndersonMelo123/events{/privacy}","received_events_url":"https://api.github.com/users/AndersonMelo123/received_events","type":"User","site_admin":false},"repo":{"id":133514342,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM1MTQzNDI=","name":"ClinUP","full_name":"AndersonMelo123/ClinUP","owner":{"login":"AndersonMelo123","id":18428146,"node_id":"MDQ6VXNlcjE4NDI4MTQ2","avatar_url":"https://avatars1.githubusercontent.com/u/18428146?v=4","gravatar_id":"","url":"https://api.github.com/users/AndersonMelo123","html_url":"https://github.com/AndersonMelo123","followers_url":"https://api.github.com/users/AndersonMelo123/followers","following_url":"https://api.github.com/users/AndersonMelo123/following{/other_user}","gists_url":"https://api.github.com/users/AndersonMelo123/gists{/gist_id}","starred_url":"https://api.github.com/users/AndersonMelo123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndersonMelo123/subscriptions","organizations_url":"https://api.github.com/users/AndersonMelo123/orgs","repos_url":"https://api.github.com/users/AndersonMelo123/repos","events_url":"https://api.github.com/users/AndersonMelo123/events{/privacy}","received_events_url":"https://api.github.com/users/AndersonMelo123/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndersonMelo123/ClinUP","description":null,"fork":false,"url":"https://api.github.com/repos/AndersonMelo123/ClinUP","forks_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/forks","keys_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/teams","hooks_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/hooks","issue_events_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/issues/events{/number}","events_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/events","assignees_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/assignees{/user}","branches_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/branches{/branch}","tags_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/tags","blobs_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/statuses/{sha}","languages_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/languages","stargazers_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/stargazers","contributors_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/contributors","subscribers_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/subscribers","subscription_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/subscription","commits_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/contents/{+path}","compare_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/merges","archive_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/downloads","issues_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/issues{/number}","pulls_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/pulls{/number}","milestones_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/milestones{/number}","notifications_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/labels{/name}","releases_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/releases{/id}","deployments_url":"https://api.github.com/repos/AndersonMelo123/ClinUP/deployments","created_at":"2018-05-15T12:40:45Z","updated_at":"2018-06-26T20:22:10Z","pushed_at":"2018-07-10T22:36:44Z","git_url":"git://github.com/AndersonMelo123/ClinUP.git","ssh_url":"git@github.com:AndersonMelo123/ClinUP.git","clone_url":"https://github.com/AndersonMelo123/ClinUP.git","svn_url":"https://github.com/AndersonMelo123/ClinUP","homepage":null,"size":581,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":4,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AndersonMelo123/ClinUP/pulls/4"},"html":{"href":"https://github.com/AndersonMelo123/ClinUP/pull/4"},"issue":{"href":"https://api.github.com/repos/AndersonMelo123/ClinUP/issues/4"},"comments":{"href":"https://api.github.com/repos/AndersonMelo123/ClinUP/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/AndersonMelo123/ClinUP/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/AndersonMelo123/ClinUP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AndersonMelo123/ClinUP/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/AndersonMelo123/ClinUP/statuses/3a6e97b667b14663cdfd65e26a57d3cf39d51e25"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"codacy-bot"}}