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

Change SpringBootContextLoader.getEnvironment to return null by default #29405

Closed
philwebb opened this issue Jan 14, 2022 · 0 comments
Closed
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@philwebb
Copy link
Member

SpringBootContextLoader.getEnvironment() is designed to allow a custom Environment to be returned by a subclass. We've kept the existing StandardEnvironment return in case existing users call super.getEnvironment(), but it would be clearer if the default return value were null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant