You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2026/01/30 04:49:52 UTC
(shardingsphere) branch master updated: Code format for AlterTablePushDownMetaDataRefresherTest (#37895)
This is an automated email from the ASF dual-hosted git repository.
zhangliang 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 b2789bbe106 Code format for AlterTablePushDownMetaDataRefresherTest (#37895)
b2789bbe106 is described below
commit b2789bbe106b05225c056acf5485e6b1d338ca6d
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Fri Jan 30 12:49:45 2026 +0800
Code format for AlterTablePushDownMetaDataRefresherTest (#37895)
---
.../pushdown/type/table/AlterTablePushDownMetaDataRefresherTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mode/core/src/test/java/org/apache/shardingsphere/mode/metadata/refresher/pushdown/type/table/AlterTablePushDownMetaDataRefresherTest.java b/mode/core/src/test/java/org/apache/shardingsphere/mode/metadata/refresher/pushdown/type/table/AlterTablePushDownMetaDataRefresherTest.java
index 4368b680d7a..699ae67ed6e 100644
--- a/mode/core/src/test/java/org/apache/shardingsphere/mode/metadata/refresher/pushdown/type/table/AlterTablePushDownMetaDataRefresherTest.java
+++ b/mode/core/src/test/java/org/apache/shardingsphere/mode/metadata/refresher/pushdown/type/table/AlterTablePushDownMetaDataRefresherTest.java
@@ -83,8 +83,8 @@ class AlterTablePushDownMetaDataRefresherTest {
when(TableRefreshUtils.getTableName(sqlStatement.getTable().getTableName().getIdentifier(), databaseType)).thenReturn("foo_tbl");
when(TableRefreshUtils.isSingleTable(any(), any())).thenReturn(true);
ShardingSphereTable renamedTable = new ShardingSphereTable("bar_tbl", Collections.emptyList(), Collections.emptyList(), Collections.emptyList());
- Map<String, ShardingSphereSchema> schemas = Collections.singletonMap("foo_schema",
- new ShardingSphereSchema("foo_schema", databaseType, Collections.singleton(renamedTable), Collections.emptyList()));
+ Map<String, ShardingSphereSchema> schemas = Collections.singletonMap(
+ "foo_schema", new ShardingSphereSchema("foo_schema", databaseType, Collections.singleton(renamedTable), Collections.emptyList()));
ShardingSphereDatabase database = new ShardingSphereDatabase(
"foo_db", databaseType, new ResourceMetaData(Collections.emptyMap()), new RuleMetaData(Collections.singleton(rule)), Collections.emptyList());
when(GenericSchemaBuilder.build(eq(Collections.singletonList("bar_tbl")), eq(database.getProtocolType()), any())).thenReturn(schemas);