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

Config Content API may return null #1333

Closed
tomas-langer opened this issue Jan 29, 2020 · 0 comments · Fixed by #1345
Closed

Config Content API may return null #1333

tomas-langer opened this issue Jan 29, 2020 · 0 comments · Fixed by #1345
Assignees
Labels
2.x Issues for 2.x version branch config P3
Milestone

Comments

@tomas-langer
Copy link
Member

In Helidon, all APIs should not accept null value as a parameter, nor should they return null as a response.

In ConfigParser.Content.mediaType(), a null response is expected.
This should be refactored to either return an Optional, or to never return null.

As part of this issue, other methods should be validate to not return null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Issues for 2.x version branch config P3
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants