{"action":"created","comment":{"url":"https://api.github.com/repos/arshana/codeu_project_2017/pulls/comments/122092431","pull_request_review_id":44177886,"id":122092431,"diff_hunk":"@@ -238,17 +280,17 @@ public void invoke(Scanner args) {\n     //\n     panel.register(\"c-add\", new Panel.Command() {\n       @Override\n-      public void invoke(Scanner args) {\n-        final String name = args.hasNext() ? args.nextLine().trim() : \"\";\n-        if (name.length() > 0) {\n+      public void invoke(List<String> args) {\n+        if(args.size() != 1){\n+          System.out.println(\"ERROR: Failed to add new user\");\n+        }\n+        else{\n+          String name = args.get(0);\n           final ConversationContext conversation = user.start(name);\n           if (conversation == null) {\n             System.out.println(\"ERROR: Failed to create new conversation\");\n-          } else {\n-            panels.push(createConversationPanel(conversation));\n           }\n-        } else {\n-          System.out.println(\"ERROR: Missing <title>\");\n+            panels.push(createConversationPanel(conversation));","path":"src/codeu/chat/client/commandline/Chat.java","position":null,"original_position":195,"commit_id":"430a6555f6a6c2bb11b6c995fe0150cd2fb21d65","original_commit_id":"d5fb9319cb2de2f804f961fdb1a0d3c0312795c2","user":{"login":"sanjana319","id":9789770,"avatar_url":"https://avatars1.githubusercontent.com/u/9789770?v=3","gravatar_id":"","url":"https://api.github.com/users/sanjana319","html_url":"https://github.com/sanjana319","followers_url":"https://api.github.com/users/sanjana319/followers","following_url":"https://api.github.com/users/sanjana319/following{/other_user}","gists_url":"https://api.github.com/users/sanjana319/gists{/gist_id}","starred_url":"https://api.github.com/users/sanjana319/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanjana319/subscriptions","organizations_url":"https://api.github.com/users/sanjana319/orgs","repos_url":"https://api.github.com/users/sanjana319/repos","events_url":"https://api.github.com/users/sanjana319/events{/privacy}","received_events_url":"https://api.github.com/users/sanjana319/received_events","type":"User","site_admin":false},"body":"Fixed","created_at":"2017-06-14T23:54:50Z","updated_at":"2017-06-14T23:54:50Z","html_url":"https://github.com/arshana/codeu_project_2017/pull/7#discussion_r122092431","pull_request_url":"https://api.github.com/repos/arshana/codeu_project_2017/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/arshana/codeu_project_2017/pulls/comments/122092431"},"html":{"href":"https://github.com/arshana/codeu_project_2017/pull/7#discussion_r122092431"},"pull_request":{"href":"https://api.github.com/repos/arshana/codeu_project_2017/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/arshana/codeu_project_2017/pulls/7","id":124041521,"html_url":"https://github.com/arshana/codeu_project_2017/pull/7","diff_url":"https://github.com/arshana/codeu_project_2017/pull/7.diff","patch_url":"https://github.com/arshana/codeu_project_2017/pull/7.patch","issue_url":"https://api.github.com/repos/arshana/codeu_project_2017/issues/7","number":7,"state":"open","locked":false,"title":"Review","user":{"login":"rithu1998","id":27563697,"avatar_url":"https://avatars0.githubusercontent.com/u/27563697?v=3","gravatar_id":"","url":"https://api.github.com/users/rithu1998","html_url":"https://github.com/rithu1998","followers_url":"https://api.github.com/users/rithu1998/followers","following_url":"https://api.github.com/users/rithu1998/following{/other_user}","gists_url":"https://api.github.com/users/rithu1998/gists{/gist_id}","starred_url":"https://api.github.com/users/rithu1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rithu1998/subscriptions","organizations_url":"https://api.github.com/users/rithu1998/orgs","repos_url":"https://api.github.com/users/rithu1998/repos","events_url":"https://api.github.com/users/rithu1998/events{/privacy}","received_events_url":"https://api.github.com/users/rithu1998/received_events","type":"User","site_admin":false},"body":"Pull request for code review branch for mini features.","created_at":"2017-06-05T19:26:06Z","updated_at":"2017-06-14T23:54:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"837f7bd0a5e91d94d620a9184352e17eaf204715","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/arshana/codeu_project_2017/pulls/7/commits","review_comments_url":"https://api.github.com/repos/arshana/codeu_project_2017/pulls/7/comments","review_comment_url":"https://api.github.com/repos/arshana/codeu_project_2017/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arshana/codeu_project_2017/issues/7/comments","statuses_url":"https://api.github.com/repos/arshana/codeu_project_2017/statuses/430a6555f6a6c2bb11b6c995fe0150cd2fb21d65","head":{"label":"arshana:review","ref":"review","sha":"430a6555f6a6c2bb11b6c995fe0150cd2fb21d65","user":{"login":"arshana","id":8661745,"avatar_url":"https://avatars2.githubusercontent.com/u/8661745?v=3","gravatar_id":"","url":"https://api.github.com/users/arshana","html_url":"https://github.com/arshana","followers_url":"https://api.github.com/users/arshana/followers","following_url":"https://api.github.com/users/arshana/following{/other_user}","gists_url":"https://api.github.com/users/arshana/gists{/gist_id}","starred_url":"https://api.github.com/users/arshana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arshana/subscriptions","organizations_url":"https://api.github.com/users/arshana/orgs","repos_url":"https://api.github.com/users/arshana/repos","events_url":"https://api.github.com/users/arshana/events{/privacy}","received_events_url":"https://api.github.com/users/arshana/received_events","type":"User","site_admin":false},"repo":{"id":91492939,"name":"codeu_project_2017","full_name":"arshana/codeu_project_2017","owner":{"login":"arshana","id":8661745,"avatar_url":"https://avatars2.githubusercontent.com/u/8661745?v=3","gravatar_id":"","url":"https://api.github.com/users/arshana","html_url":"https://github.com/arshana","followers_url":"https://api.github.com/users/arshana/followers","following_url":"https://api.github.com/users/arshana/following{/other_user}","gists_url":"https://api.github.com/users/arshana/gists{/gist_id}","starred_url":"https://api.github.com/users/arshana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arshana/subscriptions","organizations_url":"https://api.github.com/users/arshana/orgs","repos_url":"https://api.github.com/users/arshana/repos","events_url":"https://api.github.com/users/arshana/events{/privacy}","received_events_url":"https://api.github.com/users/arshana/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arshana/codeu_project_2017","description":"CODEU is a program created by Google to develop the skills of future software engineers. This project is a playground for those looking to develop their coding and software engineering skills.","fork":true,"url":"https://api.github.com/repos/arshana/codeu_project_2017","forks_url":"https://api.github.com/repos/arshana/codeu_project_2017/forks","keys_url":"https://api.github.com/repos/arshana/codeu_project_2017/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arshana/codeu_project_2017/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arshana/codeu_project_2017/teams","hooks_url":"https://api.github.com/repos/arshana/codeu_project_2017/hooks","issue_events_url":"https://api.github.com/repos/arshana/codeu_project_2017/issues/events{/number}","events_url":"https://api.github.com/repos/arshana/codeu_project_2017/events","assignees_url":"https://api.github.com/repos/arshana/codeu_project_2017/assignees{/user}","branches_url":"https://api.github.com/repos/arshana/codeu_project_2017/branches{/branch}","tags_url":"https://api.github.com/repos/arshana/codeu_project_2017/tags","blobs_url":"https://api.github.com/repos/arshana/codeu_project_2017/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arshana/codeu_project_2017/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arshana/codeu_project_2017/git/refs{/sha}","trees_url":"https://api.github.com/repos/arshana/codeu_project_2017/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arshana/codeu_project_2017/statuses/{sha}","languages_url":"https://api.github.com/repos/arshana/codeu_project_2017/languages","stargazers_url":"https://api.github.com/repos/arshana/codeu_project_2017/stargazers","contributors_url":"https://api.github.com/repos/arshana/codeu_project_2017/contributors","subscribers_url":"https://api.github.com/repos/arshana/codeu_project_2017/subscribers","subscription_url":"https://api.github.com/repos/arshana/codeu_project_2017/subscription","commits_url":"https://api.github.com/repos/arshana/codeu_project_2017/commits{/sha}","git_commits_url":"https://api.github.com/repos/arshana/codeu_project_2017/git/commits{/sha}","comments_url":"https://api.github.com/repos/arshana/codeu_project_2017/comments{/number}","issue_comment_url":"https://api.github.com/repos/arshana/codeu_project_2017/issues/comments{/number}","contents_url":"https://api.github.com/repos/arshana/codeu_project_2017/contents/{+path}","compare_url":"https://api.github.com/repos/arshana/codeu_project_2017/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arshana/codeu_project_2017/merges","archive_url":"https://api.github.com/repos/arshana/codeu_project_2017/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arshana/codeu_project_2017/downloads","issues_url":"https://api.github.com/repos/arshana/codeu_project_2017/issues{/number}","pulls_url":"https://api.github.com/repos/arshana/codeu_project_2017/pulls{/number}","milestones_url":"https://api.github.com/repos/arshana/codeu_project_2017/milestones{/number}","notifications_url":"https://api.github.com/repos/arshana/codeu_project_2017/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arshana/codeu_project_2017/labels{/name}","releases_url":"https://api.github.com/repos/arshana/codeu_project_2017/releases{/id}","deployments_url":"https://api.github.com/repos/arshana/codeu_project_2017/deployments","created_at":"2017-05-16T18:47:05Z","updated_at":"2017-05-16T18:47:07Z","pushed_at":"2017-06-14T23:53:24Z","git_url":"git://github.com/arshana/codeu_project_2017.git","ssh_url":"git@github.com:arshana/codeu_project_2017.git","clone_url":"https://github.com/arshana/codeu_project_2017.git","svn_url":"https://github.com/arshana/codeu_project_2017","homepage":"","size":542,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"arshana:summer-2017","ref":"summer-2017","sha":"ff639447ffe6d2e2f46e8781a0ba7be10fbc1c18","user":{"login":"arshana","id":8661745,"avatar_url":"https://avatars2.githubusercontent.com/u/8661745?v=3","gravatar_id":"","url":"https://api.github.com/users/arshana","html_url":"https://github.com/arshana","followers_url":"https://api.github.com/users/arshana/followers","following_url":"https://api.github.com/users/arshana/following{/other_user}","gists_url":"https://api.github.com/users/arshana/gists{/gist_id}","starred_url":"https://api.github.com/users/arshana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arshana/subscriptions","organizations_url":"https://api.github.com/users/arshana/orgs","repos_url":"https://api.github.com/users/arshana/repos","events_url":"https://api.github.com/users/arshana/events{/privacy}","received_events_url":"https://api.github.com/users/arshana/received_events","type":"User","site_admin":false},"repo":{"id":91492939,"name":"codeu_project_2017","full_name":"arshana/codeu_project_2017","owner":{"login":"arshana","id":8661745,"avatar_url":"https://avatars2.githubusercontent.com/u/8661745?v=3","gravatar_id":"","url":"https://api.github.com/users/arshana","html_url":"https://github.com/arshana","followers_url":"https://api.github.com/users/arshana/followers","following_url":"https://api.github.com/users/arshana/following{/other_user}","gists_url":"https://api.github.com/users/arshana/gists{/gist_id}","starred_url":"https://api.github.com/users/arshana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arshana/subscriptions","organizations_url":"https://api.github.com/users/arshana/orgs","repos_url":"https://api.github.com/users/arshana/repos","events_url":"https://api.github.com/users/arshana/events{/privacy}","received_events_url":"https://api.github.com/users/arshana/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arshana/codeu_project_2017","description":"CODEU is a program created by Google to develop the skills of future software engineers. This project is a playground for those looking to develop their coding and software engineering skills.","fork":true,"url":"https://api.github.com/repos/arshana/codeu_project_2017","forks_url":"https://api.github.com/repos/arshana/codeu_project_2017/forks","keys_url":"https://api.github.com/repos/arshana/codeu_project_2017/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arshana/codeu_project_2017/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arshana/codeu_project_2017/teams","hooks_url":"https://api.github.com/repos/arshana/codeu_project_2017/hooks","issue_events_url":"https://api.github.com/repos/arshana/codeu_project_2017/issues/events{/number}","events_url":"https://api.github.com/repos/arshana/codeu_project_2017/events","assignees_url":"https://api.github.com/repos/arshana/codeu_project_2017/assignees{/user}","branches_url":"https://api.github.com/repos/arshana/codeu_project_2017/branches{/branch}","tags_url":"https://api.github.com/repos/arshana/codeu_project_2017/tags","blobs_url":"https://api.github.com/repos/arshana/codeu_project_2017/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arshana/codeu_project_2017/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arshana/codeu_project_2017/git/refs{/sha}","trees_url":"https://api.github.com/repos/arshana/codeu_project_2017/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arshana/codeu_project_2017/statuses/{sha}","languages_url":"https://api.github.com/repos/arshana/codeu_project_2017/languages","stargazers_url":"https://api.github.com/repos/arshana/codeu_project_2017/stargazers","contributors_url":"https://api.github.com/repos/arshana/codeu_project_2017/contributors","subscribers_url":"https://api.github.com/repos/arshana/codeu_project_2017/subscribers","subscription_url":"https://api.github.com/repos/arshana/codeu_project_2017/subscription","commits_url":"https://api.github.com/repos/arshana/codeu_project_2017/commits{/sha}","git_commits_url":"https://api.github.com/repos/arshana/codeu_project_2017/git/commits{/sha}","comments_url":"https://api.github.com/repos/arshana/codeu_project_2017/comments{/number}","issue_comment_url":"https://api.github.com/repos/arshana/codeu_project_2017/issues/comments{/number}","contents_url":"https://api.github.com/repos/arshana/codeu_project_2017/contents/{+path}","compare_url":"https://api.github.com/repos/arshana/codeu_project_2017/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arshana/codeu_project_2017/merges","archive_url":"https://api.github.com/repos/arshana/codeu_project_2017/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arshana/codeu_project_2017/downloads","issues_url":"https://api.github.com/repos/arshana/codeu_project_2017/issues{/number}","pulls_url":"https://api.github.com/repos/arshana/codeu_project_2017/pulls{/number}","milestones_url":"https://api.github.com/repos/arshana/codeu_project_2017/milestones{/number}","notifications_url":"https://api.github.com/repos/arshana/codeu_project_2017/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arshana/codeu_project_2017/labels{/name}","releases_url":"https://api.github.com/repos/arshana/codeu_project_2017/releases{/id}","deployments_url":"https://api.github.com/repos/arshana/codeu_project_2017/deployments","created_at":"2017-05-16T18:47:05Z","updated_at":"2017-05-16T18:47:07Z","pushed_at":"2017-06-14T23:53:24Z","git_url":"git://github.com/arshana/codeu_project_2017.git","ssh_url":"git@github.com:arshana/codeu_project_2017.git","clone_url":"https://github.com/arshana/codeu_project_2017.git","svn_url":"https://github.com/arshana/codeu_project_2017","homepage":"","size":542,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arshana/codeu_project_2017/pulls/7"},"html":{"href":"https://github.com/arshana/codeu_project_2017/pull/7"},"issue":{"href":"https://api.github.com/repos/arshana/codeu_project_2017/issues/7"},"comments":{"href":"https://api.github.com/repos/arshana/codeu_project_2017/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/arshana/codeu_project_2017/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/arshana/codeu_project_2017/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arshana/codeu_project_2017/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/arshana/codeu_project_2017/statuses/430a6555f6a6c2bb11b6c995fe0150cd2fb21d65"}}}}
{"actor":{"display_login":"sanjana319"}}