{"action":"created","comment":{"url":"https://api.github.com/repos/Prof-Calebe/substituicao/pulls/comments/88733533","pull_request_review_id":9301026,"id":88733533,"diff_hunk":"@@ -2,130 +2,127 @@\n  * To change this template, choose Tools | Templates\r\n  * and open the template in the editor.\r\n  */\r\n- \r\n package servico;\r\n \r\n import datamapper.AusenciaJpaController;\r\n import datamapper.ProfessorJpaController;\r\n import datamapper.exceptions.NonexistentEntityException;\r\n import dominio.Aula;\r\n import dominio.Ausencia;\r\n-import dominio.Professor;\r\n import java.util.ArrayList;\r\n-import modelo.ProfessorModel;\r\n import java.util.LinkedList;\r\n import java.util.List;\r\n import javax.persistence.EntityManagerFactory;\r\n import javax.persistence.Persistence;\r\n+import dominio.Professor;\r\n \r\n /**\r\n  *\r\n  * @author Rick\r\n  */\r\n public class ProfessorService {\r\n-    \r\n+\r\n     private final ProfessorJpaController controller;\r\n \r\n     private final AusenciaJpaController ausenciasRepository;\r\n-    \r\n-    public ProfessorService(){\r\n+\r\n+    public ProfessorService() {\r\n         EntityManagerFactory emf = Persistence.createEntityManagerFactory(\"pro_subPU\");\r\n         controller = new ProfessorJpaController(emf);\r\n         ausenciasRepository = new AusenciaJpaController(emf);\r\n     }\r\n-    \r\n-    \r\n-    public List<ProfessorModel> ListarProfessores(){\r\n+\r\n+    public List<Professor> ListarProfessores() {\r","path":"src/servico/ProfessorService.java","position":43,"original_position":43,"commit_id":"5f396adf70f6cfbfe09e496b8e027678916ef6d3","original_commit_id":"5f396adf70f6cfbfe09e496b8e027678916ef6d3","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 start with capital letters](https://www.codacy.com/app/calebepb/substituicao/file/4473540434/issues/source?bid=3364462&fileBranchId=3902241#l35)","created_at":"2016-11-18T20:29:52Z","updated_at":"2016-11-18T20:29:52Z","html_url":"https://github.com/Prof-Calebe/substituicao/pull/162#discussion_r88733533","pull_request_url":"https://api.github.com/repos/Prof-Calebe/substituicao/pulls/162","_links":{"self":{"href":"https://api.github.com/repos/Prof-Calebe/substituicao/pulls/comments/88733533"},"html":{"href":"https://github.com/Prof-Calebe/substituicao/pull/162#discussion_r88733533"},"pull_request":{"href":"https://api.github.com/repos/Prof-Calebe/substituicao/pulls/162"}}},"pull_request":{"url":"https://api.github.com/repos/Prof-Calebe/substituicao/pulls/162","id":93396014,"html_url":"https://github.com/Prof-Calebe/substituicao/pull/162","diff_url":"https://github.com/Prof-Calebe/substituicao/pull/162.diff","patch_url":"https://github.com/Prof-Calebe/substituicao/pull/162.patch","issue_url":"https://api.github.com/repos/Prof-Calebe/substituicao/issues/162","number":162,"state":"open","locked":false,"title":"Issue 12","user":{"login":"LeoFuso","id":20975821,"avatar_url":"https://avatars.githubusercontent.com/u/20975821?v=3","gravatar_id":"","url":"https://api.github.com/users/LeoFuso","html_url":"https://github.com/LeoFuso","followers_url":"https://api.github.com/users/LeoFuso/followers","following_url":"https://api.github.com/users/LeoFuso/following{/other_user}","gists_url":"https://api.github.com/users/LeoFuso/gists{/gist_id}","starred_url":"https://api.github.com/users/LeoFuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeoFuso/subscriptions","organizations_url":"https://api.github.com/users/LeoFuso/orgs","repos_url":"https://api.github.com/users/LeoFuso/repos","events_url":"https://api.github.com/users/LeoFuso/events{/privacy}","received_events_url":"https://api.github.com/users/LeoFuso/received_events","type":"User","site_admin":false},"body":"Inutilização do pacote Model. ","created_at":"2016-11-11T20:51:30Z","updated_at":"2016-11-18T20:29:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"224f73331a8852431d214d6fbe8babced43edc7e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Prof-Calebe/substituicao/pulls/162/commits","review_comments_url":"https://api.github.com/repos/Prof-Calebe/substituicao/pulls/162/comments","review_comment_url":"https://api.github.com/repos/Prof-Calebe/substituicao/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Prof-Calebe/substituicao/issues/162/comments","statuses_url":"https://api.github.com/repos/Prof-Calebe/substituicao/statuses/5f396adf70f6cfbfe09e496b8e027678916ef6d3","head":{"label":"Prof-Calebe:issue-12","ref":"issue-12","sha":"5f396adf70f6cfbfe09e496b8e027678916ef6d3","user":{"login":"Prof-Calebe","id":2390635,"avatar_url":"https://avatars.githubusercontent.com/u/2390635?v=3","gravatar_id":"","url":"https://api.github.com/users/Prof-Calebe","html_url":"https://github.com/Prof-Calebe","followers_url":"https://api.github.com/users/Prof-Calebe/followers","following_url":"https://api.github.com/users/Prof-Calebe/following{/other_user}","gists_url":"https://api.github.com/users/Prof-Calebe/gists{/gist_id}","starred_url":"https://api.github.com/users/Prof-Calebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prof-Calebe/subscriptions","organizations_url":"https://api.github.com/users/Prof-Calebe/orgs","repos_url":"https://api.github.com/users/Prof-Calebe/repos","events_url":"https://api.github.com/users/Prof-Calebe/events{/privacy}","received_events_url":"https://api.github.com/users/Prof-Calebe/received_events","type":"Organization","site_admin":false},"repo":{"id":12576034,"name":"substituicao","full_name":"Prof-Calebe/substituicao","owner":{"login":"Prof-Calebe","id":2390635,"avatar_url":"https://avatars.githubusercontent.com/u/2390635?v=3","gravatar_id":"","url":"https://api.github.com/users/Prof-Calebe","html_url":"https://github.com/Prof-Calebe","followers_url":"https://api.github.com/users/Prof-Calebe/followers","following_url":"https://api.github.com/users/Prof-Calebe/following{/other_user}","gists_url":"https://api.github.com/users/Prof-Calebe/gists{/gist_id}","starred_url":"https://api.github.com/users/Prof-Calebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prof-Calebe/subscriptions","organizations_url":"https://api.github.com/users/Prof-Calebe/orgs","repos_url":"https://api.github.com/users/Prof-Calebe/repos","events_url":"https://api.github.com/users/Prof-Calebe/events{/privacy}","received_events_url":"https://api.github.com/users/Prof-Calebe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Prof-Calebe/substituicao","description":"Sistema de controle de Substituição de Professores","fork":false,"url":"https://api.github.com/repos/Prof-Calebe/substituicao","forks_url":"https://api.github.com/repos/Prof-Calebe/substituicao/forks","keys_url":"https://api.github.com/repos/Prof-Calebe/substituicao/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Prof-Calebe/substituicao/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Prof-Calebe/substituicao/teams","hooks_url":"https://api.github.com/repos/Prof-Calebe/substituicao/hooks","issue_events_url":"https://api.github.com/repos/Prof-Calebe/substituicao/issues/events{/number}","events_url":"https://api.github.com/repos/Prof-Calebe/substituicao/events","assignees_url":"https://api.github.com/repos/Prof-Calebe/substituicao/assignees{/user}","branches_url":"https://api.github.com/repos/Prof-Calebe/substituicao/branches{/branch}","tags_url":"https://api.github.com/repos/Prof-Calebe/substituicao/tags","blobs_url":"https://api.github.com/repos/Prof-Calebe/substituicao/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Prof-Calebe/substituicao/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Prof-Calebe/substituicao/git/refs{/sha}","trees_url":"https://api.github.com/repos/Prof-Calebe/substituicao/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Prof-Calebe/substituicao/statuses/{sha}","languages_url":"https://api.github.com/repos/Prof-Calebe/substituicao/languages","stargazers_url":"https://api.github.com/repos/Prof-Calebe/substituicao/stargazers","contributors_url":"https://api.github.com/repos/Prof-Calebe/substituicao/contributors","subscribers_url":"https://api.github.com/repos/Prof-Calebe/substituicao/subscribers","subscription_url":"https://api.github.com/repos/Prof-Calebe/substituicao/subscription","commits_url":"https://api.github.com/repos/Prof-Calebe/substituicao/commits{/sha}","git_commits_url":"https://api.github.com/repos/Prof-Calebe/substituicao/git/commits{/sha}","comments_url":"https://api.github.com/repos/Prof-Calebe/substituicao/comments{/number}","issue_comment_url":"https://api.github.com/repos/Prof-Calebe/substituicao/issues/comments{/number}","contents_url":"https://api.github.com/repos/Prof-Calebe/substituicao/contents/{+path}","compare_url":"https://api.github.com/repos/Prof-Calebe/substituicao/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Prof-Calebe/substituicao/merges","archive_url":"https://api.github.com/repos/Prof-Calebe/substituicao/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Prof-Calebe/substituicao/downloads","issues_url":"https://api.github.com/repos/Prof-Calebe/substituicao/issues{/number}","pulls_url":"https://api.github.com/repos/Prof-Calebe/substituicao/pulls{/number}","milestones_url":"https://api.github.com/repos/Prof-Calebe/substituicao/milestones{/number}","notifications_url":"https://api.github.com/repos/Prof-Calebe/substituicao/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Prof-Calebe/substituicao/labels{/name}","releases_url":"https://api.github.com/repos/Prof-Calebe/substituicao/releases{/id}","deployments_url":"https://api.github.com/repos/Prof-Calebe/substituicao/deployments","created_at":"2013-09-03T22:04:32Z","updated_at":"2016-11-07T02:48:22Z","pushed_at":"2016-11-18T20:24:52Z","git_url":"git://github.com/Prof-Calebe/substituicao.git","ssh_url":"git@github.com:Prof-Calebe/substituicao.git","clone_url":"https://github.com/Prof-Calebe/substituicao.git","svn_url":"https://github.com/Prof-Calebe/substituicao","homepage":null,"size":9650,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":56,"forks":14,"open_issues":56,"watchers":4,"default_branch":"master"}},"base":{"label":"Prof-Calebe:dev","ref":"dev","sha":"413042ea1d644b99a114f8353fe8828897ef5463","user":{"login":"Prof-Calebe","id":2390635,"avatar_url":"https://avatars.githubusercontent.com/u/2390635?v=3","gravatar_id":"","url":"https://api.github.com/users/Prof-Calebe","html_url":"https://github.com/Prof-Calebe","followers_url":"https://api.github.com/users/Prof-Calebe/followers","following_url":"https://api.github.com/users/Prof-Calebe/following{/other_user}","gists_url":"https://api.github.com/users/Prof-Calebe/gists{/gist_id}","starred_url":"https://api.github.com/users/Prof-Calebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prof-Calebe/subscriptions","organizations_url":"https://api.github.com/users/Prof-Calebe/orgs","repos_url":"https://api.github.com/users/Prof-Calebe/repos","events_url":"https://api.github.com/users/Prof-Calebe/events{/privacy}","received_events_url":"https://api.github.com/users/Prof-Calebe/received_events","type":"Organization","site_admin":false},"repo":{"id":12576034,"name":"substituicao","full_name":"Prof-Calebe/substituicao","owner":{"login":"Prof-Calebe","id":2390635,"avatar_url":"https://avatars.githubusercontent.com/u/2390635?v=3","gravatar_id":"","url":"https://api.github.com/users/Prof-Calebe","html_url":"https://github.com/Prof-Calebe","followers_url":"https://api.github.com/users/Prof-Calebe/followers","following_url":"https://api.github.com/users/Prof-Calebe/following{/other_user}","gists_url":"https://api.github.com/users/Prof-Calebe/gists{/gist_id}","starred_url":"https://api.github.com/users/Prof-Calebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prof-Calebe/subscriptions","organizations_url":"https://api.github.com/users/Prof-Calebe/orgs","repos_url":"https://api.github.com/users/Prof-Calebe/repos","events_url":"https://api.github.com/users/Prof-Calebe/events{/privacy}","received_events_url":"https://api.github.com/users/Prof-Calebe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Prof-Calebe/substituicao","description":"Sistema de controle de Substituição de Professores","fork":false,"url":"https://api.github.com/repos/Prof-Calebe/substituicao","forks_url":"https://api.github.com/repos/Prof-Calebe/substituicao/forks","keys_url":"https://api.github.com/repos/Prof-Calebe/substituicao/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Prof-Calebe/substituicao/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Prof-Calebe/substituicao/teams","hooks_url":"https://api.github.com/repos/Prof-Calebe/substituicao/hooks","issue_events_url":"https://api.github.com/repos/Prof-Calebe/substituicao/issues/events{/number}","events_url":"https://api.github.com/repos/Prof-Calebe/substituicao/events","assignees_url":"https://api.github.com/repos/Prof-Calebe/substituicao/assignees{/user}","branches_url":"https://api.github.com/repos/Prof-Calebe/substituicao/branches{/branch}","tags_url":"https://api.github.com/repos/Prof-Calebe/substituicao/tags","blobs_url":"https://api.github.com/repos/Prof-Calebe/substituicao/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Prof-Calebe/substituicao/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Prof-Calebe/substituicao/git/refs{/sha}","trees_url":"https://api.github.com/repos/Prof-Calebe/substituicao/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Prof-Calebe/substituicao/statuses/{sha}","languages_url":"https://api.github.com/repos/Prof-Calebe/substituicao/languages","stargazers_url":"https://api.github.com/repos/Prof-Calebe/substituicao/stargazers","contributors_url":"https://api.github.com/repos/Prof-Calebe/substituicao/contributors","subscribers_url":"https://api.github.com/repos/Prof-Calebe/substituicao/subscribers","subscription_url":"https://api.github.com/repos/Prof-Calebe/substituicao/subscription","commits_url":"https://api.github.com/repos/Prof-Calebe/substituicao/commits{/sha}","git_commits_url":"https://api.github.com/repos/Prof-Calebe/substituicao/git/commits{/sha}","comments_url":"https://api.github.com/repos/Prof-Calebe/substituicao/comments{/number}","issue_comment_url":"https://api.github.com/repos/Prof-Calebe/substituicao/issues/comments{/number}","contents_url":"https://api.github.com/repos/Prof-Calebe/substituicao/contents/{+path}","compare_url":"https://api.github.com/repos/Prof-Calebe/substituicao/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Prof-Calebe/substituicao/merges","archive_url":"https://api.github.com/repos/Prof-Calebe/substituicao/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Prof-Calebe/substituicao/downloads","issues_url":"https://api.github.com/repos/Prof-Calebe/substituicao/issues{/number}","pulls_url":"https://api.github.com/repos/Prof-Calebe/substituicao/pulls{/number}","milestones_url":"https://api.github.com/repos/Prof-Calebe/substituicao/milestones{/number}","notifications_url":"https://api.github.com/repos/Prof-Calebe/substituicao/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Prof-Calebe/substituicao/labels{/name}","releases_url":"https://api.github.com/repos/Prof-Calebe/substituicao/releases{/id}","deployments_url":"https://api.github.com/repos/Prof-Calebe/substituicao/deployments","created_at":"2013-09-03T22:04:32Z","updated_at":"2016-11-07T02:48:22Z","pushed_at":"2016-11-18T20:24:52Z","git_url":"git://github.com/Prof-Calebe/substituicao.git","ssh_url":"git@github.com:Prof-Calebe/substituicao.git","clone_url":"https://github.com/Prof-Calebe/substituicao.git","svn_url":"https://github.com/Prof-Calebe/substituicao","homepage":null,"size":9650,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":56,"forks":14,"open_issues":56,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Prof-Calebe/substituicao/pulls/162"},"html":{"href":"https://github.com/Prof-Calebe/substituicao/pull/162"},"issue":{"href":"https://api.github.com/repos/Prof-Calebe/substituicao/issues/162"},"comments":{"href":"https://api.github.com/repos/Prof-Calebe/substituicao/issues/162/comments"},"review_comments":{"href":"https://api.github.com/repos/Prof-Calebe/substituicao/pulls/162/comments"},"review_comment":{"href":"https://api.github.com/repos/Prof-Calebe/substituicao/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Prof-Calebe/substituicao/pulls/162/commits"},"statuses":{"href":"https://api.github.com/repos/Prof-Calebe/substituicao/statuses/5f396adf70f6cfbfe09e496b8e027678916ef6d3"}}}}
{"actor":{"display_login":"codacy-bot"}}