提交 34a6bb0d 编写于 作者: H haocao

Fixed java doc issue.

上级 8bbffbda
......@@ -82,7 +82,7 @@ public final class ShardingDataSourceFactory {
* @param yamlFile yaml file for rule configuration of databases and tables sharding without data sources
* @return sharding data source
* @throws SQLException SQL exception
* @throws IOException IO exception
* @throws SQLException IO exception
*/
public static DataSource createDataSource(final Map<String, DataSource> dataSourceMap, final File yamlFile) throws SQLException, IOException {
return new YamlShardingDataSource(dataSourceMap, yamlFile);
......@@ -94,7 +94,7 @@ public final class ShardingDataSourceFactory {
* @param yamlByteArray yaml byte array for rule configuration of databases and tables sharding with data sources
* @return sharding data source
* @throws SQLException SQL exception
* @throws IOException IO exception
* @throws SQLException IO exception
*/
public static DataSource createDataSource(final byte[] yamlByteArray) throws SQLException, IOException {
return new YamlShardingDataSource(yamlByteArray);
......@@ -107,7 +107,7 @@ public final class ShardingDataSourceFactory {
* @param yamlByteArray yaml byte array for rule configuration of databases and tables sharding without data sources
* @return sharding data source
* @throws SQLException SQL exception
* @throws IOException IO exception
* @throws SQLException IO exception
*/
public static DataSource createDataSource(final Map<String, DataSource> dataSourceMap, final byte[] yamlByteArray) throws SQLException, IOException {
return new YamlShardingDataSource(dataSourceMap, yamlByteArray);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册