From fb8eabbdd9ac3b35f0f7392c65fabd35060fe672 Mon Sep 17 00:00:00 2001 From: Piotr Findeisen Date: Mon, 7 Aug 2023 14:26:39 +0200 Subject: [PATCH] Remove unused binding It is probably unused since f09ccea41d6bb9df23fe915fa843c684b07aae52. --- .../io/trino/plugin/hive/metastore/glue/GlueMetastoreModule.java | 1 - 1 file changed, 1 deletion(-) diff --git a/plugin/trino-hive/src/main/java/io/trino/plugin/hive/metastore/glue/GlueMetastoreModule.java b/plugin/trino-hive/src/main/java/io/trino/plugin/hive/metastore/glue/GlueMetastoreModule.java index 8bc31429f12b..77fcf7043200 100644 --- a/plugin/trino-hive/src/main/java/io/trino/plugin/hive/metastore/glue/GlueMetastoreModule.java +++ b/plugin/trino-hive/src/main/java/io/trino/plugin/hive/metastore/glue/GlueMetastoreModule.java @@ -60,7 +60,6 @@ protected void setup(Binder binder) .toInstance(new ProxyApiRequestHandler(glueProxyApiId))); configBinder(binder).bindConfig(HiveConfig.class); binder.bind(AWSCredentialsProvider.class).toProvider(GlueCredentialsProvider.class).in(Scopes.SINGLETON); - newOptionalBinder(binder, Key.get(RequestHandler2.class, ForGlueHiveMetastore.class)); newOptionalBinder(binder, Key.get(new TypeLiteral>() {}, ForGlueHiveMetastore.class)) .setDefault().toProvider(DefaultGlueMetastoreTableFilterProvider.class).in(Scopes.SINGLETON);