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

panjuan 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 d96101b37f8 Fix test case AbstractInventoryDumper (#21320)
d96101b37f8 is described below

commit d96101b37f8b23e023881d3404d5e5da84b4ed72
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Oct 2 22:27:55 2022 +0800

    Fix test case AbstractInventoryDumper (#21320)
---
 .../data/pipeline/core/fixture/FixtureInventoryDumper.java        | 8 --------
 1 file changed, 8 deletions(-)

diff --git 
a/shardingsphere-test/shardingsphere-pipeline-test/src/test/java/org/apache/shardingsphere/data/pipeline/core/fixture/FixtureInventoryDumper.java
 
b/shardingsphere-test/shardingsphere-pipeline-test/src/test/java/org/apache/shardingsphere/data/pipeline/core/fixture/FixtureInventoryDumper.java
index dfa4d701596..e05453c882e 100644
--- 
a/shardingsphere-test/shardingsphere-pipeline-test/src/test/java/org/apache/shardingsphere/data/pipeline/core/fixture/FixtureInventoryDumper.java
+++ 
b/shardingsphere-test/shardingsphere-pipeline-test/src/test/java/org/apache/shardingsphere/data/pipeline/core/fixture/FixtureInventoryDumper.java
@@ -23,9 +23,6 @@ import 
org.apache.shardingsphere.data.pipeline.api.metadata.loader.PipelineTable
 import 
org.apache.shardingsphere.data.pipeline.core.ingest.dumper.AbstractInventoryDumper;
 
 import javax.sql.DataSource;
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import java.sql.SQLException;
 
 public final class FixtureInventoryDumper extends AbstractInventoryDumper {
     
@@ -33,9 +30,4 @@ public final class FixtureInventoryDumper extends 
AbstractInventoryDumper {
                                   final DataSource dataSource, final 
PipelineTableMetaDataLoader metaDataLoader) {
         super(dumperConfig, channel, dataSource, metaDataLoader);
     }
-    
-    @Override
-    protected PreparedStatement createPreparedStatement(final Connection conn, 
final String sql) throws SQLException {
-        return conn.prepareStatement(sql);
-    }
 }

Reply via email to