{"action":"created","comment":{"url":"https://api.github.com/repos/cst1201-d644/StringManipulator/pulls/comments/25801727","id":25801727,"diff_hunk":"@@ -1,24 +1,38 @@\n package hw1;\n \n+import java.util.Scanner;\n /**\n  * Homework:String Manipulator.\n  *\n- * @author <a href=\"mailto:youremail@mail.citytech.cuny.edu\">Your Name</a>.\n+ * @author <a href=\"mailto:goutam.kundu@mail.citytech.cuny.edu\">Goutam Kundu</a>.\n  */\n public class StringManipulator {\n \n     /**\n      * The main method. This is the method that will execute when you start your\n      * program.\n+     * @param args\n      */\n     public static void main(String[] args) {\n-        /*\n-         Write a program that asks the user to enter the name of his or her favorite city. \n+        \n+         /*Write a program that asks the user to enter the name of his or her favorite city. \n          Use a String variable to store the input. The program should display the following:\n          The number of characters in the city name\n          The name of the city in all uppercase letters\n          The name of the city in all lowercase letters\n-         The first character in the name of the city\n-         */\n+         The first character in the name of the city*/\n+         System.out.println(\"Please enter your favorite city: \");\n+         Scanner sc = new Scanner(System.in);\n+\n+        String in = sc.nextLine();\n+        String Upper = in.toUpperCase();","path":"src/hw1/StringManipulator.java","position":33,"original_position":33,"commit_id":"6b14a370e636273f38b1540cb6ae3176217ada79","original_commit_id":"6b14a370e636273f38b1540cb6ae3176217ada79","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":"Variable names should start with a lowercase letter, e.g., `upper`.","created_at":"2015-03-04T18:54:45Z","updated_at":"2015-03-04T18:54:45Z","html_url":"https://github.com/cst1201-d644/StringManipulator/pull/8#discussion_r25801727","pull_request_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/cst1201-d644/StringManipulator/pulls/comments/25801727"},"html":{"href":"https://github.com/cst1201-d644/StringManipulator/pull/8#discussion_r25801727"},"pull_request":{"href":"https://api.github.com/repos/cst1201-d644/StringManipulator/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/cst1201-d644/StringManipulator/pulls/8","id":30042426,"html_url":"https://github.com/cst1201-d644/StringManipulator/pull/8","diff_url":"https://github.com/cst1201-d644/StringManipulator/pull/8.diff","patch_url":"https://github.com/cst1201-d644/StringManipulator/pull/8.patch","issue_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/issues/8","number":8,"state":"open","locked":false,"title":"StringManipulator_GKundu","user":{"login":"GKundu","id":10855872,"avatar_url":"https://avatars.githubusercontent.com/u/10855872?v=3","gravatar_id":"","url":"https://api.github.com/users/GKundu","html_url":"https://github.com/GKundu","followers_url":"https://api.github.com/users/GKundu/followers","following_url":"https://api.github.com/users/GKundu/following{/other_user}","gists_url":"https://api.github.com/users/GKundu/gists{/gist_id}","starred_url":"https://api.github.com/users/GKundu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GKundu/subscriptions","organizations_url":"https://api.github.com/users/GKundu/orgs","repos_url":"https://api.github.com/users/GKundu/repos","events_url":"https://api.github.com/users/GKundu/events{/privacy}","received_events_url":"https://api.github.com/users/GKundu/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-26T01:14:09Z","updated_at":"2015-03-04T18:54:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50e59cc0a383823b6dbc94ec40f8ac390fc0b35c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/pulls/8/commits","review_comments_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/pulls/8/comments","review_comment_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/issues/8/comments","statuses_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/statuses/6b14a370e636273f38b1540cb6ae3176217ada79","head":{"label":"GKundu:master","ref":"master","sha":"6b14a370e636273f38b1540cb6ae3176217ada79","user":{"login":"GKundu","id":10855872,"avatar_url":"https://avatars.githubusercontent.com/u/10855872?v=3","gravatar_id":"","url":"https://api.github.com/users/GKundu","html_url":"https://github.com/GKundu","followers_url":"https://api.github.com/users/GKundu/followers","following_url":"https://api.github.com/users/GKundu/following{/other_user}","gists_url":"https://api.github.com/users/GKundu/gists{/gist_id}","starred_url":"https://api.github.com/users/GKundu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GKundu/subscriptions","organizations_url":"https://api.github.com/users/GKundu/orgs","repos_url":"https://api.github.com/users/GKundu/repos","events_url":"https://api.github.com/users/GKundu/events{/privacy}","received_events_url":"https://api.github.com/users/GKundu/received_events","type":"User","site_admin":false},"repo":{"id":31344300,"name":"StringManipulator","full_name":"GKundu/StringManipulator","owner":{"login":"GKundu","id":10855872,"avatar_url":"https://avatars.githubusercontent.com/u/10855872?v=3","gravatar_id":"","url":"https://api.github.com/users/GKundu","html_url":"https://github.com/GKundu","followers_url":"https://api.github.com/users/GKundu/followers","following_url":"https://api.github.com/users/GKundu/following{/other_user}","gists_url":"https://api.github.com/users/GKundu/gists{/gist_id}","starred_url":"https://api.github.com/users/GKundu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GKundu/subscriptions","organizations_url":"https://api.github.com/users/GKundu/orgs","repos_url":"https://api.github.com/users/GKundu/repos","events_url":"https://api.github.com/users/GKundu/events{/privacy}","received_events_url":"https://api.github.com/users/GKundu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GKundu/StringManipulator","description":"Starting code for Homework: String Manipulator.","fork":true,"url":"https://api.github.com/repos/GKundu/StringManipulator","forks_url":"https://api.github.com/repos/GKundu/StringManipulator/forks","keys_url":"https://api.github.com/repos/GKundu/StringManipulator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GKundu/StringManipulator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GKundu/StringManipulator/teams","hooks_url":"https://api.github.com/repos/GKundu/StringManipulator/hooks","issue_events_url":"https://api.github.com/repos/GKundu/StringManipulator/issues/events{/number}","events_url":"https://api.github.com/repos/GKundu/StringManipulator/events","assignees_url":"https://api.github.com/repos/GKundu/StringManipulator/assignees{/user}","branches_url":"https://api.github.com/repos/GKundu/StringManipulator/branches{/branch}","tags_url":"https://api.github.com/repos/GKundu/StringManipulator/tags","blobs_url":"https://api.github.com/repos/GKundu/StringManipulator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GKundu/StringManipulator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GKundu/StringManipulator/git/refs{/sha}","trees_url":"https://api.github.com/repos/GKundu/StringManipulator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GKundu/StringManipulator/statuses/{sha}","languages_url":"https://api.github.com/repos/GKundu/StringManipulator/languages","stargazers_url":"https://api.github.com/repos/GKundu/StringManipulator/stargazers","contributors_url":"https://api.github.com/repos/GKundu/StringManipulator/contributors","subscribers_url":"https://api.github.com/repos/GKundu/StringManipulator/subscribers","subscription_url":"https://api.github.com/repos/GKundu/StringManipulator/subscription","commits_url":"https://api.github.com/repos/GKundu/StringManipulator/commits{/sha}","git_commits_url":"https://api.github.com/repos/GKundu/StringManipulator/git/commits{/sha}","comments_url":"https://api.github.com/repos/GKundu/StringManipulator/comments{/number}","issue_comment_url":"https://api.github.com/repos/GKundu/StringManipulator/issues/comments{/number}","contents_url":"https://api.github.com/repos/GKundu/StringManipulator/contents/{+path}","compare_url":"https://api.github.com/repos/GKundu/StringManipulator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GKundu/StringManipulator/merges","archive_url":"https://api.github.com/repos/GKundu/StringManipulator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GKundu/StringManipulator/downloads","issues_url":"https://api.github.com/repos/GKundu/StringManipulator/issues{/number}","pulls_url":"https://api.github.com/repos/GKundu/StringManipulator/pulls{/number}","milestones_url":"https://api.github.com/repos/GKundu/StringManipulator/milestones{/number}","notifications_url":"https://api.github.com/repos/GKundu/StringManipulator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GKundu/StringManipulator/labels{/name}","releases_url":"https://api.github.com/repos/GKundu/StringManipulator/releases{/id}","created_at":"2015-02-26T01:09:57Z","updated_at":"2015-02-26T01:13:19Z","pushed_at":"2015-02-26T01:13:19Z","git_url":"git://github.com/GKundu/StringManipulator.git","ssh_url":"git@github.com:GKundu/StringManipulator.git","clone_url":"https://github.com/GKundu/StringManipulator.git","svn_url":"https://github.com/GKundu/StringManipulator","homepage":null,"size":107,"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":"360091960c0dc33cafcc85315c340da1cbdc0daa","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":31236065,"name":"StringManipulator","full_name":"cst1201-d644/StringManipulator","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/StringManipulator","description":"Starting code for Homework: String Manipulator.","fork":false,"url":"https://api.github.com/repos/cst1201-d644/StringManipulator","forks_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/forks","keys_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/teams","hooks_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/hooks","issue_events_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/issues/events{/number}","events_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/events","assignees_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/assignees{/user}","branches_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/branches{/branch}","tags_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/tags","blobs_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/git/refs{/sha}","trees_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/statuses/{sha}","languages_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/languages","stargazers_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/stargazers","contributors_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/contributors","subscribers_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/subscribers","subscription_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/subscription","commits_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/commits{/sha}","git_commits_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/git/commits{/sha}","comments_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/comments{/number}","issue_comment_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/issues/comments{/number}","contents_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/contents/{+path}","compare_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/merges","archive_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/downloads","issues_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/issues{/number}","pulls_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/pulls{/number}","milestones_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/milestones{/number}","notifications_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/labels{/name}","releases_url":"https://api.github.com/repos/cst1201-d644/StringManipulator/releases{/id}","created_at":"2015-02-23T23:41:25Z","updated_at":"2015-02-24T00:09:17Z","pushed_at":"2015-02-24T00:09:16Z","git_url":"git://github.com/cst1201-d644/StringManipulator.git","ssh_url":"git@github.com:cst1201-d644/StringManipulator.git","clone_url":"https://github.com/cst1201-d644/StringManipulator.git","svn_url":"https://github.com/cst1201-d644/StringManipulator","homepage":null,"size":262,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":5,"forks":13,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cst1201-d644/StringManipulator/pulls/8"},"html":{"href":"https://github.com/cst1201-d644/StringManipulator/pull/8"},"issue":{"href":"https://api.github.com/repos/cst1201-d644/StringManipulator/issues/8"},"comments":{"href":"https://api.github.com/repos/cst1201-d644/StringManipulator/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/cst1201-d644/StringManipulator/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/cst1201-d644/StringManipulator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cst1201-d644/StringManipulator/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/cst1201-d644/StringManipulator/statuses/6b14a370e636273f38b1540cb6ae3176217ada79"}}}}