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

Construct Options builder from properties file for user. #971

Merged
merged 1 commit into from Sep 14, 2023

Conversation

scottf
Copy link
Contributor

@scottf scottf commented Sep 13, 2023

Developer used to have to load the properties file themselves. Now they can just supply the file path and the Options builder will do it for them.

@scottf scottf requested a review from jnmoyne September 13, 2023 22:18
* <p>If {@link Options#PROP_SECURE PROP_SECURE} is set, the builder will
* try to get the default context{@link SSLContext#getDefault() getDefault()}.
* If a context can't be found, no context is set and an IllegalArgumentException is thrown.</p>
*
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This text was moved to the build method in a previous PR

Copy link

@jnmoyne jnmoyne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

jnmoyne

This comment was marked as duplicate.

@scottf scottf merged commit 901fd0b into main Sep 14, 2023
2 checks passed
@scottf scottf deleted the options-from-props-file branch September 14, 2023 17:06
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