Skip to content

Fix returning null in TimeBasedWeatherValueData #356

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

Open
johanneshiry opened this issue May 21, 2021 · 0 comments · May be fixed by #1302
Open

Fix returning null in TimeBasedWeatherValueData #356

johanneshiry opened this issue May 21, 2021 · 0 comments · May be fixed by #1302
Assignees
Labels
bug Something isn't working

Comments

@johanneshiry
Copy link
Member

johanneshiry commented May 21, 2021

TimeBasedWeatherValueData:36 returns null instead of e.g. Optional. This is dangerous as it might cause NullPointerExceptions and hence should be addressed.

This also affects the corresponding interface method and may require more refactoring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment