Skip to content

Commit

Permalink
Use qualified name consistently
Browse files Browse the repository at this point in the history
Other Method options aren't statically imported.
  • Loading branch information
findepi committed May 5, 2023
1 parent 0d409dd commit d16f39d
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
import java.util.Set;
import java.util.function.Function;

import static io.trino.plugin.hive.metastore.CountingAccessHiveMetastore.Method.GET_ALL_TABLES_FROM_DATABASE;
import static io.trino.plugin.hive.metastore.CountingAccessHiveMetastore.Method.GET_ALL_VIEWS_FROM_DATABASE;

@ThreadSafe
public class CountingAccessHiveMetastore
implements HiveMetastore
Expand Down Expand Up @@ -118,7 +115,7 @@ public List<String> getTablesWithParameter(String databaseName, String parameter
@Override
public List<String> getAllViews(String databaseName)
{
methodInvocations.add(GET_ALL_VIEWS_FROM_DATABASE);
methodInvocations.add(Method.GET_ALL_VIEWS_FROM_DATABASE);
return delegate.getAllViews(databaseName);
}

Expand Down Expand Up @@ -347,7 +344,7 @@ public void updatePartitionStatistics(Table table, Map<String, Function<Partitio
@Override
public List<String> getAllTables(String databaseName)
{
methodInvocations.add(GET_ALL_TABLES_FROM_DATABASE);
methodInvocations.add(Method.GET_ALL_TABLES_FROM_DATABASE);
return delegate.getAllTables(databaseName);
}
}

0 comments on commit d16f39d

Please sign in to comment.