{"action":"created","comment":{"url":"https://api.github.com/repos/ericdallo/AlucarWeb/pulls/comments/41952864","id":41952864,"diff_hunk":"@@ -40,7 +40,7 @@ public void delete(Long id) {\n \t}\n \n \tpublic List<CarSpecification> findByState(StatesBr state) {\n-\t\tString jpql = \"SELECT new \" + CarSpecification.class.getName() + \"(c.id, c.model, c.manufacturer)\"","path":"src/main/java/com/alucarweb/dao/CarDao.java","position":4,"original_position":4,"commit_id":"b7931e41c13ba4c9f753b097b7025754887e9980","original_commit_id":"b7931e41c13ba4c9f753b097b7025754887e9980","user":{"login":"ericdallo","id":7820865,"avatar_url":"https://avatars.githubusercontent.com/u/7820865?v=3","gravatar_id":"","url":"https://api.github.com/users/ericdallo","html_url":"https://github.com/ericdallo","followers_url":"https://api.github.com/users/ericdallo/followers","following_url":"https://api.github.com/users/ericdallo/following{/other_user}","gists_url":"https://api.github.com/users/ericdallo/gists{/gist_id}","starred_url":"https://api.github.com/users/ericdallo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericdallo/subscriptions","organizations_url":"https://api.github.com/users/ericdallo/orgs","repos_url":"https://api.github.com/users/ericdallo/repos","events_url":"https://api.github.com/users/ericdallo/events{/privacy}","received_events_url":"https://api.github.com/users/ericdallo/received_events","type":"User","site_admin":false},"body":"exato\r\n","created_at":"2015-10-14T03:57:15Z","updated_at":"2015-10-14T03:57:15Z","html_url":"https://github.com/ericdallo/AlucarWeb/pull/20#discussion_r41952864","pull_request_url":"https://api.github.com/repos/ericdallo/AlucarWeb/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/ericdallo/AlucarWeb/pulls/comments/41952864"},"html":{"href":"https://github.com/ericdallo/AlucarWeb/pull/20#discussion_r41952864"},"pull_request":{"href":"https://api.github.com/repos/ericdallo/AlucarWeb/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/ericdallo/AlucarWeb/pulls/20","id":47599884,"html_url":"https://github.com/ericdallo/AlucarWeb/pull/20","diff_url":"https://github.com/ericdallo/AlucarWeb/pull/20.diff","patch_url":"https://github.com/ericdallo/AlucarWeb/pull/20.patch","issue_url":"https://api.github.com/repos/ericdallo/AlucarWeb/issues/20","number":20,"state":"open","locked":false,"title":"[Corrige Consulta no DAO para o JSON] - Corrige endpoint para listagem de CarSpecification","user":{"login":"ericdallo","id":7820865,"avatar_url":"https://avatars.githubusercontent.com/u/7820865?v=3","gravatar_id":"","url":"https://api.github.com/users/ericdallo","html_url":"https://github.com/ericdallo","followers_url":"https://api.github.com/users/ericdallo/followers","following_url":"https://api.github.com/users/ericdallo/following{/other_user}","gists_url":"https://api.github.com/users/ericdallo/gists{/gist_id}","starred_url":"https://api.github.com/users/ericdallo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericdallo/subscriptions","organizations_url":"https://api.github.com/users/ericdallo/orgs","repos_url":"https://api.github.com/users/ericdallo/repos","events_url":"https://api.github.com/users/ericdallo/events{/privacy}","received_events_url":"https://api.github.com/users/ericdallo/received_events","type":"User","site_admin":false},"body":"@ericdallo\r\n\r\nEsta branch corrige a listagem de Modelos e Fabricantes que estavam quebrando devido ao select de um ID que não era utilizado.\r\n\r\n### TO TEST \r\n\r\n- [ ] Checar se o endpoint ``/automoveis/json/{state}`` está retornando o JSON correto.","created_at":"2015-10-13T23:00:32Z","updated_at":"2015-10-14T03:57:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0de9023179099073bb5853b30b9b1d914f02b9a6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ericdallo/AlucarWeb/pulls/20/commits","review_comments_url":"https://api.github.com/repos/ericdallo/AlucarWeb/pulls/20/comments","review_comment_url":"https://api.github.com/repos/ericdallo/AlucarWeb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ericdallo/AlucarWeb/issues/20/comments","statuses_url":"https://api.github.com/repos/ericdallo/AlucarWeb/statuses/b7931e41c13ba4c9f753b097b7025754887e9980","head":{"label":"ericdallo:fix-json-list","ref":"fix-json-list","sha":"b7931e41c13ba4c9f753b097b7025754887e9980","user":{"login":"ericdallo","id":7820865,"avatar_url":"https://avatars.githubusercontent.com/u/7820865?v=3","gravatar_id":"","url":"https://api.github.com/users/ericdallo","html_url":"https://github.com/ericdallo","followers_url":"https://api.github.com/users/ericdallo/followers","following_url":"https://api.github.com/users/ericdallo/following{/other_user}","gists_url":"https://api.github.com/users/ericdallo/gists{/gist_id}","starred_url":"https://api.github.com/users/ericdallo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericdallo/subscriptions","organizations_url":"https://api.github.com/users/ericdallo/orgs","repos_url":"https://api.github.com/users/ericdallo/repos","events_url":"https://api.github.com/users/ericdallo/events{/privacy}","received_events_url":"https://api.github.com/users/ericdallo/received_events","type":"User","site_admin":false},"repo":{"id":40451532,"name":"AlucarWeb","full_name":"ericdallo/AlucarWeb","owner":{"login":"ericdallo","id":7820865,"avatar_url":"https://avatars.githubusercontent.com/u/7820865?v=3","gravatar_id":"","url":"https://api.github.com/users/ericdallo","html_url":"https://github.com/ericdallo","followers_url":"https://api.github.com/users/ericdallo/followers","following_url":"https://api.github.com/users/ericdallo/following{/other_user}","gists_url":"https://api.github.com/users/ericdallo/gists{/gist_id}","starred_url":"https://api.github.com/users/ericdallo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericdallo/subscriptions","organizations_url":"https://api.github.com/users/ericdallo/orgs","repos_url":"https://api.github.com/users/ericdallo/repos","events_url":"https://api.github.com/users/ericdallo/events{/privacy}","received_events_url":"https://api.github.com/users/ericdallo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ericdallo/AlucarWeb","description":"Projeto 3ACPN - USJT","fork":false,"url":"https://api.github.com/repos/ericdallo/AlucarWeb","forks_url":"https://api.github.com/repos/ericdallo/AlucarWeb/forks","keys_url":"https://api.github.com/repos/ericdallo/AlucarWeb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericdallo/AlucarWeb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericdallo/AlucarWeb/teams","hooks_url":"https://api.github.com/repos/ericdallo/AlucarWeb/hooks","issue_events_url":"https://api.github.com/repos/ericdallo/AlucarWeb/issues/events{/number}","events_url":"https://api.github.com/repos/ericdallo/AlucarWeb/events","assignees_url":"https://api.github.com/repos/ericdallo/AlucarWeb/assignees{/user}","branches_url":"https://api.github.com/repos/ericdallo/AlucarWeb/branches{/branch}","tags_url":"https://api.github.com/repos/ericdallo/AlucarWeb/tags","blobs_url":"https://api.github.com/repos/ericdallo/AlucarWeb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericdallo/AlucarWeb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericdallo/AlucarWeb/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericdallo/AlucarWeb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericdallo/AlucarWeb/statuses/{sha}","languages_url":"https://api.github.com/repos/ericdallo/AlucarWeb/languages","stargazers_url":"https://api.github.com/repos/ericdallo/AlucarWeb/stargazers","contributors_url":"https://api.github.com/repos/ericdallo/AlucarWeb/contributors","subscribers_url":"https://api.github.com/repos/ericdallo/AlucarWeb/subscribers","subscription_url":"https://api.github.com/repos/ericdallo/AlucarWeb/subscription","commits_url":"https://api.github.com/repos/ericdallo/AlucarWeb/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericdallo/AlucarWeb/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericdallo/AlucarWeb/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericdallo/AlucarWeb/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericdallo/AlucarWeb/contents/{+path}","compare_url":"https://api.github.com/repos/ericdallo/AlucarWeb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericdallo/AlucarWeb/merges","archive_url":"https://api.github.com/repos/ericdallo/AlucarWeb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericdallo/AlucarWeb/downloads","issues_url":"https://api.github.com/repos/ericdallo/AlucarWeb/issues{/number}","pulls_url":"https://api.github.com/repos/ericdallo/AlucarWeb/pulls{/number}","milestones_url":"https://api.github.com/repos/ericdallo/AlucarWeb/milestones{/number}","notifications_url":"https://api.github.com/repos/ericdallo/AlucarWeb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericdallo/AlucarWeb/labels{/name}","releases_url":"https://api.github.com/repos/ericdallo/AlucarWeb/releases{/id}","created_at":"2015-08-09T21:42:39Z","updated_at":"2015-10-14T03:40:39Z","pushed_at":"2015-10-14T03:47:59Z","git_url":"git://github.com/ericdallo/AlucarWeb.git","ssh_url":"git@github.com:ericdallo/AlucarWeb.git","clone_url":"https://github.com/ericdallo/AlucarWeb.git","svn_url":"https://github.com/ericdallo/AlucarWeb","homepage":"http:/54.149.239.201:8080/AlucarWeb/","size":9520,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ericdallo:master","ref":"master","sha":"ba2a31381013584f0cbc0c36a480b2e5f7aaedd5","user":{"login":"ericdallo","id":7820865,"avatar_url":"https://avatars.githubusercontent.com/u/7820865?v=3","gravatar_id":"","url":"https://api.github.com/users/ericdallo","html_url":"https://github.com/ericdallo","followers_url":"https://api.github.com/users/ericdallo/followers","following_url":"https://api.github.com/users/ericdallo/following{/other_user}","gists_url":"https://api.github.com/users/ericdallo/gists{/gist_id}","starred_url":"https://api.github.com/users/ericdallo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericdallo/subscriptions","organizations_url":"https://api.github.com/users/ericdallo/orgs","repos_url":"https://api.github.com/users/ericdallo/repos","events_url":"https://api.github.com/users/ericdallo/events{/privacy}","received_events_url":"https://api.github.com/users/ericdallo/received_events","type":"User","site_admin":false},"repo":{"id":40451532,"name":"AlucarWeb","full_name":"ericdallo/AlucarWeb","owner":{"login":"ericdallo","id":7820865,"avatar_url":"https://avatars.githubusercontent.com/u/7820865?v=3","gravatar_id":"","url":"https://api.github.com/users/ericdallo","html_url":"https://github.com/ericdallo","followers_url":"https://api.github.com/users/ericdallo/followers","following_url":"https://api.github.com/users/ericdallo/following{/other_user}","gists_url":"https://api.github.com/users/ericdallo/gists{/gist_id}","starred_url":"https://api.github.com/users/ericdallo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericdallo/subscriptions","organizations_url":"https://api.github.com/users/ericdallo/orgs","repos_url":"https://api.github.com/users/ericdallo/repos","events_url":"https://api.github.com/users/ericdallo/events{/privacy}","received_events_url":"https://api.github.com/users/ericdallo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ericdallo/AlucarWeb","description":"Projeto 3ACPN - USJT","fork":false,"url":"https://api.github.com/repos/ericdallo/AlucarWeb","forks_url":"https://api.github.com/repos/ericdallo/AlucarWeb/forks","keys_url":"https://api.github.com/repos/ericdallo/AlucarWeb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericdallo/AlucarWeb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericdallo/AlucarWeb/teams","hooks_url":"https://api.github.com/repos/ericdallo/AlucarWeb/hooks","issue_events_url":"https://api.github.com/repos/ericdallo/AlucarWeb/issues/events{/number}","events_url":"https://api.github.com/repos/ericdallo/AlucarWeb/events","assignees_url":"https://api.github.com/repos/ericdallo/AlucarWeb/assignees{/user}","branches_url":"https://api.github.com/repos/ericdallo/AlucarWeb/branches{/branch}","tags_url":"https://api.github.com/repos/ericdallo/AlucarWeb/tags","blobs_url":"https://api.github.com/repos/ericdallo/AlucarWeb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericdallo/AlucarWeb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericdallo/AlucarWeb/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericdallo/AlucarWeb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericdallo/AlucarWeb/statuses/{sha}","languages_url":"https://api.github.com/repos/ericdallo/AlucarWeb/languages","stargazers_url":"https://api.github.com/repos/ericdallo/AlucarWeb/stargazers","contributors_url":"https://api.github.com/repos/ericdallo/AlucarWeb/contributors","subscribers_url":"https://api.github.com/repos/ericdallo/AlucarWeb/subscribers","subscription_url":"https://api.github.com/repos/ericdallo/AlucarWeb/subscription","commits_url":"https://api.github.com/repos/ericdallo/AlucarWeb/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericdallo/AlucarWeb/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericdallo/AlucarWeb/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericdallo/AlucarWeb/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericdallo/AlucarWeb/contents/{+path}","compare_url":"https://api.github.com/repos/ericdallo/AlucarWeb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericdallo/AlucarWeb/merges","archive_url":"https://api.github.com/repos/ericdallo/AlucarWeb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericdallo/AlucarWeb/downloads","issues_url":"https://api.github.com/repos/ericdallo/AlucarWeb/issues{/number}","pulls_url":"https://api.github.com/repos/ericdallo/AlucarWeb/pulls{/number}","milestones_url":"https://api.github.com/repos/ericdallo/AlucarWeb/milestones{/number}","notifications_url":"https://api.github.com/repos/ericdallo/AlucarWeb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericdallo/AlucarWeb/labels{/name}","releases_url":"https://api.github.com/repos/ericdallo/AlucarWeb/releases{/id}","created_at":"2015-08-09T21:42:39Z","updated_at":"2015-10-14T03:40:39Z","pushed_at":"2015-10-14T03:47:59Z","git_url":"git://github.com/ericdallo/AlucarWeb.git","ssh_url":"git@github.com:ericdallo/AlucarWeb.git","clone_url":"https://github.com/ericdallo/AlucarWeb.git","svn_url":"https://github.com/ericdallo/AlucarWeb","homepage":"http:/54.149.239.201:8080/AlucarWeb/","size":9520,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ericdallo/AlucarWeb/pulls/20"},"html":{"href":"https://github.com/ericdallo/AlucarWeb/pull/20"},"issue":{"href":"https://api.github.com/repos/ericdallo/AlucarWeb/issues/20"},"comments":{"href":"https://api.github.com/repos/ericdallo/AlucarWeb/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/ericdallo/AlucarWeb/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/ericdallo/AlucarWeb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ericdallo/AlucarWeb/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/ericdallo/AlucarWeb/statuses/b7931e41c13ba4c9f753b097b7025754887e9980"}}}}