{"action":"created","comment":{"url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/pulls/comments/202060347","pull_request_review_id":136682438,"id":202060347,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjA2MDM0Nw==","diff_hunk":"@@ -20,13 +20,26 @@ public ClasseService(ClasseRepository classeRepository) {\n \tpublic List<Classe> lister() {\n \t\treturn classeRepository.findAll();\n \t}\n+\n \tpublic void ajouter(Classe classe) {\n \t\tclasseRepository.save(classe);\n \t}\n \n-\tpublic void maj() {\n+\tpublic void maj(Classe classe) {\n+\t\tclasseRepository.update(classe);\n+\t}\n+\n+\tpublic void supprimer(Classe classe) {\n+\t\tclasseRepository.delete(classe);\n \t}\n \n-\tpublic void supprimer() {\n+\tpublic Classe trouverClasseParId(Long id) {\n+\t\tfor (Classe c : lister()) {\n+\t\t\tif (c.getId() == id) {","path":"src/main/java/dev/metiers/ClasseService.java","position":21,"original_position":21,"commit_id":"8beca922b1205a484c4a03f1f337145c671136d9","original_commit_id":"8beca922b1205a484c4a03f1f337145c671136d9","user":{"login":"nKaczmarek","id":39953594,"node_id":"MDQ6VXNlcjM5OTUzNTk0","avatar_url":"https://avatars0.githubusercontent.com/u/39953594?v=4","gravatar_id":"","url":"https://api.github.com/users/nKaczmarek","html_url":"https://github.com/nKaczmarek","followers_url":"https://api.github.com/users/nKaczmarek/followers","following_url":"https://api.github.com/users/nKaczmarek/following{/other_user}","gists_url":"https://api.github.com/users/nKaczmarek/gists{/gist_id}","starred_url":"https://api.github.com/users/nKaczmarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nKaczmarek/subscriptions","organizations_url":"https://api.github.com/users/nKaczmarek/orgs","repos_url":"https://api.github.com/users/nKaczmarek/repos","events_url":"https://api.github.com/users/nKaczmarek/events{/privacy}","received_events_url":"https://api.github.com/users/nKaczmarek/received_events","type":"User","site_admin":false},"body":"utiliser equals","created_at":"2018-07-12T14:41:04Z","updated_at":"2018-07-12T14:45:59Z","html_url":"https://github.com/le-mystere-de-la-salle-jaune/evalme-back/pull/45#discussion_r202060347","pull_request_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/pulls/45","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/pulls/comments/202060347"},"html":{"href":"https://github.com/le-mystere-de-la-salle-jaune/evalme-back/pull/45#discussion_r202060347"},"pull_request":{"href":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/pulls/45","id":201021394,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMDIxMzk0","html_url":"https://github.com/le-mystere-de-la-salle-jaune/evalme-back/pull/45","diff_url":"https://github.com/le-mystere-de-la-salle-jaune/evalme-back/pull/45.diff","patch_url":"https://github.com/le-mystere-de-la-salle-jaune/evalme-back/pull/45.patch","issue_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/issues/45","number":45,"state":"open","locked":false,"title":"CRUD Complet opérationel","user":{"login":"mtremion","id":39953472,"node_id":"MDQ6VXNlcjM5OTUzNDcy","avatar_url":"https://avatars0.githubusercontent.com/u/39953472?v=4","gravatar_id":"","url":"https://api.github.com/users/mtremion","html_url":"https://github.com/mtremion","followers_url":"https://api.github.com/users/mtremion/followers","following_url":"https://api.github.com/users/mtremion/following{/other_user}","gists_url":"https://api.github.com/users/mtremion/gists{/gist_id}","starred_url":"https://api.github.com/users/mtremion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtremion/subscriptions","organizations_url":"https://api.github.com/users/mtremion/orgs","repos_url":"https://api.github.com/users/mtremion/repos","events_url":"https://api.github.com/users/mtremion/events{/privacy}","received_events_url":"https://api.github.com/users/mtremion/received_events","type":"User","site_admin":false},"body":"https://dta-mt-spring.herokuapp.com/classes/lister","created_at":"2018-07-12T14:31:03Z","updated_at":"2018-07-12T14:45:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"815eba04d095af3a9d47071aa00a5b23ea31d7fc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":989488623,"node_id":"MDU6TGFiZWw5ODk0ODg2MjM=","url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/labels/CRUD%20-%20Add","name":"CRUD - Add","color":"9899e0","default":false},{"id":989488793,"node_id":"MDU6TGFiZWw5ODk0ODg3OTM=","url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/labels/CRUD%20-%20Delete","name":"CRUD - Delete","color":"65cc2a","default":false},{"id":989488246,"node_id":"MDU6TGFiZWw5ODk0ODgyNDY=","url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/labels/CRUD%20-%20List","name":"CRUD - List","color":"e5e572","default":false},{"id":989489208,"node_id":"MDU6TGFiZWw5ODk0ODkyMDg=","url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/labels/CRUD%20-%20Update","name":"CRUD - Update","color":"0eb561","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/pulls/45/commits","review_comments_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/pulls/45/comments","review_comment_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/pulls/comments{/number}","comments_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/issues/45/comments","statuses_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/statuses/8beca922b1205a484c4a03f1f337145c671136d9","head":{"label":"le-mystere-de-la-salle-jaune:classe-web-admin-CRUD","ref":"classe-web-admin-CRUD","sha":"8beca922b1205a484c4a03f1f337145c671136d9","user":{"login":"le-mystere-de-la-salle-jaune","id":40685466,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNjg1NDY2","avatar_url":"https://avatars2.githubusercontent.com/u/40685466?v=4","gravatar_id":"","url":"https://api.github.com/users/le-mystere-de-la-salle-jaune","html_url":"https://github.com/le-mystere-de-la-salle-jaune","followers_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/followers","following_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/following{/other_user}","gists_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/gists{/gist_id}","starred_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/subscriptions","organizations_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/orgs","repos_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/repos","events_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/events{/privacy}","received_events_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/received_events","type":"Organization","site_admin":false},"repo":{"id":140202858,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAyMDI4NTg=","name":"evalme-back","full_name":"le-mystere-de-la-salle-jaune/evalme-back","owner":{"login":"le-mystere-de-la-salle-jaune","id":40685466,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNjg1NDY2","avatar_url":"https://avatars2.githubusercontent.com/u/40685466?v=4","gravatar_id":"","url":"https://api.github.com/users/le-mystere-de-la-salle-jaune","html_url":"https://github.com/le-mystere-de-la-salle-jaune","followers_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/followers","following_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/following{/other_user}","gists_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/gists{/gist_id}","starred_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/subscriptions","organizations_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/orgs","repos_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/repos","events_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/events{/privacy}","received_events_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/le-mystere-de-la-salle-jaune/evalme-back","description":null,"fork":false,"url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back","forks_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/forks","keys_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/keys{/key_id}","collaborators_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/teams","hooks_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/hooks","issue_events_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/issues/events{/number}","events_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/events","assignees_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/assignees{/user}","branches_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/branches{/branch}","tags_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/tags","blobs_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/git/refs{/sha}","trees_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/git/trees{/sha}","statuses_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/statuses/{sha}","languages_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/languages","stargazers_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/stargazers","contributors_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/contributors","subscribers_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/subscribers","subscription_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/subscription","commits_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/commits{/sha}","git_commits_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/git/commits{/sha}","comments_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/comments{/number}","issue_comment_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/issues/comments{/number}","contents_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/contents/{+path}","compare_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/compare/{base}...{head}","merges_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/merges","archive_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/downloads","issues_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/issues{/number}","pulls_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/pulls{/number}","milestones_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/milestones{/number}","notifications_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/labels{/name}","releases_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/releases{/id}","deployments_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/deployments","created_at":"2018-07-08T21:09:30Z","updated_at":"2018-07-12T13:37:52Z","pushed_at":"2018-07-12T14:35:50Z","git_url":"git://github.com/le-mystere-de-la-salle-jaune/evalme-back.git","ssh_url":"git@github.com:le-mystere-de-la-salle-jaune/evalme-back.git","clone_url":"https://github.com/le-mystere-de-la-salle-jaune/evalme-back.git","svn_url":"https://github.com/le-mystere-de-la-salle-jaune/evalme-back","homepage":null,"size":315,"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":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"le-mystere-de-la-salle-jaune:master","ref":"master","sha":"297aca66a402a731a8db814f1cd8d16a637f841a","user":{"login":"le-mystere-de-la-salle-jaune","id":40685466,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNjg1NDY2","avatar_url":"https://avatars2.githubusercontent.com/u/40685466?v=4","gravatar_id":"","url":"https://api.github.com/users/le-mystere-de-la-salle-jaune","html_url":"https://github.com/le-mystere-de-la-salle-jaune","followers_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/followers","following_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/following{/other_user}","gists_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/gists{/gist_id}","starred_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/subscriptions","organizations_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/orgs","repos_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/repos","events_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/events{/privacy}","received_events_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/received_events","type":"Organization","site_admin":false},"repo":{"id":140202858,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAyMDI4NTg=","name":"evalme-back","full_name":"le-mystere-de-la-salle-jaune/evalme-back","owner":{"login":"le-mystere-de-la-salle-jaune","id":40685466,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNjg1NDY2","avatar_url":"https://avatars2.githubusercontent.com/u/40685466?v=4","gravatar_id":"","url":"https://api.github.com/users/le-mystere-de-la-salle-jaune","html_url":"https://github.com/le-mystere-de-la-salle-jaune","followers_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/followers","following_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/following{/other_user}","gists_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/gists{/gist_id}","starred_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/subscriptions","organizations_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/orgs","repos_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/repos","events_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/events{/privacy}","received_events_url":"https://api.github.com/users/le-mystere-de-la-salle-jaune/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/le-mystere-de-la-salle-jaune/evalme-back","description":null,"fork":false,"url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back","forks_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/forks","keys_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/keys{/key_id}","collaborators_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/teams","hooks_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/hooks","issue_events_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/issues/events{/number}","events_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/events","assignees_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/assignees{/user}","branches_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/branches{/branch}","tags_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/tags","blobs_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/git/refs{/sha}","trees_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/git/trees{/sha}","statuses_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/statuses/{sha}","languages_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/languages","stargazers_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/stargazers","contributors_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/contributors","subscribers_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/subscribers","subscription_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/subscription","commits_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/commits{/sha}","git_commits_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/git/commits{/sha}","comments_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/comments{/number}","issue_comment_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/issues/comments{/number}","contents_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/contents/{+path}","compare_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/compare/{base}...{head}","merges_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/merges","archive_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/downloads","issues_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/issues{/number}","pulls_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/pulls{/number}","milestones_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/milestones{/number}","notifications_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/labels{/name}","releases_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/releases{/id}","deployments_url":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/deployments","created_at":"2018-07-08T21:09:30Z","updated_at":"2018-07-12T13:37:52Z","pushed_at":"2018-07-12T14:35:50Z","git_url":"git://github.com/le-mystere-de-la-salle-jaune/evalme-back.git","ssh_url":"git@github.com:le-mystere-de-la-salle-jaune/evalme-back.git","clone_url":"https://github.com/le-mystere-de-la-salle-jaune/evalme-back.git","svn_url":"https://github.com/le-mystere-de-la-salle-jaune/evalme-back","homepage":null,"size":315,"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":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/pulls/45"},"html":{"href":"https://github.com/le-mystere-de-la-salle-jaune/evalme-back/pull/45"},"issue":{"href":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/issues/45"},"comments":{"href":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/le-mystere-de-la-salle-jaune/evalme-back/statuses/8beca922b1205a484c4a03f1f337145c671136d9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"nKaczmarek"}}