This is an automated email from the ASF dual-hosted git repository.

yx9o 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 d8f7ab5872b For code format (#21178)
d8f7ab5872b is described below

commit d8f7ab5872bbd7251cda72ed5d1d5cb4e2394033
Author: Liang Zhang <[email protected]>
AuthorDate: Mon Sep 26 08:13:54 2022 +0800

    For code format (#21178)
---
 .../update/AlterShardingBindingTableRulesStatementUpdaterTest.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-distsql/shardingsphere-sharding-distsql-handler/src/test/java/org/apache/shardingsphere/sharding/distsql/update/AlterShardingBindingTableRulesStatementUpdaterTest.java
 
b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-distsql/shardingsphere-sharding-distsql-handler/src/test/java/org/apache/shardingsphere/sharding/distsql/update/AlterShardingBindingTableRulesStatementUpdaterTest.java
index f18111d37f5..07a2f74d054 100644
--- 
a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-distsql/shardingsphere-sharding-distsql-handler/src/test/java/org/apache/shardingsphere/sharding/distsql/update/AlterShardingBindingTableRulesStatementUpdaterTest.java
+++ 
b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-distsql/shardingsphere-sharding-distsql-handler/src/test/java/org/apache/shardingsphere/sharding/distsql/update/AlterShardingBindingTableRulesStatementUpdaterTest.java
@@ -47,17 +47,17 @@ public final class 
AlterShardingBindingTableRulesStatementUpdaterTest {
     
     @Test(expected = MissingRequiredRuleException.class)
     public void assertCheckSQLStatementWithoutCurrentRule() throws 
RuleDefinitionViolationException {
-        updater.checkSQLStatement(database, 
createSQLStatement(Arrays.asList(new 
BindingTableRuleSegment("t_order,t_order_item"))), null);
+        updater.checkSQLStatement(database, 
createSQLStatement(Collections.singletonList(new 
BindingTableRuleSegment("t_order,t_order_item"))), null);
     }
     
     @Test(expected = MissingRequiredRuleException.class)
     public void assertCheckSQLStatementWithNotExistedTables() throws 
RuleDefinitionViolationException {
-        updater.checkSQLStatement(database, 
createSQLStatement(Arrays.asList(new BindingTableRuleSegment("t_3,t_4"))), 
createCurrentRuleConfiguration());
+        updater.checkSQLStatement(database, 
createSQLStatement(Collections.singletonList(new 
BindingTableRuleSegment("t_3,t_4"))), createCurrentRuleConfiguration());
     }
     
     @Test(expected = InvalidRuleConfigurationException.class)
     public void assertCheckSQLStatementWithOneTable() throws 
RuleDefinitionViolationException {
-        updater.checkSQLStatement(database, 
createSQLStatement(Arrays.asList(new BindingTableRuleSegment("t_order"))), 
createCurrentRuleConfiguration());
+        updater.checkSQLStatement(database, 
createSQLStatement(Collections.singletonList(new 
BindingTableRuleSegment("t_order"))), createCurrentRuleConfiguration());
     }
     
     @Test(expected = DuplicateRuleException.class)

Reply via email to