-
Notifications
You must be signed in to change notification settings - Fork 929
Log errors instead of throwing errors for duplicate keys in ImmutableMap #6316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
utils/src/main/java/software/amazon/awssdk/utils/ImmutableMap.java
Outdated
Show resolved
Hide resolved
utils/src/main/java/software/amazon/awssdk/utils/ImmutableMap.java
Outdated
Show resolved
Hide resolved
...-enhanced/src/it/java/software/amazon/awssdk/enhanced/dynamodb/ScanQueryIntegrationTest.java
Outdated
Show resolved
Hide resolved
...ests/src/test/java/software/amazon/awssdk/archtests/CodingConventionWithSuppressionTest.java
Outdated
Show resolved
Hide resolved
|
This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one. |
Motivation and Context
Duplicate endpoint keys set by a service will cause errors to be thrown in
ServiceMetadata
's, when puttingServiceEndpointKey
's intoImmutableMap
Modifications
Log errors instead of throwing errors. Keep the first value, ignore the second value
Testing
Updated unit test