Skip to content

Commit

Permalink
Remove redundant code (apache#21131)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaojinchao95 authored Sep 22, 2022
1 parent df412c0 commit 1d5fcc5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import org.apache.shardingsphere.infra.metadata.database.schema.loader.common.TableMetaDataLoader;
import org.apache.shardingsphere.infra.metadata.database.schema.loader.model.SchemaMetaData;
import org.apache.shardingsphere.infra.metadata.database.schema.loader.model.TableMetaData;
import org.apache.shardingsphere.infra.metadata.database.schema.loader.model.ViewMetaData;
import org.apache.shardingsphere.infra.metadata.database.schema.loader.spi.DialectSchemaMetaDataLoader;
import org.apache.shardingsphere.infra.metadata.database.schema.loader.spi.DialectSchemaMetaDataLoaderFactory;
import org.apache.shardingsphere.infra.util.exception.external.sql.type.generic.UnknownSQLException;
Expand Down Expand Up @@ -73,7 +72,6 @@ public static Map<String, SchemaMetaData> load(final Collection<SchemaMetaDataLo

private static Map<String, SchemaMetaData> loadByDefault(final Collection<SchemaMetaDataLoaderMaterials> materials, final DatabaseType databaseType) throws SQLException {
Collection<TableMetaData> tableMetaData = new LinkedList<>();
Collection<ViewMetaData> viewMetaData = new LinkedList<>();
String defaultSchemaName = null;
for (SchemaMetaDataLoaderMaterials each : materials) {
defaultSchemaName = each.getDefaultSchemaName();
Expand Down

This file was deleted.

0 comments on commit 1d5fcc5

Please sign in to comment.