Skip to content

Commit df24efb

Browse files
authored
Update nullability section
Since module descriptors are no longer annotated but packages must be
1 parent c3764f9 commit df24efb

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,8 @@ See [`ExtensionContext`](junit-jupiter-api/src/main/java/org/junit/jupiter/api/e
125125
This project uses JSpecify's annotation to indicate nullability. In general, the approach
126126
is as follows:
127127

128-
- The Gradle build is set up to treat all code as being `@NullMarked`
129-
- The descriptor of each module is annotated with `@NullMarked` for IDEs such as IntelliJ
130-
IDEA to treat code correctly.
131-
- Fields, parameters, return types etc. may be annotated with `@Nullable`
132-
- A package can be excluded (temporarily) using `@NullUnmarked`
128+
- All packages are annotated with `@NullMarked`
129+
- Types of fields, parameters, return types etc. may be annotated with `@Nullable`
133130

134131
### Tests
135132

0 commit comments

Comments
 (0)