Skip to content

Commit

Permalink
Fix typos - Singer -> Signer
Browse files Browse the repository at this point in the history
  • Loading branch information
rhowe committed Jan 30, 2025
1 parent 6ae0dd4 commit 0e1d436
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void presign_requestLevelCredentials_honored() {
}

@Test
void presign_requestLevelSingerAndCredentials_honored() {
void presign_requestLevelSignerAndCredentials_honored() {
IdentityProvider<AwsCredentialsIdentity> requestCedentialsProvider = StaticCredentialsProvider.create(
AwsBasicCredentials.create("akid2", "skid2")
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void configureClient(SdkServiceClientConfiguration.Builder config) {
if (addConfiguredProperties(option, params)) {
AuthSchemeOption.Builder builder = option.toBuilder();
identityProperties.forEach((k, v) -> putIdentityProperty(builder, k, v));
signerProperties.forEach((k, v) -> putSingerProperty(builder, k, v));
signerProperties.forEach((k, v) -> putSignerProperty(builder, k, v));
result.add(builder.build());
} else {
result.add(option);
Expand All @@ -116,7 +116,7 @@ private <T> void putIdentityProperty(AuthSchemeOption.Builder builder, IdentityP
}

@SuppressWarnings("unchecked")
private <T> void putSingerProperty(AuthSchemeOption.Builder builder, SignerProperty<?> key, Object value) {
private <T> void putSignerProperty(AuthSchemeOption.Builder builder, SignerProperty<?> key, Object value) {
// Safe because of Builder#putSignerProperty
builder.putSignerProperty((SignerProperty<T>) key, (T) value);
}
Expand Down

0 comments on commit 0e1d436

Please sign in to comment.