Skip to content
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

Cleanup duplicate code for handling the context missing strategy. #50

Merged
merged 1 commit into from
Jan 2, 2019
Merged

Cleanup duplicate code for handling the context missing strategy. #50

merged 1 commit into from
Jan 2, 2019

Conversation

smpeters
Copy link
Contributor

make a couple additional minor code cleanups.

Issue #, if available:
None

Description of changes:
Code used in contextMissingStrategyFromEnvironmentVariable() and contextMissingStrategyFromSystemProperty() was duplicated. This change removes the duplication to a separate function. The change also includes a couple additional cleanups indicated by IntelliJ and SonarLint. Tests were run and are all passing.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

make a couple additional minor code cleanups.
@haotianw465 haotianw465 merged commit 0cffac7 into aws:master Jan 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants