{"action":"created","comment":{"url":"https://api.github.com/repos/bhuwang/java_training/pulls/comments/39817155","id":39817155,"diff_hunk":"@@ -0,0 +1,397 @@\n+\n+package com.lftechnology.java.training.srijan.basics.coreapp.ui;\n+\n+import com.lftechnology.java.training.srijan.basics.coreapp.controller.EmployeeController;\n+import com.lftechnology.java.training.srijan.basics.coreapp.domain.Employee;\n+import com.lftechnology.java.training.srijan.basics.coreapp.domain.SearchEmployee;\n+import com.lftechnology.java.training.srijan.basics.coreapp.domain.UserRole;\n+\n+import java.util.List;\n+import java.util.Scanner;\n+import java.util.logging.Level;\n+import java.util.logging.Logger;\n+\n+public class EmployeeView {\n+\n+\tprivate static final Logger LOGGER =\n+\t\tLogger.getLogger(EmployeeView.class.getName());\n+\tList<Employee> employees;\n+\tEmployee employee;\n+\tEmployee e = new Employee();\n+\tEmployeeController employeeControl = new EmployeeController();\n+\tprivate int choiceUserRole;\n+\tprivate int userStatus;\n+\tprivate String username;\n+\tprivate String fullname;\n+\tprivate String department;\n+\tprivate String address;\n+\tprivate String password;\n+\n+\tpublic EmployeeView() {\n+\t\tthis.choiceUserRole = 0;\n+\t\tthis.userStatus = 0;\n+\t\tthis.username = \"\";\n+\t\tthis.fullname = \"\";\n+\t\tthis.department = \"\";\n+\t\tthis.address = \"\";\n+\t\tthis.password = \"\";\n+\t}\n+\n+\t/**\n+\t * <p>Takes employee information from user</p>\n+\t * \n+\t * @param e\n+\t * @return\n+\t * @author srijan\n+\t */\n+\tpublic Employee inputUserInfo(Employee e, Scanner input) {\n+\n+\t\tBoolean checkUserValidity;\n+\t\ttry {\n+\t\t\tinput = new Scanner(System.in);\n+\t\t\tdo {\n+\t\t\t\tLOGGER.log(Level.INFO, \"Enter Username*:\");\n+\t\t\t\tthis.username = input.nextLine();\n+\t\t\t\te.setUserName(username);\n+\t\t\t\tcheckUserValidity = employeeControl.checkUsernameValidation(e);\n+\t\t\t\tif (checkUserValidity.equals(true)) {\n+\t\t\t\t\tLOGGER.log(\n+\t\t\t\t\t\tLevel.INFO,\n+\t\t\t\t\t\t\"Duplicate Username or Empty Username..Please choose another Username\");\n+\t\t\t\t}\n+\t\t\t\telse {\n+\t\t\t\t\tLOGGER.log(Level.INFO, \"valid Username\");\n+\t\t\t\t}\n+\t\t\t}\n+\t\t\twhile (checkUserValidity.equals(true));\n+\t\t\tLOGGER.log(Level.INFO, \"Enter Fullname*:\");\n+\t\t\tthis.fullname = input.nextLine();\n+\t\t\te.setFullName(fullname);\n+\t\t\tLOGGER.log(Level.INFO, \"Enter Department*:\");\n+\t\t\tthis.department = input.nextLine();\n+\t\t\te.setDepartment(department);\n+\t\t\tLOGGER.log(Level.INFO, \"Enter Address:\");\n+\t\t\tthis.address = input.nextLine();\n+\t\t\te.setAddress(address);\n+\t\t\tLOGGER.log(Level.INFO, \"Enter password*\");\n+\t\t\tthis.password = input.nextLine();\n+\t\t\te.setPassword(password);\n+\t\t\tLOGGER.log(\n+\t\t\t\tLevel.INFO,\n+\t\t\t\t\"Enter User Role*:\\n1.ADMIN\\n2.NORMAL\\n3.Default: NORMAL\");\n+\t\t\tthis.choiceUserRole = input.nextInt();\n+\t\t\tswitch (choiceUserRole) {\n+\t\t\tcase 1:\n+\t\t\t\te.setUserRole(UserRole.ADMIN);\n+\t\t\t\tbreak;\n+\t\t\tcase 2:\n+\t\t\t\te.setUserRole(UserRole.NORMAL);\n+\t\t\t\tbreak;\n+\t\t\tdefault:\n+\t\t\t\tLOGGER.log(\n+\t\t\t\t\tLevel.INFO,\n+\t\t\t\t\t\"please choose right option,Default Normal user assigned\");\n+\t\t\t\te.setUserRole(UserRole.NORMAL);\n+\t\t\t\tbreak;\n+\t\t\t}\n+\t\t\tLOGGER.log(\n+\t\t\t\tLevel.INFO,\n+\t\t\t\t\"User status:\\n0.Not terminated\\n1.Terminated\\n2.Default: Not Terminated\");\n+\t\t\tuserStatus = input.nextInt();\n+\t\t\tswitch (userStatus) {\n+\t\t\tcase 0:\n+\t\t\t\te.setIsTerminated(false);\n+\t\t\t\tbreak;\n+\t\t\tcase 1:\n+\t\t\t\te.setIsTerminated(true);\n+\t\t\t\tbreak;\n+\t\t\tdefault:\n+\t\t\t\tLOGGER.log(\n+\t\t\t\t\tLevel.INFO,\n+\t\t\t\t\t\"Wrong option, User has been default assigned to Not Terminated\");\n+\t\t\t\te.setIsTerminated(false);\n+\t\t\t\tbreak;\n+\t\t\t}\n+\t\t}\n+\t\tcatch (Exception ex) {\n+\t\t\tLOGGER.log(Level.INFO, \"Exception\", ex);\n+\t\t}\n+\t\treturn e;\n+\t}\n+\n+\t/**\n+\t * <p>Calls different user methods depending upon user choice</p>\n+\t * \n+\t * @param normalUserChoice\n+\t * @param userName\n+\t * @author srijan\n+\t */\n+\tpublic void normalUserOptionHandler(int normalUserChoice, Employee em,Scanner input) {\n+\n+\t\tswitch (normalUserChoice) {\n+\t\tcase 1:\n+\t\t\temployees = employeeControl.viewAllUser(em);\n+\t\t\tLOGGER.log(Level.INFO, \"{0}\", employees);\n+\t\t\tbreak;\n+\t\tcase 2:\n+\t\t\temployee = employeeControl.findUserByUserName(em);\n+\t\t\tLOGGER.log(Level.INFO, \"{0}\", employee);\n+\t\t\tEmployee changedProfileDetails = changeProfile(employee,input);\n+\t\t\tBoolean status =\n+\t\t\t\temployeeControl.updateProfile(changedProfileDetails);\n+\t\t\tif (status.equals(true)) {\n+\t\t\t\tLOGGER.log(Level.INFO, \"Update Successful\");\n+\t\t\t}\n+\t\t\tbreak;\n+\t\tcase 3:\n+\t\t\texit();\n+\t\t\tbreak;\n+\t\tdefault:\n+\t\t\tLOGGER.log(Level.INFO,\n+\t\t\t\t\"Please choose option properly,Default view all user block\");\n+\t\t\temployees = employeeControl.viewAllUser(em);\n+\t\t\tLOGGER.log(Level.INFO, \"{0}\", employees);\n+\t\t\tbreak;\n+\t\t}\n+\t}\n+\n+\t/**\n+\t * <p>edit and terminate user</p>\n+\t * \n+\t * @return\n+\t * @author srijan\n+\t */\n+\tpublic int editAndTerminateEmployee(Scanner input) {\n+\n+\t\tint employeeIdToEdit = 0;\n+\t\ttry {\n+\t\t\tinput = new Scanner(System.in);\n+\t\t\temployeeIdToEdit = input.nextInt();\n+\t\t}\n+\t\tcatch (Exception ex) {\n+\t\t\tLOGGER.log(Level.INFO, \"Exception\", ex);\n+\t\t}\n+\t\treturn employeeIdToEdit;\n+\t}\n+\n+\t/**\n+\t * <p>Change profile of an user</p>\n+\t * \n+\t * @param emp\n+\t * @return\n+\t * @author srijan\n+\t */\n+\tpublic Employee changeProfile(Employee emp,Scanner input) {\n+\n+\t\ttry {\n+\t\t\tinput = new Scanner(System.in);\n+\t\t\tLOGGER.log(Level.INFO, \"Enter Username:\");\n+\t\t\tthis.username = input.nextLine();\n+\t\t\tif (!\"\".equals(username))\n+\t\t\t\temp.setUserName(username);\n+\t\t\tLOGGER.log(Level.INFO, \"Enter Fullname:\");\n+\t\t\tthis.fullname = input.nextLine();\n+\t\t\tif (!\"\".equals(fullname))\n+\t\t\t\temp.setFullName(fullname);\n+\t\t\tLOGGER.log(Level.INFO, \"Enter Department:\");\n+\t\t\tthis.department = input.nextLine();\n+\t\t\tif (!\"\".equals(department))\n+\t\t\t\temp.setDepartment(department);\n+\t\t\tLOGGER.log(Level.INFO, \"Enter Address:\");\n+\t\t\tthis.address = input.nextLine();\n+\t\t\tif (!\"\".equals(address))\n+\t\t\t\temp.setAddress(address);\n+\t\t}\n+\t\tcatch (Exception ex) {\n+\t\t\tLOGGER.log(Level.INFO, \"Exception{0}\", ex);\n+\t\t}\n+\t\treturn emp;\n+\t}\n+\n+\t/**\n+\t * <p>Takes input from user the search choice and value of choice</p>\n+\t * \n+\t * @return\n+\t */\n+\tpublic SearchEmployee choiceOfSearch(Scanner input) {\n+\n+\t\tSearchEmployee emp = new SearchEmployee();\n+\t\tint choice = 0;\n+\t\ttry {\n+\t\t\tinput = new Scanner(System.in);\n+\t\t\tchoice = input.nextInt();\n+\t\t\tif (choice == 1)\n+\t\t\t\temp.setSearchChoice(\"department\");\n+\t\t\telse if (choice == 2)\n+\t\t\t\temp.setSearchChoice(\"fullname\");\n+\t\t\telse if (choice == 3)\n+\t\t\t\temp.setSearchChoice(\"address\");\n+\t\t\telse\n+\t\t\t\temp.setSearchChoice(\"default\");\n+\t\t\t\n+\t\t\temp = valueOfSearchChoice(emp,input);\n+\t\t\t\n+\t\t}catch (Exception ex) {\n+\t\t\tLOGGER.log(Level.INFO, \"Exception{0}\", ex);\n+\t\t}\n+\t\treturn emp;\n+\t}\n+\t\n+\tpublic SearchEmployee valueOfSearchChoice(SearchEmployee emp,Scanner input){\n+\t\tString choiceValue = \"\";\n+\t\ttry{\n+\t\t\tinput = new Scanner(System.in);","path":"src/com/lftechnology/java/training/srijan/basics/coreapp/ui/EmployeeView.java","position":243,"original_position":243,"commit_id":"c10a36ab648e35d280989f760362ea11fb5ffe8b","original_commit_id":"c10a36ab648e35d280989f760362ea11fb5ffe8b","user":{"login":"bhuwang","id":3335673,"avatar_url":"https://avatars.githubusercontent.com/u/3335673?v=3","gravatar_id":"","url":"https://api.github.com/users/bhuwang","html_url":"https://github.com/bhuwang","followers_url":"https://api.github.com/users/bhuwang/followers","following_url":"https://api.github.com/users/bhuwang/following{/other_user}","gists_url":"https://api.github.com/users/bhuwang/gists{/gist_id}","starred_url":"https://api.github.com/users/bhuwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhuwang/subscriptions","organizations_url":"https://api.github.com/users/bhuwang/orgs","repos_url":"https://api.github.com/users/bhuwang/repos","events_url":"https://api.github.com/users/bhuwang/events{/privacy}","received_events_url":"https://api.github.com/users/bhuwang/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) Introduce a new variable instead of reusing the parameter \"input\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS1226)\n","created_at":"2015-09-18T01:20:17Z","updated_at":"2015-09-18T01:20:17Z","html_url":"https://github.com/bhuwang/java_training/pull/118#discussion_r39817155","pull_request_url":"https://api.github.com/repos/bhuwang/java_training/pulls/118","_links":{"self":{"href":"https://api.github.com/repos/bhuwang/java_training/pulls/comments/39817155"},"html":{"href":"https://github.com/bhuwang/java_training/pull/118#discussion_r39817155"},"pull_request":{"href":"https://api.github.com/repos/bhuwang/java_training/pulls/118"}}},"pull_request":{"url":"https://api.github.com/repos/bhuwang/java_training/pulls/118","id":45004586,"html_url":"https://github.com/bhuwang/java_training/pull/118","diff_url":"https://github.com/bhuwang/java_training/pull/118.diff","patch_url":"https://github.com/bhuwang/java_training/pull/118.patch","issue_url":"https://api.github.com/repos/bhuwang/java_training/issues/118","number":118,"state":"open","locked":false,"title":"#32 core java app first attempt without documentation and few other r…","user":{"login":"SrijanBajracharya","id":13027817,"avatar_url":"https://avatars.githubusercontent.com/u/13027817?v=3","gravatar_id":"","url":"https://api.github.com/users/SrijanBajracharya","html_url":"https://github.com/SrijanBajracharya","followers_url":"https://api.github.com/users/SrijanBajracharya/followers","following_url":"https://api.github.com/users/SrijanBajracharya/following{/other_user}","gists_url":"https://api.github.com/users/SrijanBajracharya/gists{/gist_id}","starred_url":"https://api.github.com/users/SrijanBajracharya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SrijanBajracharya/subscriptions","organizations_url":"https://api.github.com/users/SrijanBajracharya/orgs","repos_url":"https://api.github.com/users/SrijanBajracharya/repos","events_url":"https://api.github.com/users/SrijanBajracharya/events{/privacy}","received_events_url":"https://api.github.com/users/SrijanBajracharya/received_events","type":"User","site_admin":false},"body":"core java app first attempt without documentation and few other requirements-multiple user with same name, isTerminated check before access,search user and edit by admit","created_at":"2015-09-15T03:09:42Z","updated_at":"2015-09-18T01:20:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6911b7757bfdfe87898fd4c5762142b111dfb293","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bhuwang/java_training/pulls/118/commits","review_comments_url":"https://api.github.com/repos/bhuwang/java_training/pulls/118/comments","review_comment_url":"https://api.github.com/repos/bhuwang/java_training/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bhuwang/java_training/issues/118/comments","statuses_url":"https://api.github.com/repos/bhuwang/java_training/statuses/c10a36ab648e35d280989f760362ea11fb5ffe8b","head":{"label":"bhuwang:54_srijan","ref":"54_srijan","sha":"c10a36ab648e35d280989f760362ea11fb5ffe8b","user":{"login":"bhuwang","id":3335673,"avatar_url":"https://avatars.githubusercontent.com/u/3335673?v=3","gravatar_id":"","url":"https://api.github.com/users/bhuwang","html_url":"https://github.com/bhuwang","followers_url":"https://api.github.com/users/bhuwang/followers","following_url":"https://api.github.com/users/bhuwang/following{/other_user}","gists_url":"https://api.github.com/users/bhuwang/gists{/gist_id}","starred_url":"https://api.github.com/users/bhuwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhuwang/subscriptions","organizations_url":"https://api.github.com/users/bhuwang/orgs","repos_url":"https://api.github.com/users/bhuwang/repos","events_url":"https://api.github.com/users/bhuwang/events{/privacy}","received_events_url":"https://api.github.com/users/bhuwang/received_events","type":"User","site_admin":false},"repo":{"id":40284843,"name":"java_training","full_name":"bhuwang/java_training","owner":{"login":"bhuwang","id":3335673,"avatar_url":"https://avatars.githubusercontent.com/u/3335673?v=3","gravatar_id":"","url":"https://api.github.com/users/bhuwang","html_url":"https://github.com/bhuwang","followers_url":"https://api.github.com/users/bhuwang/followers","following_url":"https://api.github.com/users/bhuwang/following{/other_user}","gists_url":"https://api.github.com/users/bhuwang/gists{/gist_id}","starred_url":"https://api.github.com/users/bhuwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhuwang/subscriptions","organizations_url":"https://api.github.com/users/bhuwang/orgs","repos_url":"https://api.github.com/users/bhuwang/repos","events_url":"https://api.github.com/users/bhuwang/events{/privacy}","received_events_url":"https://api.github.com/users/bhuwang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bhuwang/java_training","description":"","fork":false,"url":"https://api.github.com/repos/bhuwang/java_training","forks_url":"https://api.github.com/repos/bhuwang/java_training/forks","keys_url":"https://api.github.com/repos/bhuwang/java_training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bhuwang/java_training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bhuwang/java_training/teams","hooks_url":"https://api.github.com/repos/bhuwang/java_training/hooks","issue_events_url":"https://api.github.com/repos/bhuwang/java_training/issues/events{/number}","events_url":"https://api.github.com/repos/bhuwang/java_training/events","assignees_url":"https://api.github.com/repos/bhuwang/java_training/assignees{/user}","branches_url":"https://api.github.com/repos/bhuwang/java_training/branches{/branch}","tags_url":"https://api.github.com/repos/bhuwang/java_training/tags","blobs_url":"https://api.github.com/repos/bhuwang/java_training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bhuwang/java_training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bhuwang/java_training/git/refs{/sha}","trees_url":"https://api.github.com/repos/bhuwang/java_training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bhuwang/java_training/statuses/{sha}","languages_url":"https://api.github.com/repos/bhuwang/java_training/languages","stargazers_url":"https://api.github.com/repos/bhuwang/java_training/stargazers","contributors_url":"https://api.github.com/repos/bhuwang/java_training/contributors","subscribers_url":"https://api.github.com/repos/bhuwang/java_training/subscribers","subscription_url":"https://api.github.com/repos/bhuwang/java_training/subscription","commits_url":"https://api.github.com/repos/bhuwang/java_training/commits{/sha}","git_commits_url":"https://api.github.com/repos/bhuwang/java_training/git/commits{/sha}","comments_url":"https://api.github.com/repos/bhuwang/java_training/comments{/number}","issue_comment_url":"https://api.github.com/repos/bhuwang/java_training/issues/comments{/number}","contents_url":"https://api.github.com/repos/bhuwang/java_training/contents/{+path}","compare_url":"https://api.github.com/repos/bhuwang/java_training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bhuwang/java_training/merges","archive_url":"https://api.github.com/repos/bhuwang/java_training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bhuwang/java_training/downloads","issues_url":"https://api.github.com/repos/bhuwang/java_training/issues{/number}","pulls_url":"https://api.github.com/repos/bhuwang/java_training/pulls{/number}","milestones_url":"https://api.github.com/repos/bhuwang/java_training/milestones{/number}","notifications_url":"https://api.github.com/repos/bhuwang/java_training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bhuwang/java_training/labels{/name}","releases_url":"https://api.github.com/repos/bhuwang/java_training/releases{/id}","created_at":"2015-08-06T04:45:13Z","updated_at":"2015-08-31T05:46:12Z","pushed_at":"2015-09-18T01:18:24Z","git_url":"git://github.com/bhuwang/java_training.git","ssh_url":"git@github.com:bhuwang/java_training.git","clone_url":"https://github.com/bhuwang/java_training.git","svn_url":"https://github.com/bhuwang/java_training","homepage":null,"size":5594,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":34,"forks":3,"open_issues":34,"watchers":0,"default_branch":"dev"}},"base":{"label":"bhuwang:dev","ref":"dev","sha":"6fb41a3dd7b652fb505f2a4aed4547ed368a9dab","user":{"login":"bhuwang","id":3335673,"avatar_url":"https://avatars.githubusercontent.com/u/3335673?v=3","gravatar_id":"","url":"https://api.github.com/users/bhuwang","html_url":"https://github.com/bhuwang","followers_url":"https://api.github.com/users/bhuwang/followers","following_url":"https://api.github.com/users/bhuwang/following{/other_user}","gists_url":"https://api.github.com/users/bhuwang/gists{/gist_id}","starred_url":"https://api.github.com/users/bhuwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhuwang/subscriptions","organizations_url":"https://api.github.com/users/bhuwang/orgs","repos_url":"https://api.github.com/users/bhuwang/repos","events_url":"https://api.github.com/users/bhuwang/events{/privacy}","received_events_url":"https://api.github.com/users/bhuwang/received_events","type":"User","site_admin":false},"repo":{"id":40284843,"name":"java_training","full_name":"bhuwang/java_training","owner":{"login":"bhuwang","id":3335673,"avatar_url":"https://avatars.githubusercontent.com/u/3335673?v=3","gravatar_id":"","url":"https://api.github.com/users/bhuwang","html_url":"https://github.com/bhuwang","followers_url":"https://api.github.com/users/bhuwang/followers","following_url":"https://api.github.com/users/bhuwang/following{/other_user}","gists_url":"https://api.github.com/users/bhuwang/gists{/gist_id}","starred_url":"https://api.github.com/users/bhuwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhuwang/subscriptions","organizations_url":"https://api.github.com/users/bhuwang/orgs","repos_url":"https://api.github.com/users/bhuwang/repos","events_url":"https://api.github.com/users/bhuwang/events{/privacy}","received_events_url":"https://api.github.com/users/bhuwang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bhuwang/java_training","description":"","fork":false,"url":"https://api.github.com/repos/bhuwang/java_training","forks_url":"https://api.github.com/repos/bhuwang/java_training/forks","keys_url":"https://api.github.com/repos/bhuwang/java_training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bhuwang/java_training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bhuwang/java_training/teams","hooks_url":"https://api.github.com/repos/bhuwang/java_training/hooks","issue_events_url":"https://api.github.com/repos/bhuwang/java_training/issues/events{/number}","events_url":"https://api.github.com/repos/bhuwang/java_training/events","assignees_url":"https://api.github.com/repos/bhuwang/java_training/assignees{/user}","branches_url":"https://api.github.com/repos/bhuwang/java_training/branches{/branch}","tags_url":"https://api.github.com/repos/bhuwang/java_training/tags","blobs_url":"https://api.github.com/repos/bhuwang/java_training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bhuwang/java_training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bhuwang/java_training/git/refs{/sha}","trees_url":"https://api.github.com/repos/bhuwang/java_training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bhuwang/java_training/statuses/{sha}","languages_url":"https://api.github.com/repos/bhuwang/java_training/languages","stargazers_url":"https://api.github.com/repos/bhuwang/java_training/stargazers","contributors_url":"https://api.github.com/repos/bhuwang/java_training/contributors","subscribers_url":"https://api.github.com/repos/bhuwang/java_training/subscribers","subscription_url":"https://api.github.com/repos/bhuwang/java_training/subscription","commits_url":"https://api.github.com/repos/bhuwang/java_training/commits{/sha}","git_commits_url":"https://api.github.com/repos/bhuwang/java_training/git/commits{/sha}","comments_url":"https://api.github.com/repos/bhuwang/java_training/comments{/number}","issue_comment_url":"https://api.github.com/repos/bhuwang/java_training/issues/comments{/number}","contents_url":"https://api.github.com/repos/bhuwang/java_training/contents/{+path}","compare_url":"https://api.github.com/repos/bhuwang/java_training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bhuwang/java_training/merges","archive_url":"https://api.github.com/repos/bhuwang/java_training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bhuwang/java_training/downloads","issues_url":"https://api.github.com/repos/bhuwang/java_training/issues{/number}","pulls_url":"https://api.github.com/repos/bhuwang/java_training/pulls{/number}","milestones_url":"https://api.github.com/repos/bhuwang/java_training/milestones{/number}","notifications_url":"https://api.github.com/repos/bhuwang/java_training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bhuwang/java_training/labels{/name}","releases_url":"https://api.github.com/repos/bhuwang/java_training/releases{/id}","created_at":"2015-08-06T04:45:13Z","updated_at":"2015-08-31T05:46:12Z","pushed_at":"2015-09-18T01:18:24Z","git_url":"git://github.com/bhuwang/java_training.git","ssh_url":"git@github.com:bhuwang/java_training.git","clone_url":"https://github.com/bhuwang/java_training.git","svn_url":"https://github.com/bhuwang/java_training","homepage":null,"size":5594,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":34,"forks":3,"open_issues":34,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/bhuwang/java_training/pulls/118"},"html":{"href":"https://github.com/bhuwang/java_training/pull/118"},"issue":{"href":"https://api.github.com/repos/bhuwang/java_training/issues/118"},"comments":{"href":"https://api.github.com/repos/bhuwang/java_training/issues/118/comments"},"review_comments":{"href":"https://api.github.com/repos/bhuwang/java_training/pulls/118/comments"},"review_comment":{"href":"https://api.github.com/repos/bhuwang/java_training/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bhuwang/java_training/pulls/118/commits"},"statuses":{"href":"https://api.github.com/repos/bhuwang/java_training/statuses/c10a36ab648e35d280989f760362ea11fb5ffe8b"}}}}