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

Clean up PropertyEnvironment #2460

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ppkarwasz
Copy link
Contributor

We clean up PropertyEnvironment from all the unused public methods.

Since all the classes should only use getProperty(Class), the other converter methods are not necessary. We keep getStringProperty (renamed to getProperty(String)) for convenience: this allows to transform a PropertyEnvironment into a PropertySource.

@ppkarwasz ppkarwasz force-pushed the fix/cleanup-property-environment branch from d3a7b8b to c67d254 Compare April 9, 2024 12:28
@ppkarwasz ppkarwasz self-assigned this Apr 19, 2024
We clean up `PropertyEnvironment` from all the unused public methods.

Since all the classes should only use `getProperty(Class)`, the other
converter methods are not necessary. We keep `getStringProperty`
(renamed to `getProperty(String)`) for convenience: this allows to
transform a `PropertyEnvironment` into a `PropertySource`.
@ppkarwasz ppkarwasz force-pushed the fix/cleanup-property-environment branch from bc2d30b to 38b489a Compare April 26, 2024 19:12
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

1 participant