{"action":"created","comment":{"url":"https://api.github.com/repos/halhogue/clarity/pulls/comments/123553442","pull_request_review_id":45769188,"id":123553442,"diff_hunk":"@@ -0,0 +1,53 @@\n+package com.ean.clarity;\n+\n+import com.ean.clarity.util.Baugus;\n+\n+import java.util.Scanner;\n+\n+/**\n+ * Does main stuff.\n+ */\n+public class Main {\n+\n+    private static final String CLARITY_URL = \"http://clarity.expedia.biz\";\n+\n+    public static void main(String[] args) {\n+        Scanner scanner = new Scanner(System.in);\n+        Timesheet timesheet = new Timesheet();\n+\n+        // TODO: Change these submits to trigger on Tab key instead of Enter key (for MacBook Pro Tab8 support)\n+\n+        log(\"Monday hours: \");\n+        timesheet.setMondayHours(scanner.nextInt());\n+        log(\"Tuesday hours: \");\n+        timesheet.setTuesdayHours(scanner.nextInt());\n+        log(\"Wednesday hours: \");\n+        timesheet.setWednesdayHours(scanner.nextInt());\n+        log(\"Thursday hours: \");\n+        timesheet.setThursdayHours(scanner.nextInt());\n+        log(\"Friday hours: \");\n+        timesheet.setFridayHours(scanner.nextInt());\n+\n+        if (!timesheet.isValid()) {\n+            log(\"Invalid timesheet. Please do not enter any number other than 8.\");","path":"src/com/ean/clarity/Main.java","position":32,"original_position":32,"commit_id":"e1f8a959b1854e9a9ce1a7256028fb051f9fc192","original_commit_id":"e1f8a959b1854e9a9ce1a7256028fb051f9fc192","user":{"login":"mhungerfordean","id":29633897,"avatar_url":"https://avatars3.githubusercontent.com/u/29633897?v=3","gravatar_id":"","url":"https://api.github.com/users/mhungerfordean","html_url":"https://github.com/mhungerfordean","followers_url":"https://api.github.com/users/mhungerfordean/followers","following_url":"https://api.github.com/users/mhungerfordean/following{/other_user}","gists_url":"https://api.github.com/users/mhungerfordean/gists{/gist_id}","starred_url":"https://api.github.com/users/mhungerfordean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhungerfordean/subscriptions","organizations_url":"https://api.github.com/users/mhungerfordean/orgs","repos_url":"https://api.github.com/users/mhungerfordean/repos","events_url":"https://api.github.com/users/mhungerfordean/events{/privacy}","received_events_url":"https://api.github.com/users/mhungerfordean/received_events","type":"User","site_admin":false},"body":"To prevent consistency issues in the future should we ever switch to 9-hour standard workdays, this should reference VALID_HOURS from TimeSheet.java","created_at":"2017-06-22T16:05:07Z","updated_at":"2017-06-22T16:05:07Z","html_url":"https://github.com/halhogue/clarity/pull/2#discussion_r123553442","pull_request_url":"https://api.github.com/repos/halhogue/clarity/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/halhogue/clarity/pulls/comments/123553442"},"html":{"href":"https://github.com/halhogue/clarity/pull/2#discussion_r123553442"},"pull_request":{"href":"https://api.github.com/repos/halhogue/clarity/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/halhogue/clarity/pulls/2","id":126892184,"html_url":"https://github.com/halhogue/clarity/pull/2","diff_url":"https://github.com/halhogue/clarity/pull/2.diff","patch_url":"https://github.com/halhogue/clarity/pull/2.patch","issue_url":"https://api.github.com/repos/halhogue/clarity/issues/2","number":2,"state":"open","locked":false,"title":"Added some random nonsense.","user":{"login":"halhogue","id":971842,"avatar_url":"https://avatars0.githubusercontent.com/u/971842?v=3","gravatar_id":"","url":"https://api.github.com/users/halhogue","html_url":"https://github.com/halhogue","followers_url":"https://api.github.com/users/halhogue/followers","following_url":"https://api.github.com/users/halhogue/following{/other_user}","gists_url":"https://api.github.com/users/halhogue/gists{/gist_id}","starred_url":"https://api.github.com/users/halhogue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halhogue/subscriptions","organizations_url":"https://api.github.com/users/halhogue/orgs","repos_url":"https://api.github.com/users/halhogue/repos","events_url":"https://api.github.com/users/halhogue/events{/privacy}","received_events_url":"https://api.github.com/users/halhogue/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-22T01:19:10Z","updated_at":"2017-06-22T16:05:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e089ac434eec7823a4ad22b70696bb6e5a21362","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/halhogue/clarity/pulls/2/commits","review_comments_url":"https://api.github.com/repos/halhogue/clarity/pulls/2/comments","review_comment_url":"https://api.github.com/repos/halhogue/clarity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/halhogue/clarity/issues/2/comments","statuses_url":"https://api.github.com/repos/halhogue/clarity/statuses/e1f8a959b1854e9a9ce1a7256028fb051f9fc192","head":{"label":"halhogue:nonsense","ref":"nonsense","sha":"e1f8a959b1854e9a9ce1a7256028fb051f9fc192","user":{"login":"halhogue","id":971842,"avatar_url":"https://avatars0.githubusercontent.com/u/971842?v=3","gravatar_id":"","url":"https://api.github.com/users/halhogue","html_url":"https://github.com/halhogue","followers_url":"https://api.github.com/users/halhogue/followers","following_url":"https://api.github.com/users/halhogue/following{/other_user}","gists_url":"https://api.github.com/users/halhogue/gists{/gist_id}","starred_url":"https://api.github.com/users/halhogue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halhogue/subscriptions","organizations_url":"https://api.github.com/users/halhogue/orgs","repos_url":"https://api.github.com/users/halhogue/repos","events_url":"https://api.github.com/users/halhogue/events{/privacy}","received_events_url":"https://api.github.com/users/halhogue/received_events","type":"User","site_admin":false},"repo":{"id":95059942,"name":"clarity","full_name":"halhogue/clarity","owner":{"login":"halhogue","id":971842,"avatar_url":"https://avatars0.githubusercontent.com/u/971842?v=3","gravatar_id":"","url":"https://api.github.com/users/halhogue","html_url":"https://github.com/halhogue","followers_url":"https://api.github.com/users/halhogue/followers","following_url":"https://api.github.com/users/halhogue/following{/other_user}","gists_url":"https://api.github.com/users/halhogue/gists{/gist_id}","starred_url":"https://api.github.com/users/halhogue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halhogue/subscriptions","organizations_url":"https://api.github.com/users/halhogue/orgs","repos_url":"https://api.github.com/users/halhogue/repos","events_url":"https://api.github.com/users/halhogue/events{/privacy}","received_events_url":"https://api.github.com/users/halhogue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/halhogue/clarity","description":null,"fork":false,"url":"https://api.github.com/repos/halhogue/clarity","forks_url":"https://api.github.com/repos/halhogue/clarity/forks","keys_url":"https://api.github.com/repos/halhogue/clarity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/halhogue/clarity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/halhogue/clarity/teams","hooks_url":"https://api.github.com/repos/halhogue/clarity/hooks","issue_events_url":"https://api.github.com/repos/halhogue/clarity/issues/events{/number}","events_url":"https://api.github.com/repos/halhogue/clarity/events","assignees_url":"https://api.github.com/repos/halhogue/clarity/assignees{/user}","branches_url":"https://api.github.com/repos/halhogue/clarity/branches{/branch}","tags_url":"https://api.github.com/repos/halhogue/clarity/tags","blobs_url":"https://api.github.com/repos/halhogue/clarity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/halhogue/clarity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/halhogue/clarity/git/refs{/sha}","trees_url":"https://api.github.com/repos/halhogue/clarity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/halhogue/clarity/statuses/{sha}","languages_url":"https://api.github.com/repos/halhogue/clarity/languages","stargazers_url":"https://api.github.com/repos/halhogue/clarity/stargazers","contributors_url":"https://api.github.com/repos/halhogue/clarity/contributors","subscribers_url":"https://api.github.com/repos/halhogue/clarity/subscribers","subscription_url":"https://api.github.com/repos/halhogue/clarity/subscription","commits_url":"https://api.github.com/repos/halhogue/clarity/commits{/sha}","git_commits_url":"https://api.github.com/repos/halhogue/clarity/git/commits{/sha}","comments_url":"https://api.github.com/repos/halhogue/clarity/comments{/number}","issue_comment_url":"https://api.github.com/repos/halhogue/clarity/issues/comments{/number}","contents_url":"https://api.github.com/repos/halhogue/clarity/contents/{+path}","compare_url":"https://api.github.com/repos/halhogue/clarity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/halhogue/clarity/merges","archive_url":"https://api.github.com/repos/halhogue/clarity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/halhogue/clarity/downloads","issues_url":"https://api.github.com/repos/halhogue/clarity/issues{/number}","pulls_url":"https://api.github.com/repos/halhogue/clarity/pulls{/number}","milestones_url":"https://api.github.com/repos/halhogue/clarity/milestones{/number}","notifications_url":"https://api.github.com/repos/halhogue/clarity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/halhogue/clarity/labels{/name}","releases_url":"https://api.github.com/repos/halhogue/clarity/releases{/id}","deployments_url":"https://api.github.com/repos/halhogue/clarity/deployments","created_at":"2017-06-22T01:01:16Z","updated_at":"2017-06-22T15:25:44Z","pushed_at":"2017-06-22T01:21:34Z","git_url":"git://github.com/halhogue/clarity.git","ssh_url":"git@github.com:halhogue/clarity.git","clone_url":"https://github.com/halhogue/clarity.git","svn_url":"https://github.com/halhogue/clarity","homepage":null,"size":3,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"halhogue:master","ref":"master","sha":"4dec475f40f4badec31ad5217ff46bc955a2666d","user":{"login":"halhogue","id":971842,"avatar_url":"https://avatars0.githubusercontent.com/u/971842?v=3","gravatar_id":"","url":"https://api.github.com/users/halhogue","html_url":"https://github.com/halhogue","followers_url":"https://api.github.com/users/halhogue/followers","following_url":"https://api.github.com/users/halhogue/following{/other_user}","gists_url":"https://api.github.com/users/halhogue/gists{/gist_id}","starred_url":"https://api.github.com/users/halhogue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halhogue/subscriptions","organizations_url":"https://api.github.com/users/halhogue/orgs","repos_url":"https://api.github.com/users/halhogue/repos","events_url":"https://api.github.com/users/halhogue/events{/privacy}","received_events_url":"https://api.github.com/users/halhogue/received_events","type":"User","site_admin":false},"repo":{"id":95059942,"name":"clarity","full_name":"halhogue/clarity","owner":{"login":"halhogue","id":971842,"avatar_url":"https://avatars0.githubusercontent.com/u/971842?v=3","gravatar_id":"","url":"https://api.github.com/users/halhogue","html_url":"https://github.com/halhogue","followers_url":"https://api.github.com/users/halhogue/followers","following_url":"https://api.github.com/users/halhogue/following{/other_user}","gists_url":"https://api.github.com/users/halhogue/gists{/gist_id}","starred_url":"https://api.github.com/users/halhogue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halhogue/subscriptions","organizations_url":"https://api.github.com/users/halhogue/orgs","repos_url":"https://api.github.com/users/halhogue/repos","events_url":"https://api.github.com/users/halhogue/events{/privacy}","received_events_url":"https://api.github.com/users/halhogue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/halhogue/clarity","description":null,"fork":false,"url":"https://api.github.com/repos/halhogue/clarity","forks_url":"https://api.github.com/repos/halhogue/clarity/forks","keys_url":"https://api.github.com/repos/halhogue/clarity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/halhogue/clarity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/halhogue/clarity/teams","hooks_url":"https://api.github.com/repos/halhogue/clarity/hooks","issue_events_url":"https://api.github.com/repos/halhogue/clarity/issues/events{/number}","events_url":"https://api.github.com/repos/halhogue/clarity/events","assignees_url":"https://api.github.com/repos/halhogue/clarity/assignees{/user}","branches_url":"https://api.github.com/repos/halhogue/clarity/branches{/branch}","tags_url":"https://api.github.com/repos/halhogue/clarity/tags","blobs_url":"https://api.github.com/repos/halhogue/clarity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/halhogue/clarity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/halhogue/clarity/git/refs{/sha}","trees_url":"https://api.github.com/repos/halhogue/clarity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/halhogue/clarity/statuses/{sha}","languages_url":"https://api.github.com/repos/halhogue/clarity/languages","stargazers_url":"https://api.github.com/repos/halhogue/clarity/stargazers","contributors_url":"https://api.github.com/repos/halhogue/clarity/contributors","subscribers_url":"https://api.github.com/repos/halhogue/clarity/subscribers","subscription_url":"https://api.github.com/repos/halhogue/clarity/subscription","commits_url":"https://api.github.com/repos/halhogue/clarity/commits{/sha}","git_commits_url":"https://api.github.com/repos/halhogue/clarity/git/commits{/sha}","comments_url":"https://api.github.com/repos/halhogue/clarity/comments{/number}","issue_comment_url":"https://api.github.com/repos/halhogue/clarity/issues/comments{/number}","contents_url":"https://api.github.com/repos/halhogue/clarity/contents/{+path}","compare_url":"https://api.github.com/repos/halhogue/clarity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/halhogue/clarity/merges","archive_url":"https://api.github.com/repos/halhogue/clarity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/halhogue/clarity/downloads","issues_url":"https://api.github.com/repos/halhogue/clarity/issues{/number}","pulls_url":"https://api.github.com/repos/halhogue/clarity/pulls{/number}","milestones_url":"https://api.github.com/repos/halhogue/clarity/milestones{/number}","notifications_url":"https://api.github.com/repos/halhogue/clarity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/halhogue/clarity/labels{/name}","releases_url":"https://api.github.com/repos/halhogue/clarity/releases{/id}","deployments_url":"https://api.github.com/repos/halhogue/clarity/deployments","created_at":"2017-06-22T01:01:16Z","updated_at":"2017-06-22T15:25:44Z","pushed_at":"2017-06-22T01:21:34Z","git_url":"git://github.com/halhogue/clarity.git","ssh_url":"git@github.com:halhogue/clarity.git","clone_url":"https://github.com/halhogue/clarity.git","svn_url":"https://github.com/halhogue/clarity","homepage":null,"size":3,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/halhogue/clarity/pulls/2"},"html":{"href":"https://github.com/halhogue/clarity/pull/2"},"issue":{"href":"https://api.github.com/repos/halhogue/clarity/issues/2"},"comments":{"href":"https://api.github.com/repos/halhogue/clarity/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/halhogue/clarity/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/halhogue/clarity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/halhogue/clarity/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/halhogue/clarity/statuses/e1f8a959b1854e9a9ce1a7256028fb051f9fc192"}}}}
{"actor":{"display_login":"mhungerfordean"}}