diff --git a/bugpattern/NullableVoid.md b/bugpattern/NullableVoid.md index b4ec0421f7e..bc5c7544a11 100644 --- a/bugpattern/NullableVoid.md +++ b/bugpattern/NullableVoid.md @@ -1,7 +1,7 @@ --- title: NullableVoid -summary: void-returning methods should not be annotated with @Nullable, since they - cannot return null +summary: void-returning methods should not be annotated with nullness annotations, + since they cannot return null layout: bugpattern tags: Style severity: WARNING diff --git a/bugpatterns.md b/bugpatterns.md index 174f17a5855..2263f3722fa 100644 --- a/bugpatterns.md +++ b/bugpatterns.md @@ -1092,7 +1092,7 @@ __[NullableTypeParameter](bugpattern/NullableTypeParameter)__
Nullness annotations directly on type parameters are interpreted differently by different tools __[NullableVoid](bugpattern/NullableVoid)__
-void-returning methods should not be annotated with @Nullable, since they cannot return null +void-returning methods should not be annotated with nullness annotations, since they cannot return null __[NullableWildcard](bugpattern/NullableWildcard)__
Nullness annotations directly on wildcard types are interpreted differently by different tools