You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2022/03/09 10:22:44 UTC
[shardingsphere] branch master updated: For code format (#15937)
This is an automated email from the ASF dual-hosted git repository.
duanzhengqiang 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 2a0087d For code format (#15937)
2a0087d is described below
commit 2a0087d65d8091d2028115054c9cb4e1c4292d63
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Wed Mar 9 18:21:14 2022 +0800
For code format (#15937)
---
.../shardingsphere/test/integration/cases/SQLCommandType.java | 6 +++---
.../framework/param/array/ParameterizedArrayGenerator.java | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/SQLCommandType.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/SQLCommandType.java
index f13800a..70abe0d 100644
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/SQLCommandType.java
+++ b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/SQLCommandType.java
@@ -78,17 +78,17 @@ public enum SQLCommandType {
* Database control Language.
*/
DCL(DCLStatement.class, "dcl-integration-test-cases", false, Arrays.asList("jdbc", "proxy")),
-
+
/**
* Resource & Rule Administration Language.
*/
RAL(RALStatement.class, "ral-integration-test-cases", true, Collections.singletonList("proxy")),
-
+
/**
* Resource & Rule Definition Language.
*/
RDL(RDLStatement.class, "rdl-integration-test-cases", true, Collections.singletonList("proxy")),
-
+
/**
* Resource & Rule Query Language.
*/
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/framework/param/array/ParameterizedArrayGenerator.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/framework/param/array/ParameterizedArrayGenerator.java
index ed233b6..479bf10 100644
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/framework/param/array/ParameterizedArrayGenerator.java
+++ b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/framework/param/array/ParameterizedArrayGenerator.java
@@ -117,7 +117,7 @@ public final class ParameterizedArrayGenerator {
return envScenarios.stream().filter(each -> filterScenarios(each, scenarios, sqlCommandType.getSqlStatementClass()))
.map(each -> new AssertionParameterizedArray(testCaseContext, assertion, adapter, each, databaseType, sqlExecuteType)).collect(Collectors.toList());
}
-
+
private boolean filterScenarios(final String scenario, final Collection<String> scenarios, final Class<? extends SQLStatement> sqlStatementClass) {
if (sqlStatementClass == RDLStatement.class || sqlStatementClass == RALStatement.class) {
return "empty_rules".equals(scenario);