mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
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:
committed by
Brian Clozel
parent
8e783e2ec9
commit
fce57adc31
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user