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 @Nullable annotation where applicable #66

Merged
merged 3 commits into from
Nov 2, 2023

Conversation

NebelNidas
Copy link
Collaborator

Clearly defines where consumers must be careful about potential null values and where only non-null values are allowed. Unannotated elements have to be considered null-hostile by default.

@modmuss50 modmuss50 merged commit 387c2f4 into FabricMC:master Nov 2, 2023
4 checks passed
NebelNidas added a commit to NebelNidas/mapping-io that referenced this pull request Nov 7, 2023
* Annotate all nullable parameters with `@Nullable`

Also fix some inconsistent names

* Annotate all nullable method return types with `@Nullable`

* Annotate all nullable public fields with `@Nullable`
@NebelNidas NebelNidas added this to the 0.5 milestone Nov 13, 2023
@NebelNidas NebelNidas deleted the nullable-annotations branch August 28, 2024 21:02
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.

2 participants