{"action":"created","comment":{"url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/pulls/comments/30956493","id":30956493,"diff_hunk":"@@ -3,46 +3,76 @@\n import java.util.Scanner;\n \n /**\n- * TODO: Description of your class.\n+ * This program allow user to count words from string\n  *\n- * @author TODO: Your name here.\n+ * @author Niaz Morshed and Devya Gurung\n  */\n public class IntroducingMethods {\n \n-\tpublic static void main(String[] args) {\n-\n-\t\t// TODO: Fill in the body with your code\n-\t}\n-\n-\t/**\n-\t * Given a Scanner, prompts the user for a String. If the user enters an\n-\t * empty String, reports an error message and asks for a non-empty\n-\t * String. Returns the String to the calling program.\n-\t *\n-\t * @param inScanner The Scanner to use to prompt the user.\n-\t * @return The resulting String from the user.\n-\t */\n-\tprivate static String getInputString(Scanner inScanner) {\n-        // TODO: Fill in the body\n-\n-\t\t// NOTE: Do not declare a Scanner in the body of this method.\n-\t}\n-\n-\t/**\n-\t * Given a String, returns the number of words in the String. A word is\n-\t * a sequence of characters with no spaces. For example, the method\n-\t * call:\n-\t * <pre>\n-\t *      int count = getWordCount(\"The quick brown fox jumped\");\n-\t * </pre> results in count having a value of 5. This method should be\n-\t * called from the main method. For this assignment, you may assume that\n-\t * words will be separated by exactly one space.\n-\t *\n-\t * @param input The String in question.\n-\t * @return The number of words in the String. Each word is separated by\n-\t * a single space.\n-\t */\n-\tprivate static int getWordCount(String input) {\n-\t\t// TODO: Fill in the body\n-\t}\n+    public static void main(String[] args) {\n+\n+        // TODO: Fill in the body with your code","path":"IntroducingMethods/src/cst1201/IntroducingMethods.java","position":50,"original_position":50,"commit_id":"34b0ea9d57abfc72c5ebd44fbbb6efc696d443a1","original_commit_id":"34b0ea9d57abfc72c5ebd44fbbb6efc696d443a1","user":{"login":"khatchad","id":2048831,"avatar_url":"https://avatars.githubusercontent.com/u/2048831?v=3","gravatar_id":"","url":"https://api.github.com/users/khatchad","html_url":"https://github.com/khatchad","followers_url":"https://api.github.com/users/khatchad/followers","following_url":"https://api.github.com/users/khatchad/following{/other_user}","gists_url":"https://api.github.com/users/khatchad/gists{/gist_id}","starred_url":"https://api.github.com/users/khatchad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khatchad/subscriptions","organizations_url":"https://api.github.com/users/khatchad/orgs","repos_url":"https://api.github.com/users/khatchad/repos","events_url":"https://api.github.com/users/khatchad/events{/privacy}","received_events_url":"https://api.github.com/users/khatchad/received_events","type":"User","site_admin":false},"body":"Remove `TODO` comments once you have done the work.","created_at":"2015-05-24T22:24:05Z","updated_at":"2015-05-24T22:24:05Z","html_url":"https://github.com/cst1201-d644/Introducing-Methods/pull/14#discussion_r30956493","pull_request_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/pulls/comments/30956493"},"html":{"href":"https://github.com/cst1201-d644/Introducing-Methods/pull/14#discussion_r30956493"},"pull_request":{"href":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/pulls/14","id":34586850,"html_url":"https://github.com/cst1201-d644/Introducing-Methods/pull/14","diff_url":"https://github.com/cst1201-d644/Introducing-Methods/pull/14.diff","patch_url":"https://github.com/cst1201-d644/Introducing-Methods/pull/14.patch","issue_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/issues/14","number":14,"state":"open","locked":false,"title":"Chapter 5 Lab complete","user":{"login":"niazusa2012","id":10855856,"avatar_url":"https://avatars.githubusercontent.com/u/10855856?v=3","gravatar_id":"","url":"https://api.github.com/users/niazusa2012","html_url":"https://github.com/niazusa2012","followers_url":"https://api.github.com/users/niazusa2012/followers","following_url":"https://api.github.com/users/niazusa2012/following{/other_user}","gists_url":"https://api.github.com/users/niazusa2012/gists{/gist_id}","starred_url":"https://api.github.com/users/niazusa2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niazusa2012/subscriptions","organizations_url":"https://api.github.com/users/niazusa2012/orgs","repos_url":"https://api.github.com/users/niazusa2012/repos","events_url":"https://api.github.com/users/niazusa2012/events{/privacy}","received_events_url":"https://api.github.com/users/niazusa2012/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-02T15:03:54Z","updated_at":"2015-05-24T22:24:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d0514e2d28d5c71ce92090fe8c529ab26b1caf3d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/pulls/14/commits","review_comments_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/pulls/14/comments","review_comment_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/issues/14/comments","statuses_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/statuses/34b0ea9d57abfc72c5ebd44fbbb6efc696d443a1","head":{"label":"niazusa2012:master","ref":"master","sha":"34b0ea9d57abfc72c5ebd44fbbb6efc696d443a1","user":{"login":"niazusa2012","id":10855856,"avatar_url":"https://avatars.githubusercontent.com/u/10855856?v=3","gravatar_id":"","url":"https://api.github.com/users/niazusa2012","html_url":"https://github.com/niazusa2012","followers_url":"https://api.github.com/users/niazusa2012/followers","following_url":"https://api.github.com/users/niazusa2012/following{/other_user}","gists_url":"https://api.github.com/users/niazusa2012/gists{/gist_id}","starred_url":"https://api.github.com/users/niazusa2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niazusa2012/subscriptions","organizations_url":"https://api.github.com/users/niazusa2012/orgs","repos_url":"https://api.github.com/users/niazusa2012/repos","events_url":"https://api.github.com/users/niazusa2012/events{/privacy}","received_events_url":"https://api.github.com/users/niazusa2012/received_events","type":"User","site_admin":false},"repo":{"id":34950334,"name":"Introducing-Methods","full_name":"niazusa2012/Introducing-Methods","owner":{"login":"niazusa2012","id":10855856,"avatar_url":"https://avatars.githubusercontent.com/u/10855856?v=3","gravatar_id":"","url":"https://api.github.com/users/niazusa2012","html_url":"https://github.com/niazusa2012","followers_url":"https://api.github.com/users/niazusa2012/followers","following_url":"https://api.github.com/users/niazusa2012/following{/other_user}","gists_url":"https://api.github.com/users/niazusa2012/gists{/gist_id}","starred_url":"https://api.github.com/users/niazusa2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niazusa2012/subscriptions","organizations_url":"https://api.github.com/users/niazusa2012/orgs","repos_url":"https://api.github.com/users/niazusa2012/repos","events_url":"https://api.github.com/users/niazusa2012/events{/privacy}","received_events_url":"https://api.github.com/users/niazusa2012/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/niazusa2012/Introducing-Methods","description":"These exercises will allow you to write some programs structured using simple functions and procedures.","fork":true,"url":"https://api.github.com/repos/niazusa2012/Introducing-Methods","forks_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/forks","keys_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/teams","hooks_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/hooks","issue_events_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/issues/events{/number}","events_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/events","assignees_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/assignees{/user}","branches_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/branches{/branch}","tags_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/tags","blobs_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/git/refs{/sha}","trees_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/statuses/{sha}","languages_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/languages","stargazers_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/stargazers","contributors_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/contributors","subscribers_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/subscribers","subscription_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/subscription","commits_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/commits{/sha}","git_commits_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/git/commits{/sha}","comments_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/comments{/number}","issue_comment_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/issues/comments{/number}","contents_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/contents/{+path}","compare_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/merges","archive_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/downloads","issues_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/issues{/number}","pulls_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/pulls{/number}","milestones_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/milestones{/number}","notifications_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/labels{/name}","releases_url":"https://api.github.com/repos/niazusa2012/Introducing-Methods/releases{/id}","created_at":"2015-05-02T14:18:03Z","updated_at":"2015-05-02T15:02:30Z","pushed_at":"2015-05-02T15:02:29Z","git_url":"git://github.com/niazusa2012/Introducing-Methods.git","ssh_url":"git@github.com:niazusa2012/Introducing-Methods.git","clone_url":"https://github.com/niazusa2012/Introducing-Methods.git","svn_url":"https://github.com/niazusa2012/Introducing-Methods","homepage":null,"size":122,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cst1201-d644:master","ref":"master","sha":"6c1f5034b00a63ce42fafb7f4ed94a0a16b8d430","user":{"login":"cst1201-d644","id":10299488,"avatar_url":"https://avatars.githubusercontent.com/u/10299488?v=3","gravatar_id":"","url":"https://api.github.com/users/cst1201-d644","html_url":"https://github.com/cst1201-d644","followers_url":"https://api.github.com/users/cst1201-d644/followers","following_url":"https://api.github.com/users/cst1201-d644/following{/other_user}","gists_url":"https://api.github.com/users/cst1201-d644/gists{/gist_id}","starred_url":"https://api.github.com/users/cst1201-d644/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cst1201-d644/subscriptions","organizations_url":"https://api.github.com/users/cst1201-d644/orgs","repos_url":"https://api.github.com/users/cst1201-d644/repos","events_url":"https://api.github.com/users/cst1201-d644/events{/privacy}","received_events_url":"https://api.github.com/users/cst1201-d644/received_events","type":"Organization","site_admin":false},"repo":{"id":34281725,"name":"Introducing-Methods","full_name":"cst1201-d644/Introducing-Methods","owner":{"login":"cst1201-d644","id":10299488,"avatar_url":"https://avatars.githubusercontent.com/u/10299488?v=3","gravatar_id":"","url":"https://api.github.com/users/cst1201-d644","html_url":"https://github.com/cst1201-d644","followers_url":"https://api.github.com/users/cst1201-d644/followers","following_url":"https://api.github.com/users/cst1201-d644/following{/other_user}","gists_url":"https://api.github.com/users/cst1201-d644/gists{/gist_id}","starred_url":"https://api.github.com/users/cst1201-d644/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cst1201-d644/subscriptions","organizations_url":"https://api.github.com/users/cst1201-d644/orgs","repos_url":"https://api.github.com/users/cst1201-d644/repos","events_url":"https://api.github.com/users/cst1201-d644/events{/privacy}","received_events_url":"https://api.github.com/users/cst1201-d644/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cst1201-d644/Introducing-Methods","description":"These exercises will allow you to write some programs structured using simple functions and procedures.","fork":false,"url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods","forks_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/forks","keys_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/teams","hooks_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/hooks","issue_events_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/issues/events{/number}","events_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/events","assignees_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/assignees{/user}","branches_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/branches{/branch}","tags_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/tags","blobs_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/git/refs{/sha}","trees_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/statuses/{sha}","languages_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/languages","stargazers_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/stargazers","contributors_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/contributors","subscribers_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/subscribers","subscription_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/subscription","commits_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/commits{/sha}","git_commits_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/git/commits{/sha}","comments_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/comments{/number}","issue_comment_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/issues/comments{/number}","contents_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/contents/{+path}","compare_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/merges","archive_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/downloads","issues_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/issues{/number}","pulls_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/pulls{/number}","milestones_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/milestones{/number}","notifications_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/labels{/name}","releases_url":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/releases{/id}","created_at":"2015-04-20T19:32:09Z","updated_at":"2015-05-01T22:16:46Z","pushed_at":"2015-05-04T20:39:58Z","git_url":"git://github.com/cst1201-d644/Introducing-Methods.git","ssh_url":"git@github.com:cst1201-d644/Introducing-Methods.git","clone_url":"https://github.com/cst1201-d644/Introducing-Methods.git","svn_url":"https://github.com/cst1201-d644/Introducing-Methods","homepage":null,"size":393,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":2,"forks":20,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/pulls/14"},"html":{"href":"https://github.com/cst1201-d644/Introducing-Methods/pull/14"},"issue":{"href":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/issues/14"},"comments":{"href":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/cst1201-d644/Introducing-Methods/statuses/34b0ea9d57abfc72c5ebd44fbbb6efc696d443a1"}}}}