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

refactor to avoid invoking AppSettings.getBoolean() directly #1796

Merged
merged 5 commits into from
Apr 6, 2022

Conversation

stephengold
Copy link
Member

Invoking AppSettings.getBoolean() directly is error-prone. Ideally, its use would be limited to custom settings.

This PR refactors some invocations to use special-purpose methods already defined in the AppSettings class.

@stephengold stephengold added this to the Future Release milestone Apr 4, 2022
@stephengold
Copy link
Member Author

Unless there's more to discuss, I propose to self-integrate this PR in about 24 hours.

@stephengold stephengold merged commit 3d979df into master Apr 6, 2022
@stephengold stephengold deleted the sgold/getBoolean branch April 6, 2022 21:23
@Ali-RS Ali-RS modified the milestones: Future Release, v3.6.0 Dec 31, 2022
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