You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ji...@apache.org on 2021/11/02 13:43:18 UTC
[shardingsphere] branch master updated: Correct the comments.
(#13412)
This is an automated email from the ASF dual-hosted git repository.
jianglongtao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 9661fa9 Correct the comments. (#13412)
9661fa9 is described below
commit 9661fa997a832ac50e1409d17183096ee803b5fc
Author: yx9o <ya...@163.com>
AuthorDate: Tue Nov 2 21:42:37 2021 +0800
Correct the comments. (#13412)
---
.../route/engine/dml/AbstractShadowDMLStatementRouteEngine.java | 2 +-
.../infra/metadata/schema/refresher/SchemaRefresher.java | 2 +-
.../transaction/xa/spi/XATransactionManagerProvider.java | 2 +-
.../junit/container/adapter/ShardingSphereAdapterContainer.java | 2 +-
.../junit/container/adapter/impl/ShardingSphereProxyContainer.java | 6 +++---
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/route/engine/dml/AbstractShadowDMLStatementRouteEngine.java b/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/route/engine/dml/AbstractShadowDMLStatementRouteEngine.java
index c810108..915e2d4 100644
--- a/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/route/engine/dml/AbstractShadowDMLStatementRouteEngine.java
+++ b/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/route/engine/dml/AbstractShadowDMLStatementRouteEngine.java
@@ -153,7 +153,7 @@ public abstract class AbstractShadowDMLStatementRouteEngine implements ShadowRou
/**
* get shadow operation type.
*
- * @return shadow operation type
+ * @return shadow operation type
*/
protected abstract ShadowOperationType getShadowOperationType();
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/schema/refresher/SchemaRefresher.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/schema/refresher/SchemaRefresher.java
index 649dbe5..894fb46 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/schema/refresher/SchemaRefresher.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/schema/refresher/SchemaRefresher.java
@@ -36,7 +36,7 @@ public interface SchemaRefresher<T extends SQLStatement> extends MetaDataRefresh
* Refresh ShardingSphere schema.
*
* @param schemaMetaData schema meta data
- * @param logicDataSourceNames route dataSource names
+ * @param logicDataSourceNames route data source names
* @param sqlStatement SQL statement
* @param props configuration properties
* @throws SQLException SQL exception
diff --git a/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-type/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/XATransactionManagerProvider.java b/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-type/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/XATransactionManagerProvider.java
index 5a0235a..4519f3a 100644
--- a/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-type/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/XATransactionManagerProvider.java
+++ b/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-type/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/XATransactionManagerProvider.java
@@ -45,7 +45,7 @@ public interface XATransactionManagerProvider extends AutoCloseable, TypedSPI, R
* Remove recovery resource.
*
* @param dataSourceName data source name
- * @param xaDataSource XA data source
+ * @param xaDataSource XA data source
*/
void removeRecoveryResource(String dataSourceName, XADataSource xaDataSource);
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/junit/container/adapter/ShardingSphereAdapterContainer.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/junit/container/adapter/ShardingSphereAdapterContainer.java
index df25205..3f6024f 100644
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/junit/container/adapter/ShardingSphereAdapterContainer.java
+++ b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/junit/container/adapter/ShardingSphereAdapterContainer.java
@@ -76,7 +76,7 @@ public abstract class ShardingSphereAdapterContainer extends ShardingSphereConta
* Get governance data source.
*
* @param serverLists server list
- * @return data source.
+ * @return data source
*/
public abstract DataSource getDataSourceForReader(String serverLists);
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/junit/container/adapter/impl/ShardingSphereProxyContainer.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/junit/container/adapter/impl/ShardingSphereProxyContainer.java
index ff6e5ce..d939738 100644
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/junit/container/adapter/impl/ShardingSphereProxyContainer.java
+++ b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/junit/container/adapter/impl/ShardingSphereProxyContainer.java
@@ -55,7 +55,7 @@ public final class ShardingSphereProxyContainer extends ShardingSphereAdapterCon
* Mount path into container from classpath.
*
* @param classPathResource resource path in classpath
- * @param containerPath path in container
+ * @param containerPath path in container
* @return self
*/
public ShardingSphereProxyContainer withClassPathResourceMapping(final String classPathResource, final String containerPath) {
@@ -101,7 +101,7 @@ public final class ShardingSphereProxyContainer extends ShardingSphereAdapterCon
/**
* Get DataSource.
*
- * @return DataSource
+ * @return data source
*/
private DataSource getDataSource() {
DataSource dataSource = dataSourceProvider.get();
@@ -125,7 +125,7 @@ public final class ShardingSphereProxyContainer extends ShardingSphereAdapterCon
* Get governance data source.
*
* @param serverLists server list
- * @return data source.
+ * @return data source
*/
public DataSource getDataSourceForReader(final String serverLists) {
return getDataSource();