Skip to content

Commit

Permalink
Remove redundant suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Apr 26, 2021
1 parent 83f711a commit 8b8fc26
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public class HiveMetadataFactory
private final ScheduledExecutorService heartbeatService;

@Inject
@SuppressWarnings("deprecation")
public HiveMetadataFactory(
CatalogName catalogName,
HiveConfig hiveConfig,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void configure(Binder binder)
.setDefault().to(NoneHiveRedirectionsProvider.class).in(Scopes.SINGLETON);
newOptionalBinder(binder, HiveMaterializedViewMetadata.class)
.setDefault().to(NoneHiveMaterializedViewMetadata.class).in(Scopes.SINGLETON);
newOptionalBinder(binder,TransactionalMetadataFactory.class)
newOptionalBinder(binder, TransactionalMetadataFactory.class)
.setDefault().to(HiveMetadataFactory.class).in(Scopes.SINGLETON);
binder.bind(HiveTransactionManager.class).in(Scopes.SINGLETON);
binder.bind(ConnectorSplitManager.class).to(HiveSplitManager.class).in(Scopes.SINGLETON);
Expand Down

0 comments on commit 8b8fc26

Please sign in to comment.