Remove unneeded @SuppressWarnings("NullAway")
Closes gh-32542
This commit is contained in:
@@ -374,7 +374,6 @@ class DefaultWebTestClient implements WebTestClient {
|
||||
DefaultWebTestClient.this.entityResultConsumer, getResponseTimeout());
|
||||
}
|
||||
|
||||
@SuppressWarnings("NullAway")
|
||||
private ClientRequest.Builder initRequestBuilder() {
|
||||
return ClientRequest.create(this.httpMethod, initUri())
|
||||
.headers(headersToUse -> {
|
||||
|
||||
@@ -47,7 +47,6 @@ public class ViewResultMatchers {
|
||||
/**
|
||||
* Assert the selected view name with the given Hamcrest {@link Matcher}.
|
||||
*/
|
||||
@SuppressWarnings("NullAway")
|
||||
public ResultMatcher name(Matcher<? super String> matcher) {
|
||||
return result -> {
|
||||
ModelAndView mav = result.getModelAndView();
|
||||
@@ -61,7 +60,6 @@ public class ViewResultMatchers {
|
||||
/**
|
||||
* Assert the selected view name.
|
||||
*/
|
||||
@SuppressWarnings("NullAway")
|
||||
public ResultMatcher name(String expectedViewName) {
|
||||
return result -> {
|
||||
ModelAndView mav = result.getModelAndView();
|
||||
|
||||
Reference in New Issue
Block a user