Skip to content

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

Merged
haotianw465 merged 1 commit into
aws:masterfrom
smpeters:master
Jan 2, 2019
Merged

Cleanup duplicate code for handling the context missing strategy. #50
haotianw465 merged 1 commit into
aws:masterfrom
smpeters:master

Conversation

@smpeters

Copy link
Copy Markdown
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.

2 participants