{"action":"created","comment":{"url":"https://api.github.com/repos/WSO2Telco/core-util/pulls/comments/82547841","pull_request_review_id":3447963,"id":82547841,"diff_hunk":"@@ -0,0 +1,44 @@\n+package com.wso2telco.core.dbutils.fileutils;\n+\n+\n+import org.apache.commons.logging.Log;\n+import org.apache.commons.logging.LogFactory;\n+import org.wso2.carbon.utils.CarbonUtils;\n+\n+import java.io.File;\n+import java.io.FileInputStream;\n+import java.io.FileNotFoundException;\n+import java.io.IOException;\n+import java.util.Properties;\n+\n+public class PropertyFileReader {\n+\n+    private static Log log = LogFactory.getLog(PropertyFileReader.class);\n+    private static PropertyFileReader propertyFileReader = null;\n+\n+    private PropertyFileReader() {\n+        propertyFileReader = new PropertyFileReader();\n+    }\n+\n+    public static PropertyFileReader getFileReader() {\n+        if (propertyFileReader == null) {","path":"components/dbutil/src/main/java/com/wso2telco/core/dbutils/fileutils/PropertyFileReader.java","position":24,"original_position":24,"commit_id":"e6032f1a3538f79c1f4e730f05533ba0bff9349a","original_commit_id":"e6032f1a3538f79c1f4e730f05533ba0bff9349a","user":{"login":"Nuwan-Walisundara","id":12545131,"avatar_url":"https://avatars.githubusercontent.com/u/12545131?v=3","gravatar_id":"","url":"https://api.github.com/users/Nuwan-Walisundara","html_url":"https://github.com/Nuwan-Walisundara","followers_url":"https://api.github.com/users/Nuwan-Walisundara/followers","following_url":"https://api.github.com/users/Nuwan-Walisundara/following{/other_user}","gists_url":"https://api.github.com/users/Nuwan-Walisundara/gists{/gist_id}","starred_url":"https://api.github.com/users/Nuwan-Walisundara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nuwan-Walisundara/subscriptions","organizations_url":"https://api.github.com/users/Nuwan-Walisundara/orgs","repos_url":"https://api.github.com/users/Nuwan-Walisundara/repos","events_url":"https://api.github.com/users/Nuwan-Walisundara/events{/privacy}","received_events_url":"https://api.github.com/users/Nuwan-Walisundara/received_events","type":"User","site_admin":false},"body":"better if this run within a synchronize bolock","created_at":"2016-10-10T06:20:35Z","updated_at":"2016-10-10T06:20:45Z","html_url":"https://github.com/WSO2Telco/core-util/pull/29#discussion_r82547841","pull_request_url":"https://api.github.com/repos/WSO2Telco/core-util/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/WSO2Telco/core-util/pulls/comments/82547841"},"html":{"href":"https://github.com/WSO2Telco/core-util/pull/29#discussion_r82547841"},"pull_request":{"href":"https://api.github.com/repos/WSO2Telco/core-util/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/WSO2Telco/core-util/pulls/29","id":88607079,"html_url":"https://github.com/WSO2Telco/core-util/pull/29","diff_url":"https://github.com/WSO2Telco/core-util/pull/29.diff","patch_url":"https://github.com/WSO2Telco/core-util/pull/29.patch","issue_url":"https://api.github.com/repos/WSO2Telco/core-util/issues/29","number":29,"state":"open","locked":false,"title":"new propery file readr add","user":{"login":"nilanwso2","id":16833882,"avatar_url":"https://avatars.githubusercontent.com/u/16833882?v=3","gravatar_id":"","url":"https://api.github.com/users/nilanwso2","html_url":"https://github.com/nilanwso2","followers_url":"https://api.github.com/users/nilanwso2/followers","following_url":"https://api.github.com/users/nilanwso2/following{/other_user}","gists_url":"https://api.github.com/users/nilanwso2/gists{/gist_id}","starred_url":"https://api.github.com/users/nilanwso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilanwso2/subscriptions","organizations_url":"https://api.github.com/users/nilanwso2/orgs","repos_url":"https://api.github.com/users/nilanwso2/repos","events_url":"https://api.github.com/users/nilanwso2/events{/privacy}","received_events_url":"https://api.github.com/users/nilanwso2/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-10T03:35:15Z","updated_at":"2016-10-10T06:20:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6fe5abf56c63354085d09974d79427e1b80921bc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/WSO2Telco/core-util/pulls/29/commits","review_comments_url":"https://api.github.com/repos/WSO2Telco/core-util/pulls/29/comments","review_comment_url":"https://api.github.com/repos/WSO2Telco/core-util/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WSO2Telco/core-util/issues/29/comments","statuses_url":"https://api.github.com/repos/WSO2Telco/core-util/statuses/e6032f1a3538f79c1f4e730f05533ba0bff9349a","head":{"label":"nilanwso2:release-2.0.2","ref":"release-2.0.2","sha":"e6032f1a3538f79c1f4e730f05533ba0bff9349a","user":{"login":"nilanwso2","id":16833882,"avatar_url":"https://avatars.githubusercontent.com/u/16833882?v=3","gravatar_id":"","url":"https://api.github.com/users/nilanwso2","html_url":"https://github.com/nilanwso2","followers_url":"https://api.github.com/users/nilanwso2/followers","following_url":"https://api.github.com/users/nilanwso2/following{/other_user}","gists_url":"https://api.github.com/users/nilanwso2/gists{/gist_id}","starred_url":"https://api.github.com/users/nilanwso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilanwso2/subscriptions","organizations_url":"https://api.github.com/users/nilanwso2/orgs","repos_url":"https://api.github.com/users/nilanwso2/repos","events_url":"https://api.github.com/users/nilanwso2/events{/privacy}","received_events_url":"https://api.github.com/users/nilanwso2/received_events","type":"User","site_admin":false},"repo":{"id":64725459,"name":"core-util","full_name":"nilanwso2/core-util","owner":{"login":"nilanwso2","id":16833882,"avatar_url":"https://avatars.githubusercontent.com/u/16833882?v=3","gravatar_id":"","url":"https://api.github.com/users/nilanwso2","html_url":"https://github.com/nilanwso2","followers_url":"https://api.github.com/users/nilanwso2/followers","following_url":"https://api.github.com/users/nilanwso2/following{/other_user}","gists_url":"https://api.github.com/users/nilanwso2/gists{/gist_id}","starred_url":"https://api.github.com/users/nilanwso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilanwso2/subscriptions","organizations_url":"https://api.github.com/users/nilanwso2/orgs","repos_url":"https://api.github.com/users/nilanwso2/repos","events_url":"https://api.github.com/users/nilanwso2/events{/privacy}","received_events_url":"https://api.github.com/users/nilanwso2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nilanwso2/core-util","description":"Support utilities goes within this module. ","fork":true,"url":"https://api.github.com/repos/nilanwso2/core-util","forks_url":"https://api.github.com/repos/nilanwso2/core-util/forks","keys_url":"https://api.github.com/repos/nilanwso2/core-util/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nilanwso2/core-util/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nilanwso2/core-util/teams","hooks_url":"https://api.github.com/repos/nilanwso2/core-util/hooks","issue_events_url":"https://api.github.com/repos/nilanwso2/core-util/issues/events{/number}","events_url":"https://api.github.com/repos/nilanwso2/core-util/events","assignees_url":"https://api.github.com/repos/nilanwso2/core-util/assignees{/user}","branches_url":"https://api.github.com/repos/nilanwso2/core-util/branches{/branch}","tags_url":"https://api.github.com/repos/nilanwso2/core-util/tags","blobs_url":"https://api.github.com/repos/nilanwso2/core-util/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nilanwso2/core-util/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nilanwso2/core-util/git/refs{/sha}","trees_url":"https://api.github.com/repos/nilanwso2/core-util/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nilanwso2/core-util/statuses/{sha}","languages_url":"https://api.github.com/repos/nilanwso2/core-util/languages","stargazers_url":"https://api.github.com/repos/nilanwso2/core-util/stargazers","contributors_url":"https://api.github.com/repos/nilanwso2/core-util/contributors","subscribers_url":"https://api.github.com/repos/nilanwso2/core-util/subscribers","subscription_url":"https://api.github.com/repos/nilanwso2/core-util/subscription","commits_url":"https://api.github.com/repos/nilanwso2/core-util/commits{/sha}","git_commits_url":"https://api.github.com/repos/nilanwso2/core-util/git/commits{/sha}","comments_url":"https://api.github.com/repos/nilanwso2/core-util/comments{/number}","issue_comment_url":"https://api.github.com/repos/nilanwso2/core-util/issues/comments{/number}","contents_url":"https://api.github.com/repos/nilanwso2/core-util/contents/{+path}","compare_url":"https://api.github.com/repos/nilanwso2/core-util/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nilanwso2/core-util/merges","archive_url":"https://api.github.com/repos/nilanwso2/core-util/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nilanwso2/core-util/downloads","issues_url":"https://api.github.com/repos/nilanwso2/core-util/issues{/number}","pulls_url":"https://api.github.com/repos/nilanwso2/core-util/pulls{/number}","milestones_url":"https://api.github.com/repos/nilanwso2/core-util/milestones{/number}","notifications_url":"https://api.github.com/repos/nilanwso2/core-util/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nilanwso2/core-util/labels{/name}","releases_url":"https://api.github.com/repos/nilanwso2/core-util/releases{/id}","deployments_url":"https://api.github.com/repos/nilanwso2/core-util/deployments","created_at":"2016-08-02T04:58:00Z","updated_at":"2016-08-02T04:58:00Z","pushed_at":"2016-10-10T03:30:20Z","git_url":"git://github.com/nilanwso2/core-util.git","ssh_url":"git@github.com:nilanwso2/core-util.git","clone_url":"https://github.com/nilanwso2/core-util.git","svn_url":"https://github.com/nilanwso2/core-util","homepage":null,"size":332,"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":"release-2.0.2"}},"base":{"label":"WSO2Telco:master","ref":"master","sha":"49d4102886fc1f9582c8a69059216483a5a18b51","user":{"login":"WSO2Telco","id":15646154,"avatar_url":"https://avatars.githubusercontent.com/u/15646154?v=3","gravatar_id":"","url":"https://api.github.com/users/WSO2Telco","html_url":"https://github.com/WSO2Telco","followers_url":"https://api.github.com/users/WSO2Telco/followers","following_url":"https://api.github.com/users/WSO2Telco/following{/other_user}","gists_url":"https://api.github.com/users/WSO2Telco/gists{/gist_id}","starred_url":"https://api.github.com/users/WSO2Telco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WSO2Telco/subscriptions","organizations_url":"https://api.github.com/users/WSO2Telco/orgs","repos_url":"https://api.github.com/users/WSO2Telco/repos","events_url":"https://api.github.com/users/WSO2Telco/events{/privacy}","received_events_url":"https://api.github.com/users/WSO2Telco/received_events","type":"Organization","site_admin":false},"repo":{"id":49925179,"name":"core-util","full_name":"WSO2Telco/core-util","owner":{"login":"WSO2Telco","id":15646154,"avatar_url":"https://avatars.githubusercontent.com/u/15646154?v=3","gravatar_id":"","url":"https://api.github.com/users/WSO2Telco","html_url":"https://github.com/WSO2Telco","followers_url":"https://api.github.com/users/WSO2Telco/followers","following_url":"https://api.github.com/users/WSO2Telco/following{/other_user}","gists_url":"https://api.github.com/users/WSO2Telco/gists{/gist_id}","starred_url":"https://api.github.com/users/WSO2Telco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WSO2Telco/subscriptions","organizations_url":"https://api.github.com/users/WSO2Telco/orgs","repos_url":"https://api.github.com/users/WSO2Telco/repos","events_url":"https://api.github.com/users/WSO2Telco/events{/privacy}","received_events_url":"https://api.github.com/users/WSO2Telco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WSO2Telco/core-util","description":"Support utilities goes within this module. ","fork":false,"url":"https://api.github.com/repos/WSO2Telco/core-util","forks_url":"https://api.github.com/repos/WSO2Telco/core-util/forks","keys_url":"https://api.github.com/repos/WSO2Telco/core-util/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WSO2Telco/core-util/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WSO2Telco/core-util/teams","hooks_url":"https://api.github.com/repos/WSO2Telco/core-util/hooks","issue_events_url":"https://api.github.com/repos/WSO2Telco/core-util/issues/events{/number}","events_url":"https://api.github.com/repos/WSO2Telco/core-util/events","assignees_url":"https://api.github.com/repos/WSO2Telco/core-util/assignees{/user}","branches_url":"https://api.github.com/repos/WSO2Telco/core-util/branches{/branch}","tags_url":"https://api.github.com/repos/WSO2Telco/core-util/tags","blobs_url":"https://api.github.com/repos/WSO2Telco/core-util/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WSO2Telco/core-util/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WSO2Telco/core-util/git/refs{/sha}","trees_url":"https://api.github.com/repos/WSO2Telco/core-util/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WSO2Telco/core-util/statuses/{sha}","languages_url":"https://api.github.com/repos/WSO2Telco/core-util/languages","stargazers_url":"https://api.github.com/repos/WSO2Telco/core-util/stargazers","contributors_url":"https://api.github.com/repos/WSO2Telco/core-util/contributors","subscribers_url":"https://api.github.com/repos/WSO2Telco/core-util/subscribers","subscription_url":"https://api.github.com/repos/WSO2Telco/core-util/subscription","commits_url":"https://api.github.com/repos/WSO2Telco/core-util/commits{/sha}","git_commits_url":"https://api.github.com/repos/WSO2Telco/core-util/git/commits{/sha}","comments_url":"https://api.github.com/repos/WSO2Telco/core-util/comments{/number}","issue_comment_url":"https://api.github.com/repos/WSO2Telco/core-util/issues/comments{/number}","contents_url":"https://api.github.com/repos/WSO2Telco/core-util/contents/{+path}","compare_url":"https://api.github.com/repos/WSO2Telco/core-util/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WSO2Telco/core-util/merges","archive_url":"https://api.github.com/repos/WSO2Telco/core-util/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WSO2Telco/core-util/downloads","issues_url":"https://api.github.com/repos/WSO2Telco/core-util/issues{/number}","pulls_url":"https://api.github.com/repos/WSO2Telco/core-util/pulls{/number}","milestones_url":"https://api.github.com/repos/WSO2Telco/core-util/milestones{/number}","notifications_url":"https://api.github.com/repos/WSO2Telco/core-util/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WSO2Telco/core-util/labels{/name}","releases_url":"https://api.github.com/repos/WSO2Telco/core-util/releases{/id}","deployments_url":"https://api.github.com/repos/WSO2Telco/core-util/deployments","created_at":"2016-01-19T04:02:45Z","updated_at":"2016-07-20T08:50:11Z","pushed_at":"2016-10-10T06:19:27Z","git_url":"git://github.com/WSO2Telco/core-util.git","ssh_url":"git@github.com:WSO2Telco/core-util.git","clone_url":"https://github.com/WSO2Telco/core-util.git","svn_url":"https://github.com/WSO2Telco/core-util","homepage":null,"size":362,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":1,"forks":20,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WSO2Telco/core-util/pulls/29"},"html":{"href":"https://github.com/WSO2Telco/core-util/pull/29"},"issue":{"href":"https://api.github.com/repos/WSO2Telco/core-util/issues/29"},"comments":{"href":"https://api.github.com/repos/WSO2Telco/core-util/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/WSO2Telco/core-util/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/WSO2Telco/core-util/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WSO2Telco/core-util/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/WSO2Telco/core-util/statuses/e6032f1a3538f79c1f4e730f05533ba0bff9349a"}}}}
{"actor":{"display_login":"Nuwan-Walisundara"}}