Skip to content

Commit d718b3f

Browse files
andythsuebyhr
authored andcommitted
Remove unnecessary @Inject in HaGatewayProviderModule
1 parent b6d8705 commit d718b3f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

gateway-ha/src/main/java/io/trino/gateway/ha/module/HaGatewayProviderModule.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
import com.google.common.collect.ImmutableList;
1717
import com.google.inject.AbstractModule;
18-
import com.google.inject.Inject;
1918
import com.google.inject.Provides;
2019
import com.google.inject.Singleton;
2120
import io.airlift.http.client.HttpClient;
@@ -85,7 +84,6 @@ protected void configure()
8584
jaxrsBinder(binder()).bindInstance(resourceSecurityDynamicFeature);
8685
}
8786

88-
@Inject
8987
public HaGatewayProviderModule(HaGatewayConfiguration configuration)
9088
{
9189
this.configuration = requireNonNull(configuration, "configuration is null");

0 commit comments

Comments
 (0)