{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon4-kernel/pulls/comments/25233235","id":25233235,"diff_hunk":"@@ -89,158 +87,151 @@ private static DataSource lookupDataSource(String dataSourceName) {\n \n     public static DataSource createUserStoreDataSource(RealmConfiguration realmConfig) {\n         String dataSourceName = realmConfig.getUserStoreProperty(JDBCRealmConstants.DATASOURCE);\n-    \tif (dataSourceName != null) {\n-    \t\treturn lookupDataSource(dataSourceName);\n-    \t}\n-\t\tRDBMSConfiguration dsConfig = new RDBMSConfiguration();\n-\t\tdsConfig.setDriverClassName(realmConfig.getUserStoreProperty(JDBCRealmConstants.DRIVER_NAME));\n-\t\tif (dsConfig.getDriverClassName() == null) {\n-\t\t\treturn null;\n-\t\t}\n-\t\tdsConfig.setUrl(realmConfig.getUserStoreProperty(JDBCRealmConstants.URL));\n-\t\tdsConfig.setUsername(realmConfig.getUserStoreProperty(JDBCRealmConstants.USER_NAME));\n-\t\tdsConfig.setPassword(realmConfig.getUserStoreProperty(JDBCRealmConstants.PASSWORD));\n-\n-\t\tif (realmConfig.getUserStoreProperty(JDBCRealmConstants.MAX_ACTIVE) != null\n-\t\t\t\t&& !realmConfig.getUserStoreProperty(JDBCRealmConstants.MAX_ACTIVE).equals(\"\")) {\n-\t\t\tdsConfig.setMaxActive(Integer.parseInt(realmConfig.getUserStoreProperty(\n-\t\t\t\t\tJDBCRealmConstants.MAX_ACTIVE)));\n-\t\t} else {\n-\t\t\tdsConfig.setMaxActive(DEFAULT_MAX_ACTIVE);\n-\t\t}\n+        if (dataSourceName != null) {\n+            return lookupDataSource(dataSourceName);\n+        }\n+        PoolProperties poolProperties = new PoolProperties();\n+        poolProperties.setDriverClassName(realmConfig.getUserStoreProperty(JDBCRealmConstants.DRIVER_NAME));\n+        if (poolProperties.getDriverClassName() == null) {\n+            return null;\n+        }\n+        poolProperties.setUrl(realmConfig.getUserStoreProperty(JDBCRealmConstants.URL));\n+        poolProperties.setUsername(realmConfig.getUserStoreProperty(JDBCRealmConstants.USER_NAME));\n+        poolProperties.setPassword(realmConfig.getUserStoreProperty(JDBCRealmConstants.PASSWORD));\n+\n+        if (realmConfig.getUserStoreProperty(JDBCRealmConstants.MAX_ACTIVE) != null\n+                && !realmConfig.getUserStoreProperty(JDBCRealmConstants.MAX_ACTIVE).equals(\"\")) {\n+            poolProperties.setMaxActive(Integer.parseInt(realmConfig.getUserStoreProperty(\n+                    JDBCRealmConstants.MAX_ACTIVE)));\n+        } else {\n+            poolProperties.setMaxActive(DEFAULT_MAX_ACTIVE);\n+        }\n \n-\t\tif (realmConfig.getUserStoreProperty(JDBCRealmConstants.MIN_IDLE) != null\n-\t\t\t\t&& !realmConfig.getUserStoreProperty(JDBCRealmConstants.MIN_IDLE).equals(\"\")) {\n-\t\t\tdsConfig.setMinIdle(Integer.parseInt(realmConfig.getUserStoreProperty(\n-\t\t\t\t\tJDBCRealmConstants.MIN_IDLE)));\n-\t\t} else {\n-\t\t\tdsConfig.setMinIdle(DEFAULT_MIN_IDLE);\n-\t\t}\n+        if (realmConfig.getUserStoreProperty(JDBCRealmConstants.MIN_IDLE) != null\n+                && !realmConfig.getUserStoreProperty(JDBCRealmConstants.MIN_IDLE).equals(\"\")) {\n+            poolProperties.setMinIdle(Integer.parseInt(realmConfig.getUserStoreProperty(\n+                    JDBCRealmConstants.MIN_IDLE)));\n+        } else {\n+            poolProperties.setMinIdle(DEFAULT_MIN_IDLE);\n+        }\n \n-\t\tif (realmConfig.getUserStoreProperty(JDBCRealmConstants.MAX_IDLE) != null\n-\t\t\t\t&& !realmConfig.getUserStoreProperty(JDBCRealmConstants.MAX_IDLE).equals(\"\")) {\n-\t\t\tdsConfig.setMinIdle(Integer.parseInt(realmConfig.getUserStoreProperty(\n-\t\t\t\t\tJDBCRealmConstants.MAX_IDLE)));\n-\t\t} else {\n-\t\t\tdsConfig.setMinIdle(DEFAULT_MAX_IDLE);\n-\t\t}\n+        if (realmConfig.getUserStoreProperty(JDBCRealmConstants.MAX_IDLE) != null\n+                && !realmConfig.getUserStoreProperty(JDBCRealmConstants.MAX_IDLE).equals(\"\")) {\n+            poolProperties.setMinIdle(Integer.parseInt(realmConfig.getUserStoreProperty(\n+                    JDBCRealmConstants.MAX_IDLE)));\n+        } else {\n+            poolProperties.setMinIdle(DEFAULT_MAX_IDLE);\n+        }\n \n-\t\tif (realmConfig.getUserStoreProperty(JDBCRealmConstants.MAX_WAIT) != null\n-\t\t\t\t&& !realmConfig.getUserStoreProperty(JDBCRealmConstants.MAX_WAIT).equals(\"\")) {\n-\t\t\tdsConfig.setMaxWait(Integer.parseInt(realmConfig.getUserStoreProperty(\n-\t\t\t\t\tJDBCRealmConstants.MAX_WAIT)));\n-\t\t} else {\n-\t\t\tdsConfig.setMaxWait(DEFAULT_MAX_WAIT);\n-\t\t}\n+        if (realmConfig.getUserStoreProperty(JDBCRealmConstants.MAX_WAIT) != null\n+                && !realmConfig.getUserStoreProperty(JDBCRealmConstants.MAX_WAIT).equals(\"\")) {\n+            poolProperties.setMaxWait(Integer.parseInt(realmConfig.getUserStoreProperty(\n+                    JDBCRealmConstants.MAX_WAIT)));\n+        } else {\n+            poolProperties.setMaxWait(DEFAULT_MAX_WAIT);\n+        }\n \n-\t\tif (realmConfig.getUserStoreProperty(JDBCRealmConstants.TEST_WHILE_IDLE) != null\n-\t\t\t\t&& !realmConfig.getUserStoreProperty(\n-\t\t\t\t\t\tJDBCRealmConstants.TEST_WHILE_IDLE).equals(\"\")) {\n-\t\t\tdsConfig.setTestWhileIdle(Boolean.parseBoolean(realmConfig.getUserStoreProperty(\n-\t\t\t\t\tJDBCRealmConstants.TEST_WHILE_IDLE)));\n-\t\t}\n+        if (realmConfig.getUserStoreProperty(JDBCRealmConstants.TEST_WHILE_IDLE) != null\n+                && !realmConfig.getUserStoreProperty(\n+                JDBCRealmConstants.TEST_WHILE_IDLE).equals(\"\")) {\n+            poolProperties.setTestWhileIdle(Boolean.parseBoolean(realmConfig.getUserStoreProperty(\n+                    JDBCRealmConstants.TEST_WHILE_IDLE)));\n+        }\n \n-\t\tif (realmConfig.getUserStoreProperty(JDBCRealmConstants.TIME_BETWEEN_EVICTION_RUNS_MILLIS) != null\n-\t\t\t\t&& !realmConfig.getUserStoreProperty(\n-\t\t\t\t\t\tJDBCRealmConstants.TIME_BETWEEN_EVICTION_RUNS_MILLIS).equals(\"\")) {\n-\t\t\tdsConfig.setTimeBetweenEvictionRunsMillis(Integer.parseInt(\n-\t\t\t\t\trealmConfig.getUserStoreProperty(\n-\t\t\t\t\t\t\tJDBCRealmConstants.TIME_BETWEEN_EVICTION_RUNS_MILLIS)));\n-\t\t}\n+        if (realmConfig.getUserStoreProperty(JDBCRealmConstants.TIME_BETWEEN_EVICTION_RUNS_MILLIS) != null\n+                && !realmConfig.getUserStoreProperty(\n+                JDBCRealmConstants.TIME_BETWEEN_EVICTION_RUNS_MILLIS).equals(\"\")) {\n+            poolProperties.setTimeBetweenEvictionRunsMillis(Integer.parseInt(\n+                    realmConfig.getUserStoreProperty(\n+                            JDBCRealmConstants.TIME_BETWEEN_EVICTION_RUNS_MILLIS)));\n+        }\n \n-\t\tif (realmConfig.getUserStoreProperty(JDBCRealmConstants.MIN_EVIC_TABLE_IDLE_TIME_MILLIS) != null\n-\t\t\t\t&& !realmConfig.getUserStoreProperty(\n-\t\t\t\t\t\tJDBCRealmConstants.MIN_EVIC_TABLE_IDLE_TIME_MILLIS).equals(\"\")) {\n-\t\t\tdsConfig.setMinEvictableIdleTimeMillis(Integer.parseInt(realmConfig.getUserStoreProperty(\n-\t\t\t\t\tJDBCRealmConstants.MIN_EVIC_TABLE_IDLE_TIME_MILLIS)));\n-\t\t}\n+        if (realmConfig.getUserStoreProperty(JDBCRealmConstants.MIN_EVIC_TABLE_IDLE_TIME_MILLIS) != null\n+                && !realmConfig.getUserStoreProperty(\n+                JDBCRealmConstants.MIN_EVIC_TABLE_IDLE_TIME_MILLIS).equals(\"\")) {\n+            poolProperties.setMinEvictableIdleTimeMillis(Integer.parseInt(realmConfig.getUserStoreProperty(\n+                    JDBCRealmConstants.MIN_EVIC_TABLE_IDLE_TIME_MILLIS)));\n+        }\n \n-\t\tif (realmConfig.getUserStoreProperty(JDBCRealmConstants.VALIDATION_QUERY) != null) {\n-\t\t\tdsConfig.setValidationQuery(realmConfig.getUserStoreProperty(\n-\t\t\t\t\tJDBCRealmConstants.VALIDATION_QUERY));\n-\t\t}\n-        try {\n-\t\t\treturn new RDBMSDataSource(dsConfig).getDataSource();\n-\t\t} catch (DataSourceException e) {\n-\t\t\tthrow new RuntimeException(\"Error in creating data source: \" + e.getMessage(), e);\n-\t\t}\n+        if (realmConfig.getUserStoreProperty(JDBCRealmConstants.VALIDATION_QUERY) != null) {\n+            poolProperties.setValidationQuery(realmConfig.getUserStoreProperty(\n+                    JDBCRealmConstants.VALIDATION_QUERY));\n+        }\n+        return new org.apache.tomcat.jdbc.pool.DataSource(poolProperties);\n     }\n     \n     private static DataSource createRealmDataSource(RealmConfiguration realmConfig) {\n         String dataSourceName = realmConfig.getRealmProperty(JDBCRealmConstants.DATASOURCE);\n-    \tif (dataSourceName != null) {\n-    \t\treturn lookupDataSource(dataSourceName);\n-    \t}\n-\t\tRDBMSConfiguration dsConfig = new RDBMSConfiguration();\n-\t\tdsConfig.setDriverClassName(realmConfig.getRealmProperty(JDBCRealmConstants.DRIVER_NAME));\n-\t\tdsConfig.setUrl(realmConfig.getRealmProperty(JDBCRealmConstants.URL));\n-\t\tdsConfig.setUsername(realmConfig.getRealmProperty(JDBCRealmConstants.USER_NAME));\n-\t\tdsConfig.setPassword(realmConfig.getRealmProperty(JDBCRealmConstants.PASSWORD));\n-\n-\t\tif (realmConfig.getRealmProperty(JDBCRealmConstants.MAX_ACTIVE) != null\n-\t\t\t\t&& !realmConfig.getRealmProperty(JDBCRealmConstants.MAX_ACTIVE).equals(\"\")) {\n-\t\t\tdsConfig.setMaxActive(Integer.parseInt(realmConfig.getRealmProperty(\n-\t\t\t\t\tJDBCRealmConstants.MAX_ACTIVE)));\n-\t\t} else {\n-\t\t\tdsConfig.setMaxActive(DEFAULT_MAX_ACTIVE);\n-\t\t}\n+        if (dataSourceName != null) {\n+            return lookupDataSource(dataSourceName);\n+        }\n+        PoolProperties poolProperties = new PoolProperties();\n+        poolProperties.setDriverClassName(realmConfig.getRealmProperty(JDBCRealmConstants.DRIVER_NAME));\n+        poolProperties.setUrl(realmConfig.getRealmProperty(JDBCRealmConstants.URL));\n+        poolProperties.setUsername(realmConfig.getRealmProperty(JDBCRealmConstants.USER_NAME));\n+        poolProperties.setPassword(realmConfig.getRealmProperty(JDBCRealmConstants.PASSWORD));\n+\n+        if (realmConfig.getRealmProperty(JDBCRealmConstants.MAX_ACTIVE) != null\n+                && !realmConfig.getRealmProperty(JDBCRealmConstants.MAX_ACTIVE).equals(\"\")) {\n+            poolProperties.setMaxActive(Integer.parseInt(realmConfig.getRealmProperty(\n+                    JDBCRealmConstants.MAX_ACTIVE)));\n+        } else {\n+            poolProperties.setMaxActive(DEFAULT_MAX_ACTIVE);\n+        }\n \n-\t\tif (realmConfig.getRealmProperty(JDBCRealmConstants.MIN_IDLE) != null\n-\t\t\t\t&& !realmConfig.getRealmProperty(JDBCRealmConstants.MIN_IDLE).equals(\"\")) {\n-\t\t\tdsConfig.setMinIdle(Integer.parseInt(realmConfig.getRealmProperty(\n-\t\t\t\t\tJDBCRealmConstants.MIN_IDLE)));\n-\t\t} else {\n-\t\t\tdsConfig.setMinIdle(DEFAULT_MIN_IDLE);\n-\t\t}\n+        if (realmConfig.getRealmProperty(JDBCRealmConstants.MIN_IDLE) != null\n+                && !realmConfig.getRealmProperty(JDBCRealmConstants.MIN_IDLE).equals(\"\")) {\n+            poolProperties.setMinIdle(Integer.parseInt(realmConfig.getRealmProperty(\n+                    JDBCRealmConstants.MIN_IDLE)));\n+        } else {\n+            poolProperties.setMinIdle(DEFAULT_MIN_IDLE);\n+        }\n \n-\t\tif (realmConfig.getRealmProperty(JDBCRealmConstants.MAX_IDLE) != null\n-\t\t\t\t&& !realmConfig.getRealmProperty(JDBCRealmConstants.MAX_IDLE).equals(\"\")) {\n-\t\t\tdsConfig.setMinIdle(Integer.parseInt(realmConfig.getRealmProperty(\n-\t\t\t\t\tJDBCRealmConstants.MAX_IDLE)));\n-\t\t} else {\n-\t\t\tdsConfig.setMinIdle(DEFAULT_MAX_IDLE);\n-\t\t}\n+        if (realmConfig.getRealmProperty(JDBCRealmConstants.MAX_IDLE) != null\n+                && !realmConfig.getRealmProperty(JDBCRealmConstants.MAX_IDLE).equals(\"\")) {","path":"core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/util/DatabaseUtil.java","position":215,"original_position":215,"commit_id":"700683690a055002e1506e6cecf058204731af95","original_commit_id":"700683690a055002e1506e6cecf058204731af95","user":{"login":"johannnallathamby","id":7780626,"avatar_url":"https://avatars.githubusercontent.com/u/7780626?v=3","gravatar_id":"","url":"https://api.github.com/users/johannnallathamby","html_url":"https://github.com/johannnallathamby","followers_url":"https://api.github.com/users/johannnallathamby/followers","following_url":"https://api.github.com/users/johannnallathamby/following{/other_user}","gists_url":"https://api.github.com/users/johannnallathamby/gists{/gist_id}","starred_url":"https://api.github.com/users/johannnallathamby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johannnallathamby/subscriptions","organizations_url":"https://api.github.com/users/johannnallathamby/orgs","repos_url":"https://api.github.com/users/johannnallathamby/repos","events_url":"https://api.github.com/users/johannnallathamby/events{/privacy}","received_events_url":"https://api.github.com/users/johannnallathamby/received_events","type":"User","site_admin":false},"body":"trim() before comparing \"\"","created_at":"2015-02-24T07:31:46Z","updated_at":"2015-02-24T07:31:46Z","html_url":"https://github.com/wso2/carbon4-kernel/pull/147#discussion_r25233235","pull_request_url":"https://api.github.com/repos/wso2/carbon4-kernel/pulls/147","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon4-kernel/pulls/comments/25233235"},"html":{"href":"https://github.com/wso2/carbon4-kernel/pull/147#discussion_r25233235"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon4-kernel/pulls/147"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon4-kernel/pulls/147","id":29874988,"html_url":"https://github.com/wso2/carbon4-kernel/pull/147","diff_url":"https://github.com/wso2/carbon4-kernel/pull/147.diff","patch_url":"https://github.com/wso2/carbon4-kernel/pull/147.patch","issue_url":"https://api.github.com/repos/wso2/carbon4-kernel/issues/147","number":147,"state":"open","locked":false,"title":"Removing ndatasource.rdbms dependency from user.core","user":{"login":"chanikag","id":6702569,"avatar_url":"https://avatars.githubusercontent.com/u/6702569?v=3","gravatar_id":"","url":"https://api.github.com/users/chanikag","html_url":"https://github.com/chanikag","followers_url":"https://api.github.com/users/chanikag/followers","following_url":"https://api.github.com/users/chanikag/following{/other_user}","gists_url":"https://api.github.com/users/chanikag/gists{/gist_id}","starred_url":"https://api.github.com/users/chanikag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanikag/subscriptions","organizations_url":"https://api.github.com/users/chanikag/orgs","repos_url":"https://api.github.com/users/chanikag/repos","events_url":"https://api.github.com/users/chanikag/events{/privacy}","received_events_url":"https://api.github.com/users/chanikag/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-24T06:57:40Z","updated_at":"2015-02-24T07:31:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f65e4a79a238870d00ac5e71bc56f2aef35711b1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon4-kernel/pulls/147/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon4-kernel/pulls/147/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon4-kernel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon4-kernel/issues/147/comments","statuses_url":"https://api.github.com/repos/wso2/carbon4-kernel/statuses/700683690a055002e1506e6cecf058204731af95","head":{"label":"chanikag:master","ref":"master","sha":"700683690a055002e1506e6cecf058204731af95","user":{"login":"chanikag","id":6702569,"avatar_url":"https://avatars.githubusercontent.com/u/6702569?v=3","gravatar_id":"","url":"https://api.github.com/users/chanikag","html_url":"https://github.com/chanikag","followers_url":"https://api.github.com/users/chanikag/followers","following_url":"https://api.github.com/users/chanikag/following{/other_user}","gists_url":"https://api.github.com/users/chanikag/gists{/gist_id}","starred_url":"https://api.github.com/users/chanikag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanikag/subscriptions","organizations_url":"https://api.github.com/users/chanikag/orgs","repos_url":"https://api.github.com/users/chanikag/repos","events_url":"https://api.github.com/users/chanikag/events{/privacy}","received_events_url":"https://api.github.com/users/chanikag/received_events","type":"User","site_admin":false},"repo":{"id":31246924,"name":"carbon4-kernel","full_name":"chanikag/carbon4-kernel","owner":{"login":"chanikag","id":6702569,"avatar_url":"https://avatars.githubusercontent.com/u/6702569?v=3","gravatar_id":"","url":"https://api.github.com/users/chanikag","html_url":"https://github.com/chanikag","followers_url":"https://api.github.com/users/chanikag/followers","following_url":"https://api.github.com/users/chanikag/following{/other_user}","gists_url":"https://api.github.com/users/chanikag/gists{/gist_id}","starred_url":"https://api.github.com/users/chanikag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanikag/subscriptions","organizations_url":"https://api.github.com/users/chanikag/orgs","repos_url":"https://api.github.com/users/chanikag/repos","events_url":"https://api.github.com/users/chanikag/events{/privacy}","received_events_url":"https://api.github.com/users/chanikag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chanikag/carbon4-kernel","description":"","fork":true,"url":"https://api.github.com/repos/chanikag/carbon4-kernel","forks_url":"https://api.github.com/repos/chanikag/carbon4-kernel/forks","keys_url":"https://api.github.com/repos/chanikag/carbon4-kernel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chanikag/carbon4-kernel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chanikag/carbon4-kernel/teams","hooks_url":"https://api.github.com/repos/chanikag/carbon4-kernel/hooks","issue_events_url":"https://api.github.com/repos/chanikag/carbon4-kernel/issues/events{/number}","events_url":"https://api.github.com/repos/chanikag/carbon4-kernel/events","assignees_url":"https://api.github.com/repos/chanikag/carbon4-kernel/assignees{/user}","branches_url":"https://api.github.com/repos/chanikag/carbon4-kernel/branches{/branch}","tags_url":"https://api.github.com/repos/chanikag/carbon4-kernel/tags","blobs_url":"https://api.github.com/repos/chanikag/carbon4-kernel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chanikag/carbon4-kernel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chanikag/carbon4-kernel/git/refs{/sha}","trees_url":"https://api.github.com/repos/chanikag/carbon4-kernel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chanikag/carbon4-kernel/statuses/{sha}","languages_url":"https://api.github.com/repos/chanikag/carbon4-kernel/languages","stargazers_url":"https://api.github.com/repos/chanikag/carbon4-kernel/stargazers","contributors_url":"https://api.github.com/repos/chanikag/carbon4-kernel/contributors","subscribers_url":"https://api.github.com/repos/chanikag/carbon4-kernel/subscribers","subscription_url":"https://api.github.com/repos/chanikag/carbon4-kernel/subscription","commits_url":"https://api.github.com/repos/chanikag/carbon4-kernel/commits{/sha}","git_commits_url":"https://api.github.com/repos/chanikag/carbon4-kernel/git/commits{/sha}","comments_url":"https://api.github.com/repos/chanikag/carbon4-kernel/comments{/number}","issue_comment_url":"https://api.github.com/repos/chanikag/carbon4-kernel/issues/comments{/number}","contents_url":"https://api.github.com/repos/chanikag/carbon4-kernel/contents/{+path}","compare_url":"https://api.github.com/repos/chanikag/carbon4-kernel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chanikag/carbon4-kernel/merges","archive_url":"https://api.github.com/repos/chanikag/carbon4-kernel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chanikag/carbon4-kernel/downloads","issues_url":"https://api.github.com/repos/chanikag/carbon4-kernel/issues{/number}","pulls_url":"https://api.github.com/repos/chanikag/carbon4-kernel/pulls{/number}","milestones_url":"https://api.github.com/repos/chanikag/carbon4-kernel/milestones{/number}","notifications_url":"https://api.github.com/repos/chanikag/carbon4-kernel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chanikag/carbon4-kernel/labels{/name}","releases_url":"https://api.github.com/repos/chanikag/carbon4-kernel/releases{/id}","created_at":"2015-02-24T05:58:06Z","updated_at":"2015-02-24T06:45:37Z","pushed_at":"2015-02-24T06:45:36Z","git_url":"git://github.com/chanikag/carbon4-kernel.git","ssh_url":"git@github.com:chanikag/carbon4-kernel.git","clone_url":"https://github.com/chanikag/carbon4-kernel.git","svn_url":"https://github.com/chanikag/carbon4-kernel","homepage":null,"size":38211,"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":"wso2:master","ref":"master","sha":"b8ca7d6f6b9e8f725654cb80491a159808b07fdc","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":16162184,"name":"carbon4-kernel","full_name":"wso2/carbon4-kernel","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon4-kernel","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon4-kernel","forks_url":"https://api.github.com/repos/wso2/carbon4-kernel/forks","keys_url":"https://api.github.com/repos/wso2/carbon4-kernel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon4-kernel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon4-kernel/teams","hooks_url":"https://api.github.com/repos/wso2/carbon4-kernel/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon4-kernel/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon4-kernel/events","assignees_url":"https://api.github.com/repos/wso2/carbon4-kernel/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon4-kernel/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon4-kernel/tags","blobs_url":"https://api.github.com/repos/wso2/carbon4-kernel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon4-kernel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon4-kernel/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon4-kernel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon4-kernel/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon4-kernel/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon4-kernel/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon4-kernel/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon4-kernel/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon4-kernel/subscription","commits_url":"https://api.github.com/repos/wso2/carbon4-kernel/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon4-kernel/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon4-kernel/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon4-kernel/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon4-kernel/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon4-kernel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon4-kernel/merges","archive_url":"https://api.github.com/repos/wso2/carbon4-kernel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon4-kernel/downloads","issues_url":"https://api.github.com/repos/wso2/carbon4-kernel/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon4-kernel/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon4-kernel/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon4-kernel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon4-kernel/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon4-kernel/releases{/id}","created_at":"2014-01-23T04:23:41Z","updated_at":"2015-02-23T19:08:48Z","pushed_at":"2015-02-24T05:13:21Z","git_url":"git://github.com/wso2/carbon4-kernel.git","ssh_url":"git@github.com:wso2/carbon4-kernel.git","clone_url":"https://github.com/wso2/carbon4-kernel.git","svn_url":"https://github.com/wso2/carbon4-kernel","homepage":null,"size":38211,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":109,"mirror_url":null,"open_issues_count":25,"forks":109,"open_issues":25,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon4-kernel/pulls/147"},"html":{"href":"https://github.com/wso2/carbon4-kernel/pull/147"},"issue":{"href":"https://api.github.com/repos/wso2/carbon4-kernel/issues/147"},"comments":{"href":"https://api.github.com/repos/wso2/carbon4-kernel/issues/147/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon4-kernel/pulls/147/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon4-kernel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon4-kernel/pulls/147/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon4-kernel/statuses/700683690a055002e1506e6cecf058204731af95"}}}}