Skip to content

Commit

Permalink
Update MSKCredentialProvider.java
Browse files Browse the repository at this point in the history
Remove unecessary import
  • Loading branch information
menuetb authored and plazma-prizma committed Jul 7, 2023
1 parent ed0027f commit 34d68b2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import com.amazonaws.auth.STSAssumeRoleSessionCredentialsProvider;
import com.amazonaws.auth.SystemPropertiesCredentialsProvider;
import com.amazonaws.auth.WebIdentityTokenCredentialsProvider;
import com.amazonaws.client.builder.AwsClientBuilder;
import com.amazonaws.client.builder.AwsClientBuilder.EndpointConfiguration;
import com.amazonaws.retry.PredefinedBackoffStrategies;
import com.amazonaws.retry.v2.AndRetryCondition;
Expand Down Expand Up @@ -272,7 +271,7 @@ public int getMaxBackOffTimeMs() {
public EndpointConfiguration buildEndpointConfiguration(String stsRegion){
//An AWSSecurityTokenService with a regional endpoint configuration
EndpointConfiguration endpointConfiguration =
new AwsClientBuilder.EndpointConfiguration(
new EndpointConfiguration(
String.format("sts.%s.amazonaws.com", stsRegion),
stsRegion);
//An AWSSecurityTokenService with a global endpoint configuration
Expand Down

0 comments on commit 34d68b2

Please sign in to comment.