Minor. Typo fixed
This commit is contained in:
@@ -124,12 +124,12 @@ Constructs in question: anything that provides an expected type, i.e.
|
||||
|
||||
## Warnings on nullability misuse
|
||||
|
||||
A type loaded from Java is said to *bare* a `@Nullable`/`@NotNull` annotation when
|
||||
A type loaded from Java is said to *bear* a `@Nullable`/`@NotNull` annotation when
|
||||
- it's a return type a method so annotated;
|
||||
- it's a type of a field or a parameter so annotated;
|
||||
- it's a so annotated type (Java 8 and later).
|
||||
|
||||
A value is `@Nullable`/`@NotNull` when its type bares such an annotation.
|
||||
A value is `@Nullable`/`@NotNull` when its type bears such an annotation.
|
||||
|
||||
Inside this section, a value is *nullable*/*not-null* when
|
||||
- it's `@Nullable`/`@NotNull`, or
|
||||
|
||||
Reference in New Issue
Block a user