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

Add missing null checks and cleanup #9

Merged
merged 1 commit into from
Dec 8, 2023
Merged

Add missing null checks and cleanup #9

merged 1 commit into from
Dec 8, 2023

Conversation

normanmaurer
Copy link
Member

Motivation:

Some constructors missed null checks and so NPE's could happen later on.

Modifications:

  • Add null checks to fail fast.
  • Add some asserts and cleanup

Result:

Fail fast in case of passing null arguments

Motivation:

Some constructors missed null checks and so NPE's could happen later on.

Modifications:

- Add null checks to fail fast.
- Add some asserts and cleanup

Result:

Fail fast in case of passing null arguments
@normanmaurer normanmaurer added this to the 0.0.1.Final milestone Dec 8, 2023
@normanmaurer normanmaurer merged commit 6a26bd5 into main Dec 8, 2023
5 checks passed
@normanmaurer normanmaurer deleted the clean_npe branch December 8, 2023 19:18
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