From ff09b3c544150c91419c88a967821fed3737c851 Mon Sep 17 00:00:00 2001 From: menghaoranss Date: Wed, 13 May 2020 21:16:03 +0800 Subject: [PATCH] optimize code style --- .../content/manual/sharding-jdbc/usage/orchestration.cn.md | 3 +-- .../content/manual/sharding-jdbc/usage/orchestration.en.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/document/content/manual/sharding-jdbc/usage/orchestration.cn.md b/docs/document/content/manual/sharding-jdbc/usage/orchestration.cn.md index 4b9727b2f1..5daa539ce8 100644 --- a/docs/document/content/manual/sharding-jdbc/usage/orchestration.cn.md +++ b/docs/document/content/manual/sharding-jdbc/usage/orchestration.cn.md @@ -45,8 +45,7 @@ weight = 4 // 获取数据源对象 OrchestrationShardingDataSourceFactory.createDataSource( - createDataSourceMap(), createShardingRuleConfig(), new HashMap(), new Properties(), - new OrchestrationConfiguration(instanceConfigurationMap)); + createDataSourceMap(), createShardingRuleConfig(), new HashMap(), new Properties(), new OrchestrationConfiguration(instanceConfigurationMap)); ``` ### 基于Yaml的规则配置 diff --git a/docs/document/content/manual/sharding-jdbc/usage/orchestration.en.md b/docs/document/content/manual/sharding-jdbc/usage/orchestration.en.md index 883d043f02..ec96424c05 100644 --- a/docs/document/content/manual/sharding-jdbc/usage/orchestration.en.md +++ b/docs/document/content/manual/sharding-jdbc/usage/orchestration.en.md @@ -44,8 +44,7 @@ Using orchestration requires designating a config center and registry center, in // Get data source OrchestrationShardingDataSourceFactory.createDataSource( - createDataSourceMap(), createShardingRuleConfig(), new HashMap(), new Properties(), - new OrchestrationConfiguration(instanceConfigurationMap)); + createDataSourceMap(), createShardingRuleConfig(), new HashMap(), new Properties(), new OrchestrationConfiguration(instanceConfigurationMap)); ``` ### Rule Configuration Based on Yaml -- GitLab