{"action":"created","comment":{"url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/comments/25544811","id":25544811,"diff_hunk":"@@ -0,0 +1,41 @@\n+package classes.lab8;\n+\n+import java.util.Calendar;\n+import java.util.Random;\n+\n+public abstract class Person {\n+    public static boolean directorExist;\n+\n+    private String FirstName;\n+    private String LastName;\n+    private Calendar BirthDate;\n+    private Calendar HireDate;\n+\n+    public Person() {\n+        FirstName = setFirstName();\n+        LastName = setLastName();\n+        BirthDate = RandomDate.setRandomBirthDate();\n+        HireDate = RandomDate.setRandomHireDate();\n+    }\n+\n+    public String setFirstName() {\n+        Random random = new Random();\n+        return FirstNames.values()[random.nextInt(FirstNames.values().length)].toString();\n+    }\n+\n+    public String setLastName() {\n+        Random random = new Random();\n+        return LastNames.values()[random.nextInt(LastNames.values().length)].toString();\n+    }\n+\n+    public String getFullName() {\n+        return this.FirstName + \" \" + this.LastName;\n+    }\n+","path":"markovich/src/classes/lab8/Person.java","position":34,"original_position":34,"commit_id":"7adaa8583ff7b853d81aa1629d4db8e4f8f59ef2","original_commit_id":"7adaa8583ff7b853d81aa1629d4db8e4f8f59ef2","user":{"login":"karzhouAndrew","id":9786654,"avatar_url":"https://avatars.githubusercontent.com/u/9786654?v=3","gravatar_id":"","url":"https://api.github.com/users/karzhouAndrew","html_url":"https://github.com/karzhouAndrew","followers_url":"https://api.github.com/users/karzhouAndrew/followers","following_url":"https://api.github.com/users/karzhouAndrew/following{/other_user}","gists_url":"https://api.github.com/users/karzhouAndrew/gists{/gist_id}","starred_url":"https://api.github.com/users/karzhouAndrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karzhouAndrew/subscriptions","organizations_url":"https://api.github.com/users/karzhouAndrew/orgs","repos_url":"https://api.github.com/users/karzhouAndrew/repos","events_url":"https://api.github.com/users/karzhouAndrew/events{/privacy}","received_events_url":"https://api.github.com/users/karzhouAndrew/received_events","type":"User","site_admin":false},"body":"все тоже про методы set","created_at":"2015-02-27T22:36:39Z","updated_at":"2015-02-27T22:36:39Z","html_url":"https://github.com/karzhouAndrew/Java-Homework/pull/24#discussion_r25544811","pull_request_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/comments/25544811"},"html":{"href":"https://github.com/karzhouAndrew/Java-Homework/pull/24#discussion_r25544811"},"pull_request":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/24","id":30132342,"html_url":"https://github.com/karzhouAndrew/Java-Homework/pull/24","diff_url":"https://github.com/karzhouAndrew/Java-Homework/pull/24.diff","patch_url":"https://github.com/karzhouAndrew/Java-Homework/pull/24.patch","issue_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/issues/24","number":24,"state":"open","locked":false,"title":"Homework lab24","user":{"login":"funbl4","id":10899741,"avatar_url":"https://avatars.githubusercontent.com/u/10899741?v=3","gravatar_id":"","url":"https://api.github.com/users/funbl4","html_url":"https://github.com/funbl4","followers_url":"https://api.github.com/users/funbl4/followers","following_url":"https://api.github.com/users/funbl4/following{/other_user}","gists_url":"https://api.github.com/users/funbl4/gists{/gist_id}","starred_url":"https://api.github.com/users/funbl4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funbl4/subscriptions","organizations_url":"https://api.github.com/users/funbl4/orgs","repos_url":"https://api.github.com/users/funbl4/repos","events_url":"https://api.github.com/users/funbl4/events{/privacy}","received_events_url":"https://api.github.com/users/funbl4/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-27T00:47:35Z","updated_at":"2015-02-27T22:36:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d06f8b24fcb445e8f9440b230e54b09332b67161","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/24/commits","review_comments_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/24/comments","review_comment_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/issues/24/comments","statuses_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/statuses/7adaa8583ff7b853d81aa1629d4db8e4f8f59ef2","head":{"label":"funbl4:HomeworkLab24","ref":"HomeworkLab24","sha":"7adaa8583ff7b853d81aa1629d4db8e4f8f59ef2","user":{"login":"funbl4","id":10899741,"avatar_url":"https://avatars.githubusercontent.com/u/10899741?v=3","gravatar_id":"","url":"https://api.github.com/users/funbl4","html_url":"https://github.com/funbl4","followers_url":"https://api.github.com/users/funbl4/followers","following_url":"https://api.github.com/users/funbl4/following{/other_user}","gists_url":"https://api.github.com/users/funbl4/gists{/gist_id}","starred_url":"https://api.github.com/users/funbl4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funbl4/subscriptions","organizations_url":"https://api.github.com/users/funbl4/orgs","repos_url":"https://api.github.com/users/funbl4/repos","events_url":"https://api.github.com/users/funbl4/events{/privacy}","received_events_url":"https://api.github.com/users/funbl4/received_events","type":"User","site_admin":false},"repo":{"id":30986096,"name":"Java-Homework","full_name":"funbl4/Java-Homework","owner":{"login":"funbl4","id":10899741,"avatar_url":"https://avatars.githubusercontent.com/u/10899741?v=3","gravatar_id":"","url":"https://api.github.com/users/funbl4","html_url":"https://github.com/funbl4","followers_url":"https://api.github.com/users/funbl4/followers","following_url":"https://api.github.com/users/funbl4/following{/other_user}","gists_url":"https://api.github.com/users/funbl4/gists{/gist_id}","starred_url":"https://api.github.com/users/funbl4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funbl4/subscriptions","organizations_url":"https://api.github.com/users/funbl4/orgs","repos_url":"https://api.github.com/users/funbl4/repos","events_url":"https://api.github.com/users/funbl4/events{/privacy}","received_events_url":"https://api.github.com/users/funbl4/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/funbl4/Java-Homework","description":"","fork":true,"url":"https://api.github.com/repos/funbl4/Java-Homework","forks_url":"https://api.github.com/repos/funbl4/Java-Homework/forks","keys_url":"https://api.github.com/repos/funbl4/Java-Homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/funbl4/Java-Homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/funbl4/Java-Homework/teams","hooks_url":"https://api.github.com/repos/funbl4/Java-Homework/hooks","issue_events_url":"https://api.github.com/repos/funbl4/Java-Homework/issues/events{/number}","events_url":"https://api.github.com/repos/funbl4/Java-Homework/events","assignees_url":"https://api.github.com/repos/funbl4/Java-Homework/assignees{/user}","branches_url":"https://api.github.com/repos/funbl4/Java-Homework/branches{/branch}","tags_url":"https://api.github.com/repos/funbl4/Java-Homework/tags","blobs_url":"https://api.github.com/repos/funbl4/Java-Homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/funbl4/Java-Homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/funbl4/Java-Homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/funbl4/Java-Homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/funbl4/Java-Homework/statuses/{sha}","languages_url":"https://api.github.com/repos/funbl4/Java-Homework/languages","stargazers_url":"https://api.github.com/repos/funbl4/Java-Homework/stargazers","contributors_url":"https://api.github.com/repos/funbl4/Java-Homework/contributors","subscribers_url":"https://api.github.com/repos/funbl4/Java-Homework/subscribers","subscription_url":"https://api.github.com/repos/funbl4/Java-Homework/subscription","commits_url":"https://api.github.com/repos/funbl4/Java-Homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/funbl4/Java-Homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/funbl4/Java-Homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/funbl4/Java-Homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/funbl4/Java-Homework/contents/{+path}","compare_url":"https://api.github.com/repos/funbl4/Java-Homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/funbl4/Java-Homework/merges","archive_url":"https://api.github.com/repos/funbl4/Java-Homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/funbl4/Java-Homework/downloads","issues_url":"https://api.github.com/repos/funbl4/Java-Homework/issues{/number}","pulls_url":"https://api.github.com/repos/funbl4/Java-Homework/pulls{/number}","milestones_url":"https://api.github.com/repos/funbl4/Java-Homework/milestones{/number}","notifications_url":"https://api.github.com/repos/funbl4/Java-Homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/funbl4/Java-Homework/labels{/name}","releases_url":"https://api.github.com/repos/funbl4/Java-Homework/releases{/id}","created_at":"2015-02-18T20:47:35Z","updated_at":"2015-02-25T08:47:56Z","pushed_at":"2015-02-27T00:46:38Z","git_url":"git://github.com/funbl4/Java-Homework.git","ssh_url":"git@github.com:funbl4/Java-Homework.git","clone_url":"https://github.com/funbl4/Java-Homework.git","svn_url":"https://github.com/funbl4/Java-Homework","homepage":null,"size":207,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"karzhouAndrew:master","ref":"master","sha":"fd964c4def3566663d42d2f5034e82fda7ab22de","user":{"login":"karzhouAndrew","id":9786654,"avatar_url":"https://avatars.githubusercontent.com/u/9786654?v=3","gravatar_id":"","url":"https://api.github.com/users/karzhouAndrew","html_url":"https://github.com/karzhouAndrew","followers_url":"https://api.github.com/users/karzhouAndrew/followers","following_url":"https://api.github.com/users/karzhouAndrew/following{/other_user}","gists_url":"https://api.github.com/users/karzhouAndrew/gists{/gist_id}","starred_url":"https://api.github.com/users/karzhouAndrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karzhouAndrew/subscriptions","organizations_url":"https://api.github.com/users/karzhouAndrew/orgs","repos_url":"https://api.github.com/users/karzhouAndrew/repos","events_url":"https://api.github.com/users/karzhouAndrew/events{/privacy}","received_events_url":"https://api.github.com/users/karzhouAndrew/received_events","type":"User","site_admin":false},"repo":{"id":30985783,"name":"Java-Homework","full_name":"karzhouAndrew/Java-Homework","owner":{"login":"karzhouAndrew","id":9786654,"avatar_url":"https://avatars.githubusercontent.com/u/9786654?v=3","gravatar_id":"","url":"https://api.github.com/users/karzhouAndrew","html_url":"https://github.com/karzhouAndrew","followers_url":"https://api.github.com/users/karzhouAndrew/followers","following_url":"https://api.github.com/users/karzhouAndrew/following{/other_user}","gists_url":"https://api.github.com/users/karzhouAndrew/gists{/gist_id}","starred_url":"https://api.github.com/users/karzhouAndrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karzhouAndrew/subscriptions","organizations_url":"https://api.github.com/users/karzhouAndrew/orgs","repos_url":"https://api.github.com/users/karzhouAndrew/repos","events_url":"https://api.github.com/users/karzhouAndrew/events{/privacy}","received_events_url":"https://api.github.com/users/karzhouAndrew/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karzhouAndrew/Java-Homework","description":"","fork":false,"url":"https://api.github.com/repos/karzhouAndrew/Java-Homework","forks_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/forks","keys_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/teams","hooks_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/hooks","issue_events_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/issues/events{/number}","events_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/events","assignees_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/assignees{/user}","branches_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/branches{/branch}","tags_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/tags","blobs_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/statuses/{sha}","languages_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/languages","stargazers_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/stargazers","contributors_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/contributors","subscribers_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/subscribers","subscription_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/subscription","commits_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/contents/{+path}","compare_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/merges","archive_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/downloads","issues_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/issues{/number}","pulls_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls{/number}","milestones_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/milestones{/number}","notifications_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/labels{/name}","releases_url":"https://api.github.com/repos/karzhouAndrew/Java-Homework/releases{/id}","created_at":"2015-02-18T20:40:54Z","updated_at":"2015-02-26T19:38:26Z","pushed_at":"2015-02-26T19:38:26Z","git_url":"git://github.com/karzhouAndrew/Java-Homework.git","ssh_url":"git@github.com:karzhouAndrew/Java-Homework.git","clone_url":"https://github.com/karzhouAndrew/Java-Homework.git","svn_url":"https://github.com/karzhouAndrew/Java-Homework","homepage":null,"size":606,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":14,"forks":14,"open_issues":14,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/24"},"html":{"href":"https://github.com/karzhouAndrew/Java-Homework/pull/24"},"issue":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/issues/24"},"comments":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/karzhouAndrew/Java-Homework/statuses/7adaa8583ff7b853d81aa1629d4db8e4f8f59ef2"}}}}