mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fixed bug & testcase
This commit is contained in:
@@ -106,6 +106,11 @@ public class DruidDataSourceFactory implements ObjectFactory {
|
||||
|
||||
return createDataSource(properties);
|
||||
}
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
public static DataSource createDataSource(Properties properties) throws Exception {
|
||||
return createDataSource((Map) properties);
|
||||
}
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
public static DataSource createDataSource(Map properties) throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user