Update to NullAway 0.14.0 and fix new warnings

See gh-37188

Signed-off-by: Manu Sridharan <msridhar@gmail.com>
This commit is contained in:
Manu Sridharan
2026-08-31 12:57:32 +02:00
committed by Brian Clozel
parent 8e783e2ec9
commit fce57adc31
17 changed files with 23 additions and 17 deletions
@@ -487,12 +487,12 @@ class DefaultWebTestClient implements WebTestClient {
}
@Override
public <E> ListBodySpec<E> expectBodyList(Class<E> elementType) {
public <E extends @Nullable Object> ListBodySpec<E> expectBodyList(Class<E> elementType) {
return getListBodySpec(this.response.bodyToFlux(elementType));
}
@Override
public <E> ListBodySpec<E> expectBodyList(ParameterizedTypeReference<E> elementType) {
public <E extends @Nullable Object> ListBodySpec<E> expectBodyList(ParameterizedTypeReference<E> elementType) {
Flux<E> flux = this.response.bodyToFlux(elementType);
return getListBodySpec(flux);
}