Skip to content

Commit

Permalink
fix:spotless error
Browse files Browse the repository at this point in the history
  • Loading branch information
lujx98 committed Sep 30, 2023
1 parent c1d8014 commit 38180c8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ public final class MySQLInformationSchemaParameterTableCollector implements Shar
private static final String PARAMETER_TABLE_NAME = "PARAMETERS";

private static final String COLLECT_SQL = "select * from information_schema.PARAMETERS";

@Override
public Optional<ShardingSphereTableData> collect(final String databaseName,final ShardingSphereTable table,final Map<String, ShardingSphereDatabase> shardingSphereDatabases) throws SQLException {
public Optional<ShardingSphereTableData> collect(final String databaseName, final ShardingSphereTable table,
final Map<String, ShardingSphereDatabase> shardingSphereDatabases) throws SQLException {
Optional<String> databaseWithDatasource = ProxyContext.getInstance().getAllDatabaseNames().stream().filter(MySQLInformationSchemaParameterTableCollector::hasDataSource).findFirst();
if (databaseWithDatasource.isPresent()) {
Collection<ShardingSphereRowData> rows = ShardingSphereTableDataCollectorUtils.collectRowData(shardingSphereDatabases.get(databaseWithDatasource.get()),
Expand Down

0 comments on commit 38180c8

Please sign in to comment.