From d0d0ca0557e1af6814014a7eb6ab2aaaa702a09b Mon Sep 17 00:00:00 2001 From: Garrett Beatty Date: Wed, 30 Oct 2024 15:09:56 -0400 Subject: [PATCH] Update headers of files --- src/AWS.Deploy.CLI/AWSUtilities.cs | 2 +- src/AWS.Deploy.CLI/CredentialProfileStoreChainWrapper.cs | 1 - src/AWS.Deploy.CLI/FallbackCredentialsFactoryWrapper.cs | 2 -- src/AWS.Deploy.CLI/ICredentialProfileStoreChain.cs | 4 +++- src/AWS.Deploy.CLI/SharedCredentialsFileWrapper.cs | 1 - test/AWS.Deploy.CLI.UnitTests/AWSUtilitiesTests.cs | 3 +++ 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/AWS.Deploy.CLI/AWSUtilities.cs b/src/AWS.Deploy.CLI/AWSUtilities.cs index 3e2b1943..59e1ec52 100644 --- a/src/AWS.Deploy.CLI/AWSUtilities.cs +++ b/src/AWS.Deploy.CLI/AWSUtilities.cs @@ -47,7 +47,7 @@ public AWSUtilities( _consoleUtilities = consoleUtilities; _directoryManager = directoryManager; _optionSettingHandler = optionSettingHandler; - _credentialChainFactory = credentialChainFactory ?? (() =>new CredentialProfileStoreChainWrapper()); + _credentialChainFactory = credentialChainFactory ?? (() => new CredentialProfileStoreChainWrapper()); _sharedCredentialsFileFactory = sharedCredentialsFileFactory ?? (() => new SharedCredentialsFileWrapper()); _fallbackCredentialsFactory = fallbackCredentialsFactory ?? new FallbackCredentialsFactoryWrapper(); } diff --git a/src/AWS.Deploy.CLI/CredentialProfileStoreChainWrapper.cs b/src/AWS.Deploy.CLI/CredentialProfileStoreChainWrapper.cs index 166ec185..c9de0231 100644 --- a/src/AWS.Deploy.CLI/CredentialProfileStoreChainWrapper.cs +++ b/src/AWS.Deploy.CLI/CredentialProfileStoreChainWrapper.cs @@ -3,7 +3,6 @@ using Amazon.Runtime.CredentialManagement; using Amazon.Runtime; -using System.Collections.Generic; namespace AWS.Deploy.CLI { diff --git a/src/AWS.Deploy.CLI/FallbackCredentialsFactoryWrapper.cs b/src/AWS.Deploy.CLI/FallbackCredentialsFactoryWrapper.cs index 8df451f6..8f2018d2 100644 --- a/src/AWS.Deploy.CLI/FallbackCredentialsFactoryWrapper.cs +++ b/src/AWS.Deploy.CLI/FallbackCredentialsFactoryWrapper.cs @@ -1,9 +1,7 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 -using Amazon.Runtime.CredentialManagement; using Amazon.Runtime; -using System.Collections.Generic; namespace AWS.Deploy.CLI { diff --git a/src/AWS.Deploy.CLI/ICredentialProfileStoreChain.cs b/src/AWS.Deploy.CLI/ICredentialProfileStoreChain.cs index 7706991a..4a8a3cc8 100644 --- a/src/AWS.Deploy.CLI/ICredentialProfileStoreChain.cs +++ b/src/AWS.Deploy.CLI/ICredentialProfileStoreChain.cs @@ -1,9 +1,11 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 +// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + using Amazon.Runtime.CredentialManagement; using Amazon.Runtime; -using System.Collections.Generic; namespace AWS.Deploy.CLI { diff --git a/src/AWS.Deploy.CLI/SharedCredentialsFileWrapper.cs b/src/AWS.Deploy.CLI/SharedCredentialsFileWrapper.cs index afe5704d..882b2910 100644 --- a/src/AWS.Deploy.CLI/SharedCredentialsFileWrapper.cs +++ b/src/AWS.Deploy.CLI/SharedCredentialsFileWrapper.cs @@ -2,7 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 using Amazon.Runtime.CredentialManagement; -using Amazon.Runtime; using System.Collections.Generic; namespace AWS.Deploy.CLI diff --git a/test/AWS.Deploy.CLI.UnitTests/AWSUtilitiesTests.cs b/test/AWS.Deploy.CLI.UnitTests/AWSUtilitiesTests.cs index 8d36818d..83946a8b 100644 --- a/test/AWS.Deploy.CLI.UnitTests/AWSUtilitiesTests.cs +++ b/test/AWS.Deploy.CLI.UnitTests/AWSUtilitiesTests.cs @@ -1,3 +1,6 @@ +// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + using Amazon.Runtime.CredentialManagement; using Amazon.Runtime; using AWS.Deploy.CLI.Common.UnitTests.IO;