{"action":"created","comment":{"url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/pulls/comments/185933488","pull_request_review_id":117426416,"id":185933488,"diff_hunk":"@@ -62,51 +63,26 @@ public void printTimes() {\n \tpublic static void printMonth() {\n \t\tint month = LocalDate.now().getMonthValue();\n \t\tString monthString;\n-\t\tswitch ( month ) {\n-\t\t\tcase 1:\n-\t\t\t\tmonthString = \"January\";\n-\t\t\t\tbreak;\n-\t\t\tcase 2:\n-\t\t\t\tmonthString = \"February\";\n-\t\t\t\tbreak;\n-\t\t\tcase 3:\n-\t\t\t\tmonthString = \"March\";\n-\t\t\t\tbreak;\n-\t\t\tcase 4:\n-\t\t\t\tmonthString = \"April\";\n-\t\t\t\tbreak;\n-\t\t\tcase 5:\n-\t\t\t\tmonthString = \"May\";\n-\t\t\t\tbreak;\n-\t\t\tcase 6:\n-\t\t\t\tmonthString = \"June\";\n-\t\t\t\tbreak;\n-\t\t\tcase 7:\n-\t\t\t\tmonthString = \"July\";\n-\t\t\t\tbreak;\n-\t\t\tcase 8:\n-\t\t\t\tmonthString = \"August\";\n-\t\t\t\tbreak;\n-\t\t\tcase 9:\n-\t\t\t\tmonthString = \"September\";\n-\t\t\t\tbreak;\n-\t\t\tcase 10:\n-\t\t\t\tmonthString = \"October\";\n-\t\t\t\tbreak;\n-\t\t\tcase 11:\n-\t\t\t\tmonthString = \"November\";\n-\t\t\t\tbreak;\n-\t\t\tcase 12:\n-\t\t\t\tmonthString = \"December\";\n-\t\t\t\tbreak;\n-\t\t\tdefault:\n-\t\t\t\tmonthString = \"Invalid month\";\n-\t\t\t\tbreak;\n-\t\t}\n+\n+\t\tMap<Integer, String> months = new HashMap<>();","path":"java10/session-1-Local-Variable-Type-Inference/04_Full_uses/src/com/typeinference/Java10var.java","position":null,"original_position":65,"commit_id":"17904d4ce02a079b9acd07dcdb5f443eb5d0b645","original_commit_id":"17904d4ce02a079b9acd07dcdb5f443eb5d0b645","user":{"login":"neomatrix369","id":1570917,"avatar_url":"https://avatars0.githubusercontent.com/u/1570917?v=4","gravatar_id":"","url":"https://api.github.com/users/neomatrix369","html_url":"https://github.com/neomatrix369","followers_url":"https://api.github.com/users/neomatrix369/followers","following_url":"https://api.github.com/users/neomatrix369/following{/other_user}","gists_url":"https://api.github.com/users/neomatrix369/gists{/gist_id}","starred_url":"https://api.github.com/users/neomatrix369/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neomatrix369/subscriptions","organizations_url":"https://api.github.com/users/neomatrix369/orgs","repos_url":"https://api.github.com/users/neomatrix369/repos","events_url":"https://api.github.com/users/neomatrix369/events{/privacy}","received_events_url":"https://api.github.com/users/neomatrix369/received_events","type":"User","site_admin":false},"body":":+1: can be made more concise but this is a good first step","created_at":"2018-05-03T20:54:59Z","updated_at":"2018-05-03T20:54:59Z","html_url":"https://github.com/neomatrix369/java-10-and-beyond/pull/4#discussion_r185933488","pull_request_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/pulls/4","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/pulls/comments/185933488"},"html":{"href":"https://github.com/neomatrix369/java-10-and-beyond/pull/4#discussion_r185933488"},"pull_request":{"href":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/pulls/4","id":183869148,"html_url":"https://github.com/neomatrix369/java-10-and-beyond/pull/4","diff_url":"https://github.com/neomatrix369/java-10-and-beyond/pull/4.diff","patch_url":"https://github.com/neomatrix369/java-10-and-beyond/pull/4.patch","issue_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/issues/4","number":4,"state":"open","locked":false,"title":"Adding exercises","user":{"login":"HillmerCh","id":29781653,"avatar_url":"https://avatars0.githubusercontent.com/u/29781653?v=4","gravatar_id":"","url":"https://api.github.com/users/HillmerCh","html_url":"https://github.com/HillmerCh","followers_url":"https://api.github.com/users/HillmerCh/followers","following_url":"https://api.github.com/users/HillmerCh/following{/other_user}","gists_url":"https://api.github.com/users/HillmerCh/gists{/gist_id}","starred_url":"https://api.github.com/users/HillmerCh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HillmerCh/subscriptions","organizations_url":"https://api.github.com/users/HillmerCh/orgs","repos_url":"https://api.github.com/users/HillmerCh/repos","events_url":"https://api.github.com/users/HillmerCh/events{/privacy}","received_events_url":"https://api.github.com/users/HillmerCh/received_events","type":"User","site_admin":false},"body":"Hi @neomatrix369 these are the excessive, please look over. Thanks","created_at":"2018-04-24T21:27:14Z","updated_at":"2018-05-03T20:54:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"47c5f49f9126373f3fd4a4e78fd0f2d9796490d5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/pulls/4/commits","review_comments_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/pulls/4/comments","review_comment_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/issues/4/comments","statuses_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/statuses/17904d4ce02a079b9acd07dcdb5f443eb5d0b645","head":{"label":"HillmerCh:master","ref":"master","sha":"17904d4ce02a079b9acd07dcdb5f443eb5d0b645","user":{"login":"HillmerCh","id":29781653,"avatar_url":"https://avatars0.githubusercontent.com/u/29781653?v=4","gravatar_id":"","url":"https://api.github.com/users/HillmerCh","html_url":"https://github.com/HillmerCh","followers_url":"https://api.github.com/users/HillmerCh/followers","following_url":"https://api.github.com/users/HillmerCh/following{/other_user}","gists_url":"https://api.github.com/users/HillmerCh/gists{/gist_id}","starred_url":"https://api.github.com/users/HillmerCh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HillmerCh/subscriptions","organizations_url":"https://api.github.com/users/HillmerCh/orgs","repos_url":"https://api.github.com/users/HillmerCh/repos","events_url":"https://api.github.com/users/HillmerCh/events{/privacy}","received_events_url":"https://api.github.com/users/HillmerCh/received_events","type":"User","site_admin":false},"repo":{"id":126991827,"name":"java-10-and-beyond","full_name":"HillmerCh/java-10-and-beyond","owner":{"login":"HillmerCh","id":29781653,"avatar_url":"https://avatars0.githubusercontent.com/u/29781653?v=4","gravatar_id":"","url":"https://api.github.com/users/HillmerCh","html_url":"https://github.com/HillmerCh","followers_url":"https://api.github.com/users/HillmerCh/followers","following_url":"https://api.github.com/users/HillmerCh/following{/other_user}","gists_url":"https://api.github.com/users/HillmerCh/gists{/gist_id}","starred_url":"https://api.github.com/users/HillmerCh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HillmerCh/subscriptions","organizations_url":"https://api.github.com/users/HillmerCh/orgs","repos_url":"https://api.github.com/users/HillmerCh/repos","events_url":"https://api.github.com/users/HillmerCh/events{/privacy}","received_events_url":"https://api.github.com/users/HillmerCh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HillmerCh/java-10-and-beyond","description":"Examples and exercises based on some of the features of Java 10 (GA and Early Access builds)","fork":true,"url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond","forks_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/forks","keys_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/teams","hooks_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/hooks","issue_events_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/issues/events{/number}","events_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/events","assignees_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/assignees{/user}","branches_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/branches{/branch}","tags_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/tags","blobs_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/git/refs{/sha}","trees_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/statuses/{sha}","languages_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/languages","stargazers_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/stargazers","contributors_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/contributors","subscribers_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/subscribers","subscription_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/subscription","commits_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/commits{/sha}","git_commits_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/git/commits{/sha}","comments_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/comments{/number}","issue_comment_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/issues/comments{/number}","contents_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/contents/{+path}","compare_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/merges","archive_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/downloads","issues_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/issues{/number}","pulls_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/pulls{/number}","milestones_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/milestones{/number}","notifications_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/labels{/name}","releases_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/releases{/id}","deployments_url":"https://api.github.com/repos/HillmerCh/java-10-and-beyond/deployments","created_at":"2018-03-27T13:37:18Z","updated_at":"2018-05-03T19:51:45Z","pushed_at":"2018-05-03T19:51:43Z","git_url":"git://github.com/HillmerCh/java-10-and-beyond.git","ssh_url":"git@github.com:HillmerCh/java-10-and-beyond.git","clone_url":"https://github.com/HillmerCh/java-10-and-beyond.git","svn_url":"https://github.com/HillmerCh/java-10-and-beyond","homepage":"","size":51,"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":"master"}},"base":{"label":"neomatrix369:master","ref":"master","sha":"7dd9cbf7d57e3937dcce7e9a69c10fd8e0c39586","user":{"login":"neomatrix369","id":1570917,"avatar_url":"https://avatars0.githubusercontent.com/u/1570917?v=4","gravatar_id":"","url":"https://api.github.com/users/neomatrix369","html_url":"https://github.com/neomatrix369","followers_url":"https://api.github.com/users/neomatrix369/followers","following_url":"https://api.github.com/users/neomatrix369/following{/other_user}","gists_url":"https://api.github.com/users/neomatrix369/gists{/gist_id}","starred_url":"https://api.github.com/users/neomatrix369/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neomatrix369/subscriptions","organizations_url":"https://api.github.com/users/neomatrix369/orgs","repos_url":"https://api.github.com/users/neomatrix369/repos","events_url":"https://api.github.com/users/neomatrix369/events{/privacy}","received_events_url":"https://api.github.com/users/neomatrix369/received_events","type":"User","site_admin":false},"repo":{"id":126471651,"name":"java-10-and-beyond","full_name":"neomatrix369/java-10-and-beyond","owner":{"login":"neomatrix369","id":1570917,"avatar_url":"https://avatars0.githubusercontent.com/u/1570917?v=4","gravatar_id":"","url":"https://api.github.com/users/neomatrix369","html_url":"https://github.com/neomatrix369","followers_url":"https://api.github.com/users/neomatrix369/followers","following_url":"https://api.github.com/users/neomatrix369/following{/other_user}","gists_url":"https://api.github.com/users/neomatrix369/gists{/gist_id}","starred_url":"https://api.github.com/users/neomatrix369/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neomatrix369/subscriptions","organizations_url":"https://api.github.com/users/neomatrix369/orgs","repos_url":"https://api.github.com/users/neomatrix369/repos","events_url":"https://api.github.com/users/neomatrix369/events{/privacy}","received_events_url":"https://api.github.com/users/neomatrix369/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/neomatrix369/java-10-and-beyond","description":"Examples and exercises based on some of the features of Java 10 (GA and Early Access builds)","fork":false,"url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond","forks_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/forks","keys_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/teams","hooks_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/hooks","issue_events_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/issues/events{/number}","events_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/events","assignees_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/assignees{/user}","branches_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/branches{/branch}","tags_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/tags","blobs_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/git/refs{/sha}","trees_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/statuses/{sha}","languages_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/languages","stargazers_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/stargazers","contributors_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/contributors","subscribers_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/subscribers","subscription_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/subscription","commits_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/commits{/sha}","git_commits_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/git/commits{/sha}","comments_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/comments{/number}","issue_comment_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/issues/comments{/number}","contents_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/contents/{+path}","compare_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/merges","archive_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/downloads","issues_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/issues{/number}","pulls_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/pulls{/number}","milestones_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/milestones{/number}","notifications_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/labels{/name}","releases_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/releases{/id}","deployments_url":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/deployments","created_at":"2018-03-23T10:44:27Z","updated_at":"2018-04-29T18:26:33Z","pushed_at":"2018-05-03T19:51:44Z","git_url":"git://github.com/neomatrix369/java-10-and-beyond.git","ssh_url":"git@github.com:neomatrix369/java-10-and-beyond.git","clone_url":"https://github.com/neomatrix369/java-10-and-beyond.git","svn_url":"https://github.com/neomatrix369/java-10-and-beyond","homepage":"","size":47,"stargazers_count":2,"watchers_count":2,"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":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/pulls/4"},"html":{"href":"https://github.com/neomatrix369/java-10-and-beyond/pull/4"},"issue":{"href":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/issues/4"},"comments":{"href":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/neomatrix369/java-10-and-beyond/statuses/17904d4ce02a079b9acd07dcdb5f443eb5d0b645"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"neomatrix369"}}