{"action":"created","comment":{"url":"https://api.github.com/repos/dwaps/tp-java/pulls/comments/173667960","pull_request_review_id":102894077,"id":173667960,"diff_hunk":"@@ -0,0 +1,111 @@\n+package fr.kaiqiang.util;\n+\n+import java.util.InputMismatchException;\n+import java.util.Scanner;\n+\n+public class Drawer {\n+\tprivate String symbol = \"0 \";\n+\tScanner scanner = new Scanner(System.in);\n+\n+\tpublic void rect(int width, int height) {\n+\t\twhile (height > 0) {\n+\t\t\tfor (int i = 0; i < width; i++) {\n+\t\t\t\tSystem.out.print(symbol);\n+\t\t\t\t\n+\t\t\t}\n+\t\t\tSystem.out.println();\n+\t\t\theight--;\n+\t\t}\n+\t}\n+\t\n+\tpublic void rectanimated(int width, int height) {\n+\t\tfor(Vitesse vite : Vitesse.values()) {\n+\t\t\tSystem.out.println(vite);\n+\t\t}\n+\t\tint fast = 250; int medium = 500; int slow = 1000; int time = 0;","path":"src/fr/kaiqiang/util/Drawer.java","position":25,"original_position":25,"commit_id":"89e4c121d929ee92ae71f546063d50c859a785c2","original_commit_id":"004f1eb873d79f38f2ae5ed76e479e3529c515cd","user":{"login":"dwaps","id":9659087,"avatar_url":"https://avatars0.githubusercontent.com/u/9659087?v=4","gravatar_id":"","url":"https://api.github.com/users/dwaps","html_url":"https://github.com/dwaps","followers_url":"https://api.github.com/users/dwaps/followers","following_url":"https://api.github.com/users/dwaps/following{/other_user}","gists_url":"https://api.github.com/users/dwaps/gists{/gist_id}","starred_url":"https://api.github.com/users/dwaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwaps/subscriptions","organizations_url":"https://api.github.com/users/dwaps/orgs","repos_url":"https://api.github.com/users/dwaps/repos","events_url":"https://api.github.com/users/dwaps/events{/privacy}","received_events_url":"https://api.github.com/users/dwaps/received_events","type":"User","site_admin":false},"body":"Cette ligne 25 est inutile car les identificateurs sont initialisés mais non utilisés.","created_at":"2018-03-11T20:19:24Z","updated_at":"2018-03-11T20:24:48Z","html_url":"https://github.com/dwaps/tp-java/pull/5#discussion_r173667960","pull_request_url":"https://api.github.com/repos/dwaps/tp-java/pulls/5","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/dwaps/tp-java/pulls/comments/173667960"},"html":{"href":"https://github.com/dwaps/tp-java/pull/5#discussion_r173667960"},"pull_request":{"href":"https://api.github.com/repos/dwaps/tp-java/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/dwaps/tp-java/pulls/5","id":174238943,"html_url":"https://github.com/dwaps/tp-java/pull/5","diff_url":"https://github.com/dwaps/tp-java/pull/5.diff","patch_url":"https://github.com/dwaps/tp-java/pull/5.patch","issue_url":"https://api.github.com/repos/dwaps/tp-java/issues/5","number":5,"state":"open","locked":false,"title":"Ajout d'espaces","user":{"login":"KaiKrk","id":36386420,"avatar_url":"https://avatars3.githubusercontent.com/u/36386420?v=4","gravatar_id":"","url":"https://api.github.com/users/KaiKrk","html_url":"https://github.com/KaiKrk","followers_url":"https://api.github.com/users/KaiKrk/followers","following_url":"https://api.github.com/users/KaiKrk/following{/other_user}","gists_url":"https://api.github.com/users/KaiKrk/gists{/gist_id}","starred_url":"https://api.github.com/users/KaiKrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaiKrk/subscriptions","organizations_url":"https://api.github.com/users/KaiKrk/orgs","repos_url":"https://api.github.com/users/KaiKrk/repos","events_url":"https://api.github.com/users/KaiKrk/events{/privacy}","received_events_url":"https://api.github.com/users/KaiKrk/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-11T19:54:50Z","updated_at":"2018-03-11T20:24:48Z","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/dwaps/tp-java/pulls/5/commits","review_comments_url":"https://api.github.com/repos/dwaps/tp-java/pulls/5/comments","review_comment_url":"https://api.github.com/repos/dwaps/tp-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dwaps/tp-java/issues/5/comments","statuses_url":"https://api.github.com/repos/dwaps/tp-java/statuses/89e4c121d929ee92ae71f546063d50c859a785c2","head":{"label":"KaiKrk:init","ref":"init","sha":"89e4c121d929ee92ae71f546063d50c859a785c2","user":{"login":"KaiKrk","id":36386420,"avatar_url":"https://avatars3.githubusercontent.com/u/36386420?v=4","gravatar_id":"","url":"https://api.github.com/users/KaiKrk","html_url":"https://github.com/KaiKrk","followers_url":"https://api.github.com/users/KaiKrk/followers","following_url":"https://api.github.com/users/KaiKrk/following{/other_user}","gists_url":"https://api.github.com/users/KaiKrk/gists{/gist_id}","starred_url":"https://api.github.com/users/KaiKrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaiKrk/subscriptions","organizations_url":"https://api.github.com/users/KaiKrk/orgs","repos_url":"https://api.github.com/users/KaiKrk/repos","events_url":"https://api.github.com/users/KaiKrk/events{/privacy}","received_events_url":"https://api.github.com/users/KaiKrk/received_events","type":"User","site_admin":false},"repo":{"id":124788480,"name":"tp-java","full_name":"KaiKrk/tp-java","owner":{"login":"KaiKrk","id":36386420,"avatar_url":"https://avatars3.githubusercontent.com/u/36386420?v=4","gravatar_id":"","url":"https://api.github.com/users/KaiKrk","html_url":"https://github.com/KaiKrk","followers_url":"https://api.github.com/users/KaiKrk/followers","following_url":"https://api.github.com/users/KaiKrk/following{/other_user}","gists_url":"https://api.github.com/users/KaiKrk/gists{/gist_id}","starred_url":"https://api.github.com/users/KaiKrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaiKrk/subscriptions","organizations_url":"https://api.github.com/users/KaiKrk/orgs","repos_url":"https://api.github.com/users/KaiKrk/repos","events_url":"https://api.github.com/users/KaiKrk/events{/privacy}","received_events_url":"https://api.github.com/users/KaiKrk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KaiKrk/tp-java","description":"Exercices d'apprentissage du Java.","fork":true,"url":"https://api.github.com/repos/KaiKrk/tp-java","forks_url":"https://api.github.com/repos/KaiKrk/tp-java/forks","keys_url":"https://api.github.com/repos/KaiKrk/tp-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KaiKrk/tp-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KaiKrk/tp-java/teams","hooks_url":"https://api.github.com/repos/KaiKrk/tp-java/hooks","issue_events_url":"https://api.github.com/repos/KaiKrk/tp-java/issues/events{/number}","events_url":"https://api.github.com/repos/KaiKrk/tp-java/events","assignees_url":"https://api.github.com/repos/KaiKrk/tp-java/assignees{/user}","branches_url":"https://api.github.com/repos/KaiKrk/tp-java/branches{/branch}","tags_url":"https://api.github.com/repos/KaiKrk/tp-java/tags","blobs_url":"https://api.github.com/repos/KaiKrk/tp-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KaiKrk/tp-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KaiKrk/tp-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/KaiKrk/tp-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KaiKrk/tp-java/statuses/{sha}","languages_url":"https://api.github.com/repos/KaiKrk/tp-java/languages","stargazers_url":"https://api.github.com/repos/KaiKrk/tp-java/stargazers","contributors_url":"https://api.github.com/repos/KaiKrk/tp-java/contributors","subscribers_url":"https://api.github.com/repos/KaiKrk/tp-java/subscribers","subscription_url":"https://api.github.com/repos/KaiKrk/tp-java/subscription","commits_url":"https://api.github.com/repos/KaiKrk/tp-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/KaiKrk/tp-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/KaiKrk/tp-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/KaiKrk/tp-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/KaiKrk/tp-java/contents/{+path}","compare_url":"https://api.github.com/repos/KaiKrk/tp-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KaiKrk/tp-java/merges","archive_url":"https://api.github.com/repos/KaiKrk/tp-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KaiKrk/tp-java/downloads","issues_url":"https://api.github.com/repos/KaiKrk/tp-java/issues{/number}","pulls_url":"https://api.github.com/repos/KaiKrk/tp-java/pulls{/number}","milestones_url":"https://api.github.com/repos/KaiKrk/tp-java/milestones{/number}","notifications_url":"https://api.github.com/repos/KaiKrk/tp-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KaiKrk/tp-java/labels{/name}","releases_url":"https://api.github.com/repos/KaiKrk/tp-java/releases{/id}","deployments_url":"https://api.github.com/repos/KaiKrk/tp-java/deployments","created_at":"2018-03-11T19:00:24Z","updated_at":"2018-03-11T19:00:26Z","pushed_at":"2018-03-11T19:49:39Z","git_url":"git://github.com/KaiKrk/tp-java.git","ssh_url":"git@github.com:KaiKrk/tp-java.git","clone_url":"https://github.com/KaiKrk/tp-java.git","svn_url":"https://github.com/KaiKrk/tp-java","homepage":"https://dwaps.fr","size":14,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"init"}},"base":{"label":"dwaps:kaikrk","ref":"kaikrk","sha":"fb26d8b38630daa3f56444b08c51b4a4aa425d0b","user":{"login":"dwaps","id":9659087,"avatar_url":"https://avatars0.githubusercontent.com/u/9659087?v=4","gravatar_id":"","url":"https://api.github.com/users/dwaps","html_url":"https://github.com/dwaps","followers_url":"https://api.github.com/users/dwaps/followers","following_url":"https://api.github.com/users/dwaps/following{/other_user}","gists_url":"https://api.github.com/users/dwaps/gists{/gist_id}","starred_url":"https://api.github.com/users/dwaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwaps/subscriptions","organizations_url":"https://api.github.com/users/dwaps/orgs","repos_url":"https://api.github.com/users/dwaps/repos","events_url":"https://api.github.com/users/dwaps/events{/privacy}","received_events_url":"https://api.github.com/users/dwaps/received_events","type":"User","site_admin":false},"repo":{"id":124782797,"name":"tp-java","full_name":"dwaps/tp-java","owner":{"login":"dwaps","id":9659087,"avatar_url":"https://avatars0.githubusercontent.com/u/9659087?v=4","gravatar_id":"","url":"https://api.github.com/users/dwaps","html_url":"https://github.com/dwaps","followers_url":"https://api.github.com/users/dwaps/followers","following_url":"https://api.github.com/users/dwaps/following{/other_user}","gists_url":"https://api.github.com/users/dwaps/gists{/gist_id}","starred_url":"https://api.github.com/users/dwaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwaps/subscriptions","organizations_url":"https://api.github.com/users/dwaps/orgs","repos_url":"https://api.github.com/users/dwaps/repos","events_url":"https://api.github.com/users/dwaps/events{/privacy}","received_events_url":"https://api.github.com/users/dwaps/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dwaps/tp-java","description":"Exercices d'apprentissage du Java.","fork":false,"url":"https://api.github.com/repos/dwaps/tp-java","forks_url":"https://api.github.com/repos/dwaps/tp-java/forks","keys_url":"https://api.github.com/repos/dwaps/tp-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dwaps/tp-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dwaps/tp-java/teams","hooks_url":"https://api.github.com/repos/dwaps/tp-java/hooks","issue_events_url":"https://api.github.com/repos/dwaps/tp-java/issues/events{/number}","events_url":"https://api.github.com/repos/dwaps/tp-java/events","assignees_url":"https://api.github.com/repos/dwaps/tp-java/assignees{/user}","branches_url":"https://api.github.com/repos/dwaps/tp-java/branches{/branch}","tags_url":"https://api.github.com/repos/dwaps/tp-java/tags","blobs_url":"https://api.github.com/repos/dwaps/tp-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dwaps/tp-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dwaps/tp-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/dwaps/tp-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dwaps/tp-java/statuses/{sha}","languages_url":"https://api.github.com/repos/dwaps/tp-java/languages","stargazers_url":"https://api.github.com/repos/dwaps/tp-java/stargazers","contributors_url":"https://api.github.com/repos/dwaps/tp-java/contributors","subscribers_url":"https://api.github.com/repos/dwaps/tp-java/subscribers","subscription_url":"https://api.github.com/repos/dwaps/tp-java/subscription","commits_url":"https://api.github.com/repos/dwaps/tp-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/dwaps/tp-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/dwaps/tp-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/dwaps/tp-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/dwaps/tp-java/contents/{+path}","compare_url":"https://api.github.com/repos/dwaps/tp-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dwaps/tp-java/merges","archive_url":"https://api.github.com/repos/dwaps/tp-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dwaps/tp-java/downloads","issues_url":"https://api.github.com/repos/dwaps/tp-java/issues{/number}","pulls_url":"https://api.github.com/repos/dwaps/tp-java/pulls{/number}","milestones_url":"https://api.github.com/repos/dwaps/tp-java/milestones{/number}","notifications_url":"https://api.github.com/repos/dwaps/tp-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dwaps/tp-java/labels{/name}","releases_url":"https://api.github.com/repos/dwaps/tp-java/releases{/id}","deployments_url":"https://api.github.com/repos/dwaps/tp-java/deployments","created_at":"2018-03-11T17:50:27Z","updated_at":"2018-03-11T18:13:26Z","pushed_at":"2018-03-11T19:54:51Z","git_url":"git://github.com/dwaps/tp-java.git","ssh_url":"git@github.com:dwaps/tp-java.git","clone_url":"https://github.com/dwaps/tp-java.git","svn_url":"https://github.com/dwaps/tp-java","homepage":"https://dwaps.fr","size":13,"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":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"init"}},"_links":{"self":{"href":"https://api.github.com/repos/dwaps/tp-java/pulls/5"},"html":{"href":"https://github.com/dwaps/tp-java/pull/5"},"issue":{"href":"https://api.github.com/repos/dwaps/tp-java/issues/5"},"comments":{"href":"https://api.github.com/repos/dwaps/tp-java/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/dwaps/tp-java/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/dwaps/tp-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dwaps/tp-java/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/dwaps/tp-java/statuses/89e4c121d929ee92ae71f546063d50c859a785c2"}},"author_association":"NONE"}}
{"actor":{"display_login":"dwaps"}}