Skip to content

Conversation

@zupat
Copy link

@zupat zupat commented Jan 7, 2021

The program would crash if null was passed to validateQuality because the null check was being done last. The comparison "null < 10" was done which resulted in the crash. Fixed by doing the null check first.

The program would crash if null was passed to validateQuality because the null check was being done last. The comparison "null < 10" was done which resulted in the crash. Fixed by doing the null check first.
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.

1 participant