{"action":"created","comment":{"url":"https://api.github.com/repos/npi-ufc-qxd/contest/pulls/comments/84887305","pull_request_review_id":5635428,"id":84887305,"diff_hunk":"@@ -0,0 +1,79 @@\n+package ufc.quixada.npi.contest.model;\n+\n+import java.util.HashMap;\n+import java.util.Map;\n+\n+public class Email {\n+\n+\tprivate String nomeDestinatario;\n+\tprivate Map<String, String> enderecosDestinatarios;\n+\tprivate String corpo;\n+\tprivate String assunto;\n+\tprivate String nomeEvento;\n+\t\n+\t   private Email(EmailBuilder builder) {\n+\t\t   \t      this.nomeDestinatario = builder.nomeDestinatario;\n+\t\t   \t      this.nomeEvento = builder.nomeEvento;\n+\t\t   \t      this.corpo = builder.corpo;\n+\t\t   \t      this.assunto = builder.assunto;\n+\t\t   \t      this.enderecosDestinatarios = builder.enderecosDestinatarios;\n+\t\t   \t    }\n+\tpublic String getNomeEvento() {\n+\t\treturn nomeEvento;\n+\t}\n+\tpublic void setNomeEvento(String nome) {\n+\t\tthis.nomeEvento = nome;\n+\t}\n+\tpublic String getNomeConvidado() {\n+\t\treturn nomeDestinatario;\n+\t}\n+\tpublic void setNomeConvidado(String nomeConvidado) {\n+\t\tthis.nomeDestinatario = nomeConvidado;\n+\t}\n+\tpublic Map<String, String> getEnderecosDestinatarios() {\n+\t\treturn enderecosDestinatarios;\n+\t}\n+\tpublic void setEnderecoDestinatario(String email, String nome) {\n+\t\t for (String key : this.enderecosDestinatarios.keySet()) {\n+             if(email.equals(this.enderecosDestinatarios.get(key))){\n+                  this.enderecosDestinatarios.put(email, nome);\n+             }\n+\t\t}\n+\t}\n+\tpublic String getCorpo() {\n+\t\treturn corpo;\n+\t}\n+\tpublic void setCorpo(String texto) {\n+\t\tthis.corpo = texto;\n+\t}\n+\tpublic String getAssunto() {\n+\t\treturn assunto;\n+\t}\n+\tpublic void setAssunto(String titulo) {\n+\t\tthis.assunto = titulo;\n+\t}\n+\t\n+  public static class EmailBuilder {\n+  \t        private String nomeDestinatario;\n+  \t        private String assunto;\n+  \t        private String corpo;\n+  \t        private String nomeEvento;\n+  \t        private Map<String, String> enderecosDestinatarios = new HashMap<String,String>();\n+  \n+  \t        public EmailBuilder(String nome, String assunto, String email, String corpo, String nomeEvento) {\n+  \t        \tthis.nomeDestinatario = nome;\n+  \t        \tthis.assunto = assunto;\n+  \t        \tthis.enderecosDestinatarios.put(email, nome);\n+  \t        \tthis.corpo = corpo;\n+  \t        }\n+  \t        public EmailBuilder email_destinatario(String nome_destinario, String email_destinatario) {","path":"aplicacao/contest/src/main/java/ufc/quixada/npi/contest/model/Email.java","position":69,"original_position":69,"commit_id":"dcf8a8231c1c7399792ad2bd5aad09c940195bd4","original_commit_id":"dcf8a8231c1c7399792ad2bd5aad09c940195bd4","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","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://www.codacy.com/assets/images/favicon.png) Issue found: [Method names should not contain underscores](https://www.codacy.com/app/NPI-UFC/contest/file/4277200432/issues/source?bid=3361960&fileBranchId=3748767#l69)","created_at":"2016-10-25T12:10:00Z","updated_at":"2016-10-25T12:10:00Z","html_url":"https://github.com/npi-ufc-qxd/contest/pull/24#discussion_r84887305","pull_request_url":"https://api.github.com/repos/npi-ufc-qxd/contest/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/npi-ufc-qxd/contest/pulls/comments/84887305"},"html":{"href":"https://github.com/npi-ufc-qxd/contest/pull/24#discussion_r84887305"},"pull_request":{"href":"https://api.github.com/repos/npi-ufc-qxd/contest/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/npi-ufc-qxd/contest/pulls/24","id":86922554,"html_url":"https://github.com/npi-ufc-qxd/contest/pull/24","diff_url":"https://github.com/npi-ufc-qxd/contest/pull/24.diff","patch_url":"https://github.com/npi-ufc-qxd/contest/pull/24.patch","issue_url":"https://api.github.com/repos/npi-ufc-qxd/contest/issues/24","number":24,"state":"open","locked":false,"title":"Funcionalidade de Enviar email para participante visão organizador","user":{"login":"RobsonCN2015","id":11152633,"avatar_url":"https://avatars.githubusercontent.com/u/11152633?v=3","gravatar_id":"","url":"https://api.github.com/users/RobsonCN2015","html_url":"https://github.com/RobsonCN2015","followers_url":"https://api.github.com/users/RobsonCN2015/followers","following_url":"https://api.github.com/users/RobsonCN2015/following{/other_user}","gists_url":"https://api.github.com/users/RobsonCN2015/gists{/gist_id}","starred_url":"https://api.github.com/users/RobsonCN2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobsonCN2015/subscriptions","organizations_url":"https://api.github.com/users/RobsonCN2015/orgs","repos_url":"https://api.github.com/users/RobsonCN2015/repos","events_url":"https://api.github.com/users/RobsonCN2015/events{/privacy}","received_events_url":"https://api.github.com/users/RobsonCN2015/received_events","type":"User","site_admin":false},"body":"Terminada, Adição das classes ConvidarEmailService e Email, controller\r\npara envio. Abs: \"Foi Adicionado um link no botão convidar na pagina de\r\neventos ativos do organizador para link com o formulário de email\"\r\n\r\nNão realizado a configuração do servidor de email da universidade, deve\r\nser realizado quando não estiver em teste.","created_at":"2016-09-27T12:47:05Z","updated_at":"2016-10-25T12:10:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba3f77445f4412a93902aaa7e0f622316502a6ec","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/npi-ufc-qxd/contest/pulls/24/commits","review_comments_url":"https://api.github.com/repos/npi-ufc-qxd/contest/pulls/24/comments","review_comment_url":"https://api.github.com/repos/npi-ufc-qxd/contest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/npi-ufc-qxd/contest/issues/24/comments","statuses_url":"https://api.github.com/repos/npi-ufc-qxd/contest/statuses/dcf8a8231c1c7399792ad2bd5aad09c940195bd4","head":{"label":"npi-ufc-qxd:convidarParticipantePorEmail","ref":"convidarParticipantePorEmail","sha":"dcf8a8231c1c7399792ad2bd5aad09c940195bd4","user":{"login":"npi-ufc-qxd","id":6740262,"avatar_url":"https://avatars.githubusercontent.com/u/6740262?v=3","gravatar_id":"","url":"https://api.github.com/users/npi-ufc-qxd","html_url":"https://github.com/npi-ufc-qxd","followers_url":"https://api.github.com/users/npi-ufc-qxd/followers","following_url":"https://api.github.com/users/npi-ufc-qxd/following{/other_user}","gists_url":"https://api.github.com/users/npi-ufc-qxd/gists{/gist_id}","starred_url":"https://api.github.com/users/npi-ufc-qxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npi-ufc-qxd/subscriptions","organizations_url":"https://api.github.com/users/npi-ufc-qxd/orgs","repos_url":"https://api.github.com/users/npi-ufc-qxd/repos","events_url":"https://api.github.com/users/npi-ufc-qxd/events{/privacy}","received_events_url":"https://api.github.com/users/npi-ufc-qxd/received_events","type":"Organization","site_admin":false},"repo":{"id":61163771,"name":"contest","full_name":"npi-ufc-qxd/contest","owner":{"login":"npi-ufc-qxd","id":6740262,"avatar_url":"https://avatars.githubusercontent.com/u/6740262?v=3","gravatar_id":"","url":"https://api.github.com/users/npi-ufc-qxd","html_url":"https://github.com/npi-ufc-qxd","followers_url":"https://api.github.com/users/npi-ufc-qxd/followers","following_url":"https://api.github.com/users/npi-ufc-qxd/following{/other_user}","gists_url":"https://api.github.com/users/npi-ufc-qxd/gists{/gist_id}","starred_url":"https://api.github.com/users/npi-ufc-qxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npi-ufc-qxd/subscriptions","organizations_url":"https://api.github.com/users/npi-ufc-qxd/orgs","repos_url":"https://api.github.com/users/npi-ufc-qxd/repos","events_url":"https://api.github.com/users/npi-ufc-qxd/events{/privacy}","received_events_url":"https://api.github.com/users/npi-ufc-qxd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/npi-ufc-qxd/contest","description":"Sistema de Controle de Eventos de Submissão","fork":false,"url":"https://api.github.com/repos/npi-ufc-qxd/contest","forks_url":"https://api.github.com/repos/npi-ufc-qxd/contest/forks","keys_url":"https://api.github.com/repos/npi-ufc-qxd/contest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/npi-ufc-qxd/contest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/npi-ufc-qxd/contest/teams","hooks_url":"https://api.github.com/repos/npi-ufc-qxd/contest/hooks","issue_events_url":"https://api.github.com/repos/npi-ufc-qxd/contest/issues/events{/number}","events_url":"https://api.github.com/repos/npi-ufc-qxd/contest/events","assignees_url":"https://api.github.com/repos/npi-ufc-qxd/contest/assignees{/user}","branches_url":"https://api.github.com/repos/npi-ufc-qxd/contest/branches{/branch}","tags_url":"https://api.github.com/repos/npi-ufc-qxd/contest/tags","blobs_url":"https://api.github.com/repos/npi-ufc-qxd/contest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/npi-ufc-qxd/contest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/npi-ufc-qxd/contest/git/refs{/sha}","trees_url":"https://api.github.com/repos/npi-ufc-qxd/contest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/npi-ufc-qxd/contest/statuses/{sha}","languages_url":"https://api.github.com/repos/npi-ufc-qxd/contest/languages","stargazers_url":"https://api.github.com/repos/npi-ufc-qxd/contest/stargazers","contributors_url":"https://api.github.com/repos/npi-ufc-qxd/contest/contributors","subscribers_url":"https://api.github.com/repos/npi-ufc-qxd/contest/subscribers","subscription_url":"https://api.github.com/repos/npi-ufc-qxd/contest/subscription","commits_url":"https://api.github.com/repos/npi-ufc-qxd/contest/commits{/sha}","git_commits_url":"https://api.github.com/repos/npi-ufc-qxd/contest/git/commits{/sha}","comments_url":"https://api.github.com/repos/npi-ufc-qxd/contest/comments{/number}","issue_comment_url":"https://api.github.com/repos/npi-ufc-qxd/contest/issues/comments{/number}","contents_url":"https://api.github.com/repos/npi-ufc-qxd/contest/contents/{+path}","compare_url":"https://api.github.com/repos/npi-ufc-qxd/contest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/npi-ufc-qxd/contest/merges","archive_url":"https://api.github.com/repos/npi-ufc-qxd/contest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/npi-ufc-qxd/contest/downloads","issues_url":"https://api.github.com/repos/npi-ufc-qxd/contest/issues{/number}","pulls_url":"https://api.github.com/repos/npi-ufc-qxd/contest/pulls{/number}","milestones_url":"https://api.github.com/repos/npi-ufc-qxd/contest/milestones{/number}","notifications_url":"https://api.github.com/repos/npi-ufc-qxd/contest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/npi-ufc-qxd/contest/labels{/name}","releases_url":"https://api.github.com/repos/npi-ufc-qxd/contest/releases{/id}","deployments_url":"https://api.github.com/repos/npi-ufc-qxd/contest/deployments","created_at":"2016-06-14T23:52:12Z","updated_at":"2016-09-12T12:10:37Z","pushed_at":"2016-10-25T12:06:33Z","git_url":"git://github.com/npi-ufc-qxd/contest.git","ssh_url":"git@github.com:npi-ufc-qxd/contest.git","clone_url":"https://github.com/npi-ufc-qxd/contest.git","svn_url":"https://github.com/npi-ufc-qxd/contest","homepage":null,"size":4346,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"npi-ufc-qxd:master","ref":"master","sha":"e267f047cbd39f74889c41d935072318fa401de7","user":{"login":"npi-ufc-qxd","id":6740262,"avatar_url":"https://avatars.githubusercontent.com/u/6740262?v=3","gravatar_id":"","url":"https://api.github.com/users/npi-ufc-qxd","html_url":"https://github.com/npi-ufc-qxd","followers_url":"https://api.github.com/users/npi-ufc-qxd/followers","following_url":"https://api.github.com/users/npi-ufc-qxd/following{/other_user}","gists_url":"https://api.github.com/users/npi-ufc-qxd/gists{/gist_id}","starred_url":"https://api.github.com/users/npi-ufc-qxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npi-ufc-qxd/subscriptions","organizations_url":"https://api.github.com/users/npi-ufc-qxd/orgs","repos_url":"https://api.github.com/users/npi-ufc-qxd/repos","events_url":"https://api.github.com/users/npi-ufc-qxd/events{/privacy}","received_events_url":"https://api.github.com/users/npi-ufc-qxd/received_events","type":"Organization","site_admin":false},"repo":{"id":61163771,"name":"contest","full_name":"npi-ufc-qxd/contest","owner":{"login":"npi-ufc-qxd","id":6740262,"avatar_url":"https://avatars.githubusercontent.com/u/6740262?v=3","gravatar_id":"","url":"https://api.github.com/users/npi-ufc-qxd","html_url":"https://github.com/npi-ufc-qxd","followers_url":"https://api.github.com/users/npi-ufc-qxd/followers","following_url":"https://api.github.com/users/npi-ufc-qxd/following{/other_user}","gists_url":"https://api.github.com/users/npi-ufc-qxd/gists{/gist_id}","starred_url":"https://api.github.com/users/npi-ufc-qxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npi-ufc-qxd/subscriptions","organizations_url":"https://api.github.com/users/npi-ufc-qxd/orgs","repos_url":"https://api.github.com/users/npi-ufc-qxd/repos","events_url":"https://api.github.com/users/npi-ufc-qxd/events{/privacy}","received_events_url":"https://api.github.com/users/npi-ufc-qxd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/npi-ufc-qxd/contest","description":"Sistema de Controle de Eventos de Submissão","fork":false,"url":"https://api.github.com/repos/npi-ufc-qxd/contest","forks_url":"https://api.github.com/repos/npi-ufc-qxd/contest/forks","keys_url":"https://api.github.com/repos/npi-ufc-qxd/contest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/npi-ufc-qxd/contest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/npi-ufc-qxd/contest/teams","hooks_url":"https://api.github.com/repos/npi-ufc-qxd/contest/hooks","issue_events_url":"https://api.github.com/repos/npi-ufc-qxd/contest/issues/events{/number}","events_url":"https://api.github.com/repos/npi-ufc-qxd/contest/events","assignees_url":"https://api.github.com/repos/npi-ufc-qxd/contest/assignees{/user}","branches_url":"https://api.github.com/repos/npi-ufc-qxd/contest/branches{/branch}","tags_url":"https://api.github.com/repos/npi-ufc-qxd/contest/tags","blobs_url":"https://api.github.com/repos/npi-ufc-qxd/contest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/npi-ufc-qxd/contest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/npi-ufc-qxd/contest/git/refs{/sha}","trees_url":"https://api.github.com/repos/npi-ufc-qxd/contest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/npi-ufc-qxd/contest/statuses/{sha}","languages_url":"https://api.github.com/repos/npi-ufc-qxd/contest/languages","stargazers_url":"https://api.github.com/repos/npi-ufc-qxd/contest/stargazers","contributors_url":"https://api.github.com/repos/npi-ufc-qxd/contest/contributors","subscribers_url":"https://api.github.com/repos/npi-ufc-qxd/contest/subscribers","subscription_url":"https://api.github.com/repos/npi-ufc-qxd/contest/subscription","commits_url":"https://api.github.com/repos/npi-ufc-qxd/contest/commits{/sha}","git_commits_url":"https://api.github.com/repos/npi-ufc-qxd/contest/git/commits{/sha}","comments_url":"https://api.github.com/repos/npi-ufc-qxd/contest/comments{/number}","issue_comment_url":"https://api.github.com/repos/npi-ufc-qxd/contest/issues/comments{/number}","contents_url":"https://api.github.com/repos/npi-ufc-qxd/contest/contents/{+path}","compare_url":"https://api.github.com/repos/npi-ufc-qxd/contest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/npi-ufc-qxd/contest/merges","archive_url":"https://api.github.com/repos/npi-ufc-qxd/contest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/npi-ufc-qxd/contest/downloads","issues_url":"https://api.github.com/repos/npi-ufc-qxd/contest/issues{/number}","pulls_url":"https://api.github.com/repos/npi-ufc-qxd/contest/pulls{/number}","milestones_url":"https://api.github.com/repos/npi-ufc-qxd/contest/milestones{/number}","notifications_url":"https://api.github.com/repos/npi-ufc-qxd/contest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/npi-ufc-qxd/contest/labels{/name}","releases_url":"https://api.github.com/repos/npi-ufc-qxd/contest/releases{/id}","deployments_url":"https://api.github.com/repos/npi-ufc-qxd/contest/deployments","created_at":"2016-06-14T23:52:12Z","updated_at":"2016-09-12T12:10:37Z","pushed_at":"2016-10-25T12:06:33Z","git_url":"git://github.com/npi-ufc-qxd/contest.git","ssh_url":"git@github.com:npi-ufc-qxd/contest.git","clone_url":"https://github.com/npi-ufc-qxd/contest.git","svn_url":"https://github.com/npi-ufc-qxd/contest","homepage":null,"size":4346,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/npi-ufc-qxd/contest/pulls/24"},"html":{"href":"https://github.com/npi-ufc-qxd/contest/pull/24"},"issue":{"href":"https://api.github.com/repos/npi-ufc-qxd/contest/issues/24"},"comments":{"href":"https://api.github.com/repos/npi-ufc-qxd/contest/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/npi-ufc-qxd/contest/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/npi-ufc-qxd/contest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/npi-ufc-qxd/contest/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/npi-ufc-qxd/contest/statuses/dcf8a8231c1c7399792ad2bd5aad09c940195bd4"}}}}
{"actor":{"display_login":"codacy-bot"}}