From 8bef71c7d08b3f9c8e645581a444148d753d6311 Mon Sep 17 00:00:00 2001 From: Russell Howe Date: Mon, 18 Nov 2024 11:10:15 +0000 Subject: [PATCH] Fix typos - Singer -> Signer --- .../polly/internal/presigner/DefaultPollyPresignerTest.java | 2 +- .../plugins/S3OverrideAuthSchemePropertiesPlugin.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/polly/src/test/java/software/amazon/awssdk/services/polly/internal/presigner/DefaultPollyPresignerTest.java b/services/polly/src/test/java/software/amazon/awssdk/services/polly/internal/presigner/DefaultPollyPresignerTest.java index 09c9133d7156..a56acb3be2c6 100644 --- a/services/polly/src/test/java/software/amazon/awssdk/services/polly/internal/presigner/DefaultPollyPresignerTest.java +++ b/services/polly/src/test/java/software/amazon/awssdk/services/polly/internal/presigner/DefaultPollyPresignerTest.java @@ -90,7 +90,7 @@ void presign_requestLevelCredentials_honored() { } @Test - void presign_requestLevelSingerAndCredentials_honored() { + void presign_requestLevelSignerAndCredentials_honored() { IdentityProvider requestCedentialsProvider = StaticCredentialsProvider.create( AwsBasicCredentials.create("akid2", "skid2") ); diff --git a/services/s3/src/main/java/software/amazon/awssdk/services/s3/internal/plugins/S3OverrideAuthSchemePropertiesPlugin.java b/services/s3/src/main/java/software/amazon/awssdk/services/s3/internal/plugins/S3OverrideAuthSchemePropertiesPlugin.java index 5b5fe096eefe..ba30132c01eb 100644 --- a/services/s3/src/main/java/software/amazon/awssdk/services/s3/internal/plugins/S3OverrideAuthSchemePropertiesPlugin.java +++ b/services/s3/src/main/java/software/amazon/awssdk/services/s3/internal/plugins/S3OverrideAuthSchemePropertiesPlugin.java @@ -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); @@ -116,7 +116,7 @@ private void putIdentityProperty(AuthSchemeOption.Builder builder, IdentityP } @SuppressWarnings("unchecked") - private void putSingerProperty(AuthSchemeOption.Builder builder, SignerProperty key, Object value) { + private void putSignerProperty(AuthSchemeOption.Builder builder, SignerProperty key, Object value) { // Safe because of Builder#putSignerProperty builder.putSignerProperty((SignerProperty) key, (T) value); }