GitHub PullRequestReviewCommentEvent at 2014-12-31 03:52:25
Repository: java_training
Actor: leapfrog-dipendra
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/bibhushanJoshi/java_training/pulls/comments/22373968","id":22373968,"diff_hunk":"@@ -0,0 +1,89 @@\n+package dec29;\n+\n+import java.util.Scanner;\n+\n+/*\n+ *\n+ *\n+ * 1. Write a program that displays the temperatures from 0 degrees Celsius to 100\n+ *\t degrees Celsius and its Fahrenheit equivalent. Note that the conversion from\n+ *\t Celsius to Fahrenheit uses the following formula: F = C * 9/5 + 32;\n+ *\n+ * 2. Write a program to find the number of and sum of all integers greater than 100 \n+ * \tand less than 200 that are divisible by 7.\n+ *\n+ *\n+ *\n+ */\n+/**\n+ * \n+ * This class uses switch case to give user the option to do: Evaluation of the\n+ * temperature from 0°C to 100°C. Also with its conversion in Fahrenheit\n+ * greater than 100 and less than 200 and divisible by 7\n+ * \n+ * @author Bibhushan Raj Joshi\n+ */\n+\n+public class Assignment2 {\n+\n+\tprivate static Scanner scan;\n+\n+\tpublic static void main(String[] args) {\n+\t\tint choice = 0;\n+\t\tscan = new Scanner(System.in);\n+\t\t\n+\t\tSystem.out.println(\"choices: \");\n+\t\tSystem.out.println(\"1:Temperature Converter\");\n+\t\tSystem.out.println(\"2:Sum of number greater than 100-200 divisible by 7\");\n+\t\t\n+\t\tchoice = scan.nextInt();\n+\n+\t\tswitch (choice) {\n+\t\tcase 1:\n+\t\t\ttempConverter();\n+\t\t\tbreak;\n+\t\tcase 2:\n+\t\t\tnumberSum();\n+\t\t\tbreak;\n+\t\tdefault:\n+\t\t\tSystem.out.println(\"Error : wrong choice\");\n+\t\t\tbreak;\n+\t\t}\n+\t}\n+\n+\t\n+\t// Function to sum the number between 100-200\n+\tpublic static void numberSum() {","path":"src/dec29/Assignment2.java","position":56,"original_position":56,"commit_id":"c2382fdc9c20535331ac5fec4d0d4664a8e30227","original_commit_id":"3f622d05deb7bc07e518c7788bbabe780bfa13c1","user":{"login":"leapfrog-dipendra","id":1026439,"avatar_url":"https://avatars.githubusercontent.com/u/1026439?v=3","gravatar_id":"","url":"https://api.github.com/users/leapfrog-dipendra","html_url":"https://github.com/leapfrog-dipendra","followers_url":"https://api.github.com/users/leapfrog-dipendra/followers","following_url":"https://api.github.com/users/leapfrog-dipendra/following{/other_user}","gists_url":"https://api.github.com/users/leapfrog-dipendra/gists{/gist_id}","starred_url":"https://api.github.com/users/leapfrog-dipendra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leapfrog-dipendra/subscriptions","organizations_url":"https://api.github.com/users/leapfrog-dipendra/orgs","repos_url":"https://api.github.com/users/leapfrog-dipendra/repos","events_url":"https://api.github.com/users/leapfrog-dipendra/events{/privacy}","received_events_url":"https://api.github.com/users/leapfrog-dipendra/received_events","type":"User","site_admin":false},"body":"use proper javadoc convention.","created_at":"2014-12-31T03:52:25Z","updated_at":"2014-12-31T03:52:25Z","html_url":"https://github.com/bibhushanJoshi/java_training/pull/4#discussion_r22373968","pull_request_url":"https://api.github.com/repos/bibhushanJoshi/java_training/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/bibhushanJoshi/java_training/pulls/comments/22373968"},"html":{"href":"https://github.com/bibhushanJoshi/java_training/pull/4#discussion_r22373968"},"pull_request":{"href":"https://api.github.com/repos/bibhushanJoshi/java_training/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/bibhushanJoshi/java_training/pulls/4","id":26713075,"html_url":"https://github.com/bibhushanJoshi/java_training/pull/4","diff_url":"https://github.com/bibhushanJoshi/java_training/pull/4.diff","patch_url":"https://github.com/bibhushanJoshi/java_training/pull/4.patch","issue_url":"https://api.github.com/repos/bibhushanJoshi/java_training/issues/4","number":4,"state":"open","locked":false,"title":"Assignment - 2","user":{"login":"bibhushanJoshi","id":10345448,"avatar_url":"https://avatars.githubusercontent.com/u/10345448?v=3","gravatar_id":"","url":"https://api.github.com/users/bibhushanJoshi","html_url":"https://github.com/bibhushanJoshi","followers_url":"https://api.github.com/users/bibhushanJoshi/followers","following_url":"https://api.github.com/users/bibhushanJoshi/following{/other_user}","gists_url":"https://api.github.com/users/bibhushanJoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/bibhushanJoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bibhushanJoshi/subscriptions","organizations_url":"https://api.github.com/users/bibhushanJoshi/orgs","repos_url":"https://api.github.com/users/bibhushanJoshi/repos","events_url":"https://api.github.com/users/bibhushanJoshi/events{/privacy}","received_events_url":"https://api.github.com/users/bibhushanJoshi/received_events","type":"User","site_admin":false},"body":"@Msanjib  @leapfrog-dipendra  @adhpawal  @bhuwang  @nerisa  @utsabneupane  @anishmanandhar  @Satish-Gupta  ","created_at":"2014-12-31T02:26:33Z","updated_at":"2014-12-31T03:52:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a3beae8a3cef16972032689d09484d3a44adea3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bibhushanJoshi/java_training/pulls/4/commits","review_comments_url":"https://api.github.com/repos/bibhushanJoshi/java_training/pulls/4/comments","review_comment_url":"https://api.github.com/repos/bibhushanJoshi/java_training/pulls/comments/{number}","comments_url":"https://api.github.com/repos/bibhushanJoshi/java_training/issues/4/comments","statuses_url":"https://api.github.com/repos/bibhushanJoshi/java_training/statuses/c2382fdc9c20535331ac5fec4d0d4664a8e30227","head":{"label":"bibhushanJoshi:dec29","ref":"dec29","sha":"c2382fdc9c20535331ac5fec4d0d4664a8e30227","user":{"login":"bibhushanJoshi","id":10345448,"avatar_url":"https://avatars.githubusercontent.com/u/10345448?v=3","gravatar_id":"","url":"https://api.github.com/users/bibhushanJoshi","html_url":"https://github.com/bibhushanJoshi","followers_url":"https://api.github.com/users/bibhushanJoshi/followers","following_url":"https://api.github.com/users/bibhushanJoshi/following{/other_user}","gists_url":"https://api.github.com/users/bibhushanJoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/bibhushanJoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bibhushanJoshi/subscriptions","organizations_url":"https://api.github.com/users/bibhushanJoshi/orgs","repos_url":"https://api.github.com/users/bibhushanJoshi/repos","events_url":"https://api.github.com/users/bibhushanJoshi/events{/privacy}","received_events_url":"https://api.github.com/users/bibhushanJoshi/received_events","type":"User","site_admin":false},"repo":{"id":28618891,"name":"java_training","full_name":"bibhushanJoshi/java_training","owner":{"login":"bibhushanJoshi","id":10345448,"avatar_url":"https://avatars.githubusercontent.com/u/10345448?v=3","gravatar_id":"","url":"https://api.github.com/users/bibhushanJoshi","html_url":"https://github.com/bibhushanJoshi","followers_url":"https://api.github.com/users/bibhushanJoshi/followers","following_url":"https://api.github.com/users/bibhushanJoshi/following{/other_user}","gists_url":"https://api.github.com/users/bibhushanJoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/bibhushanJoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bibhushanJoshi/subscriptions","organizations_url":"https://api.github.com/users/bibhushanJoshi/orgs","repos_url":"https://api.github.com/users/bibhushanJoshi/repos","events_url":"https://api.github.com/users/bibhushanJoshi/events{/privacy}","received_events_url":"https://api.github.com/users/bibhushanJoshi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bibhushanJoshi/java_training","description":"The repository consists of all the assignments of java","fork":false,"url":"https://api.github.com/repos/bibhushanJoshi/java_training","forks_url":"https://api.github.com/repos/bibhushanJoshi/java_training/forks","keys_url":"https://api.github.com/repos/bibhushanJoshi/java_training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bibhushanJoshi/java_training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bibhushanJoshi/java_training/teams","hooks_url":"https://api.github.com/repos/bibhushanJoshi/java_training/hooks","issue_events_url":"https://api.github.com/repos/bibhushanJoshi/java_training/issues/events{/number}","events_url":"https://api.github.com/repos/bibhushanJoshi/java_training/events","assignees_url":"https://api.github.com/repos/bibhushanJoshi/java_training/assignees{/user}","branches_url":"https://api.github.com/repos/bibhushanJoshi/java_training/branches{/branch}","tags_url":"https://api.github.com/repos/bibhushanJoshi/java_training/tags","blobs_url":"https://api.github.com/repos/bibhushanJoshi/java_training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bibhushanJoshi/java_training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bibhushanJoshi/java_training/git/refs{/sha}","trees_url":"https://api.github.com/repos/bibhushanJoshi/java_training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bibhushanJoshi/java_training/statuses/{sha}","languages_url":"https://api.github.com/repos/bibhushanJoshi/java_training/languages","stargazers_url":"https://api.github.com/repos/bibhushanJoshi/java_training/stargazers","contributors_url":"https://api.github.com/repos/bibhushanJoshi/java_training/contributors","subscribers_url":"https://api.github.com/repos/bibhushanJoshi/java_training/subscribers","subscription_url":"https://api.github.com/repos/bibhushanJoshi/java_training/subscription","commits_url":"https://api.github.com/repos/bibhushanJoshi/java_training/commits{/sha}","git_commits_url":"https://api.github.com/repos/bibhushanJoshi/java_training/git/commits{/sha}","comments_url":"https://api.github.com/repos/bibhushanJoshi/java_training/comments{/number}","issue_comment_url":"https://api.github.com/repos/bibhushanJoshi/java_training/issues/comments/{number}","contents_url":"https://api.github.com/repos/bibhushanJoshi/java_training/contents/{+path}","compare_url":"https://api.github.com/repos/bibhushanJoshi/java_training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bibhushanJoshi/java_training/merges","archive_url":"https://api.github.com/repos/bibhushanJoshi/java_training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bibhushanJoshi/java_training/downloads","issues_url":"https://api.github.com/repos/bibhushanJoshi/java_training/issues{/number}","pulls_url":"https://api.github.com/repos/bibhushanJoshi/java_training/pulls{/number}","milestones_url":"https://api.github.com/repos/bibhushanJoshi/java_training/milestones{/number}","notifications_url":"https://api.github.com/repos/bibhushanJoshi/java_training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bibhushanJoshi/java_training/labels{/name}","releases_url":"https://api.github.com/repos/bibhushanJoshi/java_training/releases{/id}","created_at":"2014-12-30T05:30:38Z","updated_at":"2014-12-30T05:30:38Z","pushed_at":"2014-12-31T03:51:30Z","git_url":"git://github.com/bibhushanJoshi/java_training.git","ssh_url":"git@github.com:bibhushanJoshi/java_training.git","clone_url":"https://github.com/bibhushanJoshi/java_training.git","svn_url":"https://github.com/bibhushanJoshi/java_training","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"dev"}},"base":{"label":"bibhushanJoshi:dev","ref":"dev","sha":"de2dcdbf2f8445330d3bac27a6868f9865b01b17","user":{"login":"bibhushanJoshi","id":10345448,"avatar_url":"https://avatars.githubusercontent.com/u/10345448?v=3","gravatar_id":"","url":"https://api.github.com/users/bibhushanJoshi","html_url":"https://github.com/bibhushanJoshi","followers_url":"https://api.github.com/users/bibhushanJoshi/followers","following_url":"https://api.github.com/users/bibhushanJoshi/following{/other_user}","gists_url":"https://api.github.com/users/bibhushanJoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/bibhushanJoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bibhushanJoshi/subscriptions","organizations_url":"https://api.github.com/users/bibhushanJoshi/orgs","repos_url":"https://api.github.com/users/bibhushanJoshi/repos","events_url":"https://api.github.com/users/bibhushanJoshi/events{/privacy}","received_events_url":"https://api.github.com/users/bibhushanJoshi/received_events","type":"User","site_admin":false},"repo":{"id":28618891,"name":"java_training","full_name":"bibhushanJoshi/java_training","owner":{"login":"bibhushanJoshi","id":10345448,"avatar_url":"https://avatars.githubusercontent.com/u/10345448?v=3","gravatar_id":"","url":"https://api.github.com/users/bibhushanJoshi","html_url":"https://github.com/bibhushanJoshi","followers_url":"https://api.github.com/users/bibhushanJoshi/followers","following_url":"https://api.github.com/users/bibhushanJoshi/following{/other_user}","gists_url":"https://api.github.com/users/bibhushanJoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/bibhushanJoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bibhushanJoshi/subscriptions","organizations_url":"https://api.github.com/users/bibhushanJoshi/orgs","repos_url":"https://api.github.com/users/bibhushanJoshi/repos","events_url":"https://api.github.com/users/bibhushanJoshi/events{/privacy}","received_events_url":"https://api.github.com/users/bibhushanJoshi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bibhushanJoshi/java_training","description":"The repository consists of all the assignments of java","fork":false,"url":"https://api.github.com/repos/bibhushanJoshi/java_training","forks_url":"https://api.github.com/repos/bibhushanJoshi/java_training/forks","keys_url":"https://api.github.com/repos/bibhushanJoshi/java_training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bibhushanJoshi/java_training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bibhushanJoshi/java_training/teams","hooks_url":"https://api.github.com/repos/bibhushanJoshi/java_training/hooks","issue_events_url":"https://api.github.com/repos/bibhushanJoshi/java_training/issues/events{/number}","events_url":"https://api.github.com/repos/bibhushanJoshi/java_training/events","assignees_url":"https://api.github.com/repos/bibhushanJoshi/java_training/assignees{/user}","branches_url":"https://api.github.com/repos/bibhushanJoshi/java_training/branches{/branch}","tags_url":"https://api.github.com/repos/bibhushanJoshi/java_training/tags","blobs_url":"https://api.github.com/repos/bibhushanJoshi/java_training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bibhushanJoshi/java_training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bibhushanJoshi/java_training/git/refs{/sha}","trees_url":"https://api.github.com/repos/bibhushanJoshi/java_training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bibhushanJoshi/java_training/statuses/{sha}","languages_url":"https://api.github.com/repos/bibhushanJoshi/java_training/languages","stargazers_url":"https://api.github.com/repos/bibhushanJoshi/java_training/stargazers","contributors_url":"https://api.github.com/repos/bibhushanJoshi/java_training/contributors","subscribers_url":"https://api.github.com/repos/bibhushanJoshi/java_training/subscribers","subscription_url":"https://api.github.com/repos/bibhushanJoshi/java_training/subscription","commits_url":"https://api.github.com/repos/bibhushanJoshi/java_training/commits{/sha}","git_commits_url":"https://api.github.com/repos/bibhushanJoshi/java_training/git/commits{/sha}","comments_url":"https://api.github.com/repos/bibhushanJoshi/java_training/comments{/number}","issue_comment_url":"https://api.github.com/repos/bibhushanJoshi/java_training/issues/comments/{number}","contents_url":"https://api.github.com/repos/bibhushanJoshi/java_training/contents/{+path}","compare_url":"https://api.github.com/repos/bibhushanJoshi/java_training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bibhushanJoshi/java_training/merges","archive_url":"https://api.github.com/repos/bibhushanJoshi/java_training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bibhushanJoshi/java_training/downloads","issues_url":"https://api.github.com/repos/bibhushanJoshi/java_training/issues{/number}","pulls_url":"https://api.github.com/repos/bibhushanJoshi/java_training/pulls{/number}","milestones_url":"https://api.github.com/repos/bibhushanJoshi/java_training/milestones{/number}","notifications_url":"https://api.github.com/repos/bibhushanJoshi/java_training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bibhushanJoshi/java_training/labels{/name}","releases_url":"https://api.github.com/repos/bibhushanJoshi/java_training/releases{/id}","created_at":"2014-12-30T05:30:38Z","updated_at":"2014-12-30T05:30:38Z","pushed_at":"2014-12-31T03:51:30Z","git_url":"git://github.com/bibhushanJoshi/java_training.git","ssh_url":"git@github.com:bibhushanJoshi/java_training.git","clone_url":"https://github.com/bibhushanJoshi/java_training.git","svn_url":"https://github.com/bibhushanJoshi/java_training","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/bibhushanJoshi/java_training/pulls/4"},"html":{"href":"https://github.com/bibhushanJoshi/java_training/pull/4"},"issue":{"href":"https://api.github.com/repos/bibhushanJoshi/java_training/issues/4"},"comments":{"href":"https://api.github.com/repos/bibhushanJoshi/java_training/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/bibhushanJoshi/java_training/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/bibhushanJoshi/java_training/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/bibhushanJoshi/java_training/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/bibhushanJoshi/java_training/statuses/c2382fdc9c20535331ac5fec4d0d4664a8e30227"}}}}