From 95c795946523a64aa7f5f999181fc4d74e720bd2 Mon Sep 17 00:00:00 2001 From: niu niu Date: Sun, 15 Oct 2023 18:24:48 +0800 Subject: [PATCH] Format code --- .../compiler/operator/physical/EnumerableModify.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/compiler/operator/physical/EnumerableModify.java b/kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/compiler/operator/physical/EnumerableModify.java index c536c3d49b31c..2e3f7ff037484 100644 --- a/kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/compiler/operator/physical/EnumerableModify.java +++ b/kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/compiler/operator/physical/EnumerableModify.java @@ -22,7 +22,7 @@ import org.apache.calcite.plan.RelOptCluster; import org.apache.calcite.plan.RelOptTable; import org.apache.calcite.plan.RelTraitSet; -import org.apache.calcite.prepare.Prepare; +import org.apache.calcite.prepare.Prepare.CatalogReader; import org.apache.calcite.rel.RelNode; import org.apache.calcite.rel.core.TableModify; import org.apache.calcite.rex.RexNode; @@ -34,16 +34,14 @@ */ public final class EnumerableModify extends TableModify implements EnumerableRel { - public EnumerableModify(final RelOptCluster cluster, final RelTraitSet traitSet, final RelOptTable table, - final Prepare.CatalogReader catalogReader, final RelNode input, final Operation operation, - final List updateColumnList, final List sourceExpressionList, final boolean flattened) { + public EnumerableModify(final RelOptCluster cluster, final RelTraitSet traitSet, final RelOptTable table, final CatalogReader catalogReader, + final RelNode input, final Operation operation, final List updateColumnList, final List sourceExpressionList, final boolean flattened) { super(cluster, traitSet, table, catalogReader, input, operation, updateColumnList, sourceExpressionList, flattened); } @Override public RelNode copy(final RelTraitSet traitSet, final List inputs) { - return new EnumerableModify(getCluster(), traitSet, getTable(), getCatalogReader(), sole(inputs), getOperation(), - getUpdateColumnList(), getSourceExpressionList(), isFlattened()); + return new EnumerableModify(getCluster(), traitSet, getTable(), getCatalogReader(), sole(inputs), getOperation(), getUpdateColumnList(), getSourceExpressionList(), isFlattened()); } @Override