Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xianrendzw committed Oct 12, 2016
1 parent b238fd9 commit 732147e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class JdbcUtils {
private static Map<String, DataSource> dataSourceMap = new ConcurrentHashMap<>(100);

public static DataSource getDataSource(ReportDataSource rptDs) {
//用户数据源用户名,密码,jdbcUrl做为key
//用数据源用户名,密码,jdbcUrl做为key
String key = String.format("%s|%s|%s", rptDs.getUser(), rptDs.getPassword(), rptDs.getJdbcUrl()).toLowerCase();
DataSource dataSource = dataSourceMap.get(key);
if (dataSource == null) {
Expand Down

0 comments on commit 732147e

Please sign in to comment.