{"action":"created","comment":{"url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/pulls/comments/195630878","pull_request_review_id":129038898,"id":195630878,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTYzMDg3OA==","diff_hunk":"@@ -155,8 +164,12 @@ public void doPost(HttpServletRequest request, HttpServletResponse response)\n             cleanedAndEmojiMessage,\n             Instant.now());\n \n-\n-    messageStore.addMessage(message);\n+    Boolean isReply = Boolean.valueOf(request.getParameter(\"reply\"));","path":"src/main/java/codeu/controller/ChatServlet.java","position":22,"original_position":22,"commit_id":"9bb6a5e10d7a7904293b976d596b1f8dfc54e97b","original_commit_id":"9bb6a5e10d7a7904293b976d596b1f8dfc54e97b","user":{"login":"erschwartz","id":12817709,"node_id":"MDQ6VXNlcjEyODE3NzA5","avatar_url":"https://avatars3.githubusercontent.com/u/12817709?v=4","gravatar_id":"","url":"https://api.github.com/users/erschwartz","html_url":"https://github.com/erschwartz","followers_url":"https://api.github.com/users/erschwartz/followers","following_url":"https://api.github.com/users/erschwartz/following{/other_user}","gists_url":"https://api.github.com/users/erschwartz/gists{/gist_id}","starred_url":"https://api.github.com/users/erschwartz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erschwartz/subscriptions","organizations_url":"https://api.github.com/users/erschwartz/orgs","repos_url":"https://api.github.com/users/erschwartz/repos","events_url":"https://api.github.com/users/erschwartz/events{/privacy}","received_events_url":"https://api.github.com/users/erschwartz/received_events","type":"User","site_admin":false},"body":"Use boolean instead, saves memory","created_at":"2018-06-15T04:27:35Z","updated_at":"2018-06-15T04:49:21Z","html_url":"https://github.com/MatthewOakley/CodeUSummer2018Team35/pull/18#discussion_r195630878","pull_request_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/pulls/18","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/pulls/comments/195630878"},"html":{"href":"https://github.com/MatthewOakley/CodeUSummer2018Team35/pull/18#discussion_r195630878"},"pull_request":{"href":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/pulls/18","id":193351623,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzMzUxNjIz","html_url":"https://github.com/MatthewOakley/CodeUSummer2018Team35/pull/18","diff_url":"https://github.com/MatthewOakley/CodeUSummer2018Team35/pull/18.diff","patch_url":"https://github.com/MatthewOakley/CodeUSummer2018Team35/pull/18.patch","issue_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/issues/18","number":18,"state":"open","locked":false,"title":"Edit and reply","user":{"login":"StevenAb","id":7027649,"node_id":"MDQ6VXNlcjcwMjc2NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/7027649?v=4","gravatar_id":"","url":"https://api.github.com/users/StevenAb","html_url":"https://github.com/StevenAb","followers_url":"https://api.github.com/users/StevenAb/followers","following_url":"https://api.github.com/users/StevenAb/following{/other_user}","gists_url":"https://api.github.com/users/StevenAb/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenAb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenAb/subscriptions","organizations_url":"https://api.github.com/users/StevenAb/orgs","repos_url":"https://api.github.com/users/StevenAb/repos","events_url":"https://api.github.com/users/StevenAb/events{/privacy}","received_events_url":"https://api.github.com/users/StevenAb/received_events","type":"User","site_admin":false},"body":"Prototype for editing and replying to message. Right now this simply passes the content through the ChatServlet in a POST request and logs the original message and the edit or reply to the console via methods in the MessageStore and Message classes respectively.\r\n\r\n*Users can only edit their own messages.\r\n**Currently, only replies with a depth of 1 are supported (A reply to a message cannot have replies of its own).","created_at":"2018-06-07T14:57:50Z","updated_at":"2018-06-15T04:49:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9fd4c28a3e548df8c8b5b8336a10219db4d4937","assignee":null,"assignees":[],"requested_reviewers":[{"login":"asma526","id":20561346,"node_id":"MDQ6VXNlcjIwNTYxMzQ2","avatar_url":"https://avatars0.githubusercontent.com/u/20561346?v=4","gravatar_id":"","url":"https://api.github.com/users/asma526","html_url":"https://github.com/asma526","followers_url":"https://api.github.com/users/asma526/followers","following_url":"https://api.github.com/users/asma526/following{/other_user}","gists_url":"https://api.github.com/users/asma526/gists{/gist_id}","starred_url":"https://api.github.com/users/asma526/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asma526/subscriptions","organizations_url":"https://api.github.com/users/asma526/orgs","repos_url":"https://api.github.com/users/asma526/repos","events_url":"https://api.github.com/users/asma526/events{/privacy}","received_events_url":"https://api.github.com/users/asma526/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/pulls/18/commits","review_comments_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/pulls/18/comments","review_comment_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/issues/18/comments","statuses_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/statuses/9bb6a5e10d7a7904293b976d596b1f8dfc54e97b","head":{"label":"MatthewOakley:EditAndReply","ref":"EditAndReply","sha":"9bb6a5e10d7a7904293b976d596b1f8dfc54e97b","user":{"login":"MatthewOakley","id":25257004,"node_id":"MDQ6VXNlcjI1MjU3MDA0","avatar_url":"https://avatars2.githubusercontent.com/u/25257004?v=4","gravatar_id":"","url":"https://api.github.com/users/MatthewOakley","html_url":"https://github.com/MatthewOakley","followers_url":"https://api.github.com/users/MatthewOakley/followers","following_url":"https://api.github.com/users/MatthewOakley/following{/other_user}","gists_url":"https://api.github.com/users/MatthewOakley/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthewOakley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthewOakley/subscriptions","organizations_url":"https://api.github.com/users/MatthewOakley/orgs","repos_url":"https://api.github.com/users/MatthewOakley/repos","events_url":"https://api.github.com/users/MatthewOakley/events{/privacy}","received_events_url":"https://api.github.com/users/MatthewOakley/received_events","type":"User","site_admin":false},"repo":{"id":133144857,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMxNDQ4NTc=","name":"CodeUSummer2018Team35","full_name":"MatthewOakley/CodeUSummer2018Team35","owner":{"login":"MatthewOakley","id":25257004,"node_id":"MDQ6VXNlcjI1MjU3MDA0","avatar_url":"https://avatars2.githubusercontent.com/u/25257004?v=4","gravatar_id":"","url":"https://api.github.com/users/MatthewOakley","html_url":"https://github.com/MatthewOakley","followers_url":"https://api.github.com/users/MatthewOakley/followers","following_url":"https://api.github.com/users/MatthewOakley/following{/other_user}","gists_url":"https://api.github.com/users/MatthewOakley/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthewOakley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthewOakley/subscriptions","organizations_url":"https://api.github.com/users/MatthewOakley/orgs","repos_url":"https://api.github.com/users/MatthewOakley/repos","events_url":"https://api.github.com/users/MatthewOakley/events{/privacy}","received_events_url":"https://api.github.com/users/MatthewOakley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MatthewOakley/CodeUSummer2018Team35","description":null,"fork":false,"url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35","forks_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/forks","keys_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/teams","hooks_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/hooks","issue_events_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/issues/events{/number}","events_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/events","assignees_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/assignees{/user}","branches_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/branches{/branch}","tags_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/tags","blobs_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/git/refs{/sha}","trees_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/statuses/{sha}","languages_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/languages","stargazers_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/stargazers","contributors_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/contributors","subscribers_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/subscribers","subscription_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/subscription","commits_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/commits{/sha}","git_commits_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/git/commits{/sha}","comments_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/comments{/number}","issue_comment_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/issues/comments{/number}","contents_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/contents/{+path}","compare_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/merges","archive_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/downloads","issues_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/issues{/number}","pulls_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/pulls{/number}","milestones_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/milestones{/number}","notifications_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/labels{/name}","releases_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/releases{/id}","deployments_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/deployments","created_at":"2018-05-12T12:39:32Z","updated_at":"2018-06-11T15:31:36Z","pushed_at":"2018-06-15T02:30:31Z","git_url":"git://github.com/MatthewOakley/CodeUSummer2018Team35.git","ssh_url":"git@github.com:MatthewOakley/CodeUSummer2018Team35.git","clone_url":"https://github.com/MatthewOakley/CodeUSummer2018Team35.git","svn_url":"https://github.com/MatthewOakley/CodeUSummer2018Team35","homepage":null,"size":221,"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":6,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"MatthewOakley:master","ref":"master","sha":"c70a285ae86c848a0f6786096754e89cb18a5923","user":{"login":"MatthewOakley","id":25257004,"node_id":"MDQ6VXNlcjI1MjU3MDA0","avatar_url":"https://avatars2.githubusercontent.com/u/25257004?v=4","gravatar_id":"","url":"https://api.github.com/users/MatthewOakley","html_url":"https://github.com/MatthewOakley","followers_url":"https://api.github.com/users/MatthewOakley/followers","following_url":"https://api.github.com/users/MatthewOakley/following{/other_user}","gists_url":"https://api.github.com/users/MatthewOakley/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthewOakley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthewOakley/subscriptions","organizations_url":"https://api.github.com/users/MatthewOakley/orgs","repos_url":"https://api.github.com/users/MatthewOakley/repos","events_url":"https://api.github.com/users/MatthewOakley/events{/privacy}","received_events_url":"https://api.github.com/users/MatthewOakley/received_events","type":"User","site_admin":false},"repo":{"id":133144857,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMxNDQ4NTc=","name":"CodeUSummer2018Team35","full_name":"MatthewOakley/CodeUSummer2018Team35","owner":{"login":"MatthewOakley","id":25257004,"node_id":"MDQ6VXNlcjI1MjU3MDA0","avatar_url":"https://avatars2.githubusercontent.com/u/25257004?v=4","gravatar_id":"","url":"https://api.github.com/users/MatthewOakley","html_url":"https://github.com/MatthewOakley","followers_url":"https://api.github.com/users/MatthewOakley/followers","following_url":"https://api.github.com/users/MatthewOakley/following{/other_user}","gists_url":"https://api.github.com/users/MatthewOakley/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthewOakley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthewOakley/subscriptions","organizations_url":"https://api.github.com/users/MatthewOakley/orgs","repos_url":"https://api.github.com/users/MatthewOakley/repos","events_url":"https://api.github.com/users/MatthewOakley/events{/privacy}","received_events_url":"https://api.github.com/users/MatthewOakley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MatthewOakley/CodeUSummer2018Team35","description":null,"fork":false,"url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35","forks_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/forks","keys_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/teams","hooks_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/hooks","issue_events_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/issues/events{/number}","events_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/events","assignees_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/assignees{/user}","branches_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/branches{/branch}","tags_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/tags","blobs_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/git/refs{/sha}","trees_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/statuses/{sha}","languages_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/languages","stargazers_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/stargazers","contributors_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/contributors","subscribers_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/subscribers","subscription_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/subscription","commits_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/commits{/sha}","git_commits_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/git/commits{/sha}","comments_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/comments{/number}","issue_comment_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/issues/comments{/number}","contents_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/contents/{+path}","compare_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/merges","archive_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/downloads","issues_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/issues{/number}","pulls_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/pulls{/number}","milestones_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/milestones{/number}","notifications_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/labels{/name}","releases_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/releases{/id}","deployments_url":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/deployments","created_at":"2018-05-12T12:39:32Z","updated_at":"2018-06-11T15:31:36Z","pushed_at":"2018-06-15T02:30:31Z","git_url":"git://github.com/MatthewOakley/CodeUSummer2018Team35.git","ssh_url":"git@github.com:MatthewOakley/CodeUSummer2018Team35.git","clone_url":"https://github.com/MatthewOakley/CodeUSummer2018Team35.git","svn_url":"https://github.com/MatthewOakley/CodeUSummer2018Team35","homepage":null,"size":221,"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":6,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/pulls/18"},"html":{"href":"https://github.com/MatthewOakley/CodeUSummer2018Team35/pull/18"},"issue":{"href":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/issues/18"},"comments":{"href":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/MatthewOakley/CodeUSummer2018Team35/statuses/9bb6a5e10d7a7904293b976d596b1f8dfc54e97b"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"erschwartz"}}