{"action":"created","comment":{"url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/pulls/comments/85671294","pull_request_review_id":6373452,"id":85671294,"diff_hunk":"@@ -0,0 +1,88 @@\n+package cz.codecamp.logger.loggers;\r\n+\r\n+/**\r\n+ * Created by dmachace on 18.10.2016.\r\n+ */\r\n+\r\n+\r\n+import java.io.FileInputStream;\r\n+import java.io.IOException;\r\n+\r\n+\r\n+\r\n+public enum Properties {\r\n+\r\n+    INSTANCE;\r\n+\r\n+    private java.util.Properties jUtilProperties;\r\n+    private static String filePath;\r\n+\r\n+    Properties() {\r\n+\r\n+        this.init(this.getClass().getResource(\"/config.properties\").getFile());\r","path":"src/main/java/cz/codecamp/logger/loggers/Properties.java","position":22,"original_position":22,"commit_id":"33729323889c6904eb0848b46ff74153874fa5fc","original_commit_id":"33729323889c6904eb0848b46ff74153874fa5fc","user":{"login":"jakubkulhan","id":95001,"avatar_url":"https://avatars.githubusercontent.com/u/95001?v=3","gravatar_id":"","url":"https://api.github.com/users/jakubkulhan","html_url":"https://github.com/jakubkulhan","followers_url":"https://api.github.com/users/jakubkulhan/followers","following_url":"https://api.github.com/users/jakubkulhan/following{/other_user}","gists_url":"https://api.github.com/users/jakubkulhan/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubkulhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubkulhan/subscriptions","organizations_url":"https://api.github.com/users/jakubkulhan/orgs","repos_url":"https://api.github.com/users/jakubkulhan/repos","events_url":"https://api.github.com/users/jakubkulhan/events{/privacy}","received_events_url":"https://api.github.com/users/jakubkulhan/received_events","type":"User","site_admin":false},"body":"Co když nebudu chtít načítat konfigurák `config.properties` na rootu class path?","created_at":"2016-10-30T22:27:28Z","updated_at":"2016-10-30T22:41:45Z","html_url":"https://github.com/jakubkulhan/cc16-java-intro/pull/11#discussion_r85671294","pull_request_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/pulls/comments/85671294"},"html":{"href":"https://github.com/jakubkulhan/cc16-java-intro/pull/11#discussion_r85671294"},"pull_request":{"href":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/pulls/11","id":89877342,"html_url":"https://github.com/jakubkulhan/cc16-java-intro/pull/11","diff_url":"https://github.com/jakubkulhan/cc16-java-intro/pull/11.diff","patch_url":"https://github.com/jakubkulhan/cc16-java-intro/pull/11.patch","issue_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/issues/11","number":11,"state":"open","locked":false,"title":"Logger","user":{"login":"DavidMachacek","id":16663389,"avatar_url":"https://avatars.githubusercontent.com/u/16663389?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidMachacek","html_url":"https://github.com/DavidMachacek","followers_url":"https://api.github.com/users/DavidMachacek/followers","following_url":"https://api.github.com/users/DavidMachacek/following{/other_user}","gists_url":"https://api.github.com/users/DavidMachacek/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidMachacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidMachacek/subscriptions","organizations_url":"https://api.github.com/users/DavidMachacek/orgs","repos_url":"https://api.github.com/users/DavidMachacek/repos","events_url":"https://api.github.com/users/DavidMachacek/events{/privacy}","received_events_url":"https://api.github.com/users/DavidMachacek/received_events","type":"User","site_admin":false},"body":"Logger je nastavován skrz soubor \"config.properties\". Krom generování klasických logů obsahuje také funkce pro vedení vlastního systémového logu.\r\nOmlouvám se za kompletní push..","created_at":"2016-10-18T18:57:50Z","updated_at":"2016-10-30T22:41:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db06db323d9871789d6767fcb84538ba9f7f999a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/pulls/11/commits","review_comments_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/pulls/11/comments","review_comment_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/issues/11/comments","statuses_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/statuses/33729323889c6904eb0848b46ff74153874fa5fc","head":{"label":"DavidMachacek:master","ref":"master","sha":"33729323889c6904eb0848b46ff74153874fa5fc","user":{"login":"DavidMachacek","id":16663389,"avatar_url":"https://avatars.githubusercontent.com/u/16663389?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidMachacek","html_url":"https://github.com/DavidMachacek","followers_url":"https://api.github.com/users/DavidMachacek/followers","following_url":"https://api.github.com/users/DavidMachacek/following{/other_user}","gists_url":"https://api.github.com/users/DavidMachacek/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidMachacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidMachacek/subscriptions","organizations_url":"https://api.github.com/users/DavidMachacek/orgs","repos_url":"https://api.github.com/users/DavidMachacek/repos","events_url":"https://api.github.com/users/DavidMachacek/events{/privacy}","received_events_url":"https://api.github.com/users/DavidMachacek/received_events","type":"User","site_admin":false},"repo":{"id":70083570,"name":"cc16-java-intro","full_name":"DavidMachacek/cc16-java-intro","owner":{"login":"DavidMachacek","id":16663389,"avatar_url":"https://avatars.githubusercontent.com/u/16663389?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidMachacek","html_url":"https://github.com/DavidMachacek","followers_url":"https://api.github.com/users/DavidMachacek/followers","following_url":"https://api.github.com/users/DavidMachacek/following{/other_user}","gists_url":"https://api.github.com/users/DavidMachacek/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidMachacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidMachacek/subscriptions","organizations_url":"https://api.github.com/users/DavidMachacek/orgs","repos_url":"https://api.github.com/users/DavidMachacek/repos","events_url":"https://api.github.com/users/DavidMachacek/events{/privacy}","received_events_url":"https://api.github.com/users/DavidMachacek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DavidMachacek/cc16-java-intro","description":"Codecamp 2016 (http://codecamp.cz/) Java intro lecture","fork":true,"url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro","forks_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/forks","keys_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/teams","hooks_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/hooks","issue_events_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/issues/events{/number}","events_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/events","assignees_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/assignees{/user}","branches_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/branches{/branch}","tags_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/tags","blobs_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/git/refs{/sha}","trees_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/statuses/{sha}","languages_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/languages","stargazers_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/stargazers","contributors_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/contributors","subscribers_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/subscribers","subscription_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/subscription","commits_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/commits{/sha}","git_commits_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/git/commits{/sha}","comments_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/comments{/number}","issue_comment_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/issues/comments{/number}","contents_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/contents/{+path}","compare_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/merges","archive_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/downloads","issues_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/issues{/number}","pulls_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/pulls{/number}","milestones_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/milestones{/number}","notifications_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/labels{/name}","releases_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/releases{/id}","deployments_url":"https://api.github.com/repos/DavidMachacek/cc16-java-intro/deployments","created_at":"2016-10-05T17:38:33Z","updated_at":"2016-10-05T17:38:34Z","pushed_at":"2016-10-18T18:53:13Z","git_url":"git://github.com/DavidMachacek/cc16-java-intro.git","ssh_url":"git@github.com:DavidMachacek/cc16-java-intro.git","clone_url":"https://github.com/DavidMachacek/cc16-java-intro.git","svn_url":"https://github.com/DavidMachacek/cc16-java-intro","homepage":null,"size":771,"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":"jakubkulhan:master","ref":"master","sha":"b893d3f1b253070540147815db3074947f453b6d","user":{"login":"jakubkulhan","id":95001,"avatar_url":"https://avatars.githubusercontent.com/u/95001?v=3","gravatar_id":"","url":"https://api.github.com/users/jakubkulhan","html_url":"https://github.com/jakubkulhan","followers_url":"https://api.github.com/users/jakubkulhan/followers","following_url":"https://api.github.com/users/jakubkulhan/following{/other_user}","gists_url":"https://api.github.com/users/jakubkulhan/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubkulhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubkulhan/subscriptions","organizations_url":"https://api.github.com/users/jakubkulhan/orgs","repos_url":"https://api.github.com/users/jakubkulhan/repos","events_url":"https://api.github.com/users/jakubkulhan/events{/privacy}","received_events_url":"https://api.github.com/users/jakubkulhan/received_events","type":"User","site_admin":false},"repo":{"id":69873798,"name":"cc16-java-intro","full_name":"jakubkulhan/cc16-java-intro","owner":{"login":"jakubkulhan","id":95001,"avatar_url":"https://avatars.githubusercontent.com/u/95001?v=3","gravatar_id":"","url":"https://api.github.com/users/jakubkulhan","html_url":"https://github.com/jakubkulhan","followers_url":"https://api.github.com/users/jakubkulhan/followers","following_url":"https://api.github.com/users/jakubkulhan/following{/other_user}","gists_url":"https://api.github.com/users/jakubkulhan/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubkulhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubkulhan/subscriptions","organizations_url":"https://api.github.com/users/jakubkulhan/orgs","repos_url":"https://api.github.com/users/jakubkulhan/repos","events_url":"https://api.github.com/users/jakubkulhan/events{/privacy}","received_events_url":"https://api.github.com/users/jakubkulhan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jakubkulhan/cc16-java-intro","description":"Codecamp 2016 (http://codecamp.cz/) Java intro lecture","fork":false,"url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro","forks_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/forks","keys_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/teams","hooks_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/hooks","issue_events_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/issues/events{/number}","events_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/events","assignees_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/assignees{/user}","branches_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/branches{/branch}","tags_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/tags","blobs_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/git/refs{/sha}","trees_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/statuses/{sha}","languages_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/languages","stargazers_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/stargazers","contributors_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/contributors","subscribers_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/subscribers","subscription_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/subscription","commits_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/commits{/sha}","git_commits_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/git/commits{/sha}","comments_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/comments{/number}","issue_comment_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/issues/comments{/number}","contents_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/contents/{+path}","compare_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/merges","archive_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/downloads","issues_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/issues{/number}","pulls_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/pulls{/number}","milestones_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/milestones{/number}","notifications_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/labels{/name}","releases_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/releases{/id}","deployments_url":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/deployments","created_at":"2016-10-03T13:37:05Z","updated_at":"2016-10-03T13:45:13Z","pushed_at":"2016-10-30T19:43:10Z","git_url":"git://github.com/jakubkulhan/cc16-java-intro.git","ssh_url":"git@github.com:jakubkulhan/cc16-java-intro.git","clone_url":"https://github.com/jakubkulhan/cc16-java-intro.git","svn_url":"https://github.com/jakubkulhan/cc16-java-intro","homepage":null,"size":1603,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":17,"forks":19,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/pulls/11"},"html":{"href":"https://github.com/jakubkulhan/cc16-java-intro/pull/11"},"issue":{"href":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/issues/11"},"comments":{"href":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/jakubkulhan/cc16-java-intro/statuses/33729323889c6904eb0848b46ff74153874fa5fc"}}}}
{"actor":{"display_login":"jakubkulhan"}}