mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polishing
This commit is contained in:
@@ -22,7 +22,7 @@ import org.springframework.core.ResolvableType;
|
||||
import org.springframework.http.converter.HttpMessageConverter;
|
||||
|
||||
/**
|
||||
* Delegate to abstract JSON type conversion in AssertJ support clases.
|
||||
* Delegate to abstract JSON type conversion in AssertJ support classes.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 7.0
|
||||
|
||||
+1
-1
@@ -322,7 +322,6 @@ public class ServletServerHttpRequest implements ServerHttpRequest {
|
||||
|
||||
private @Nullable transient Set<Entry<String, Object>> entrySet;
|
||||
|
||||
|
||||
@Override
|
||||
public int size() {
|
||||
int size = 0;
|
||||
@@ -454,4 +453,5 @@ public class ServletServerHttpRequest implements ServerHttpRequest {
|
||||
return entrySet;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -161,7 +161,6 @@ class ServletServerHttpRequest extends AbstractServerHttpRequest {
|
||||
|
||||
@SuppressWarnings("NullAway") // Dataflow analysis limitation
|
||||
private static HttpHeaders initHeaders(HttpHeaders headerValues, HttpServletRequest request) {
|
||||
|
||||
HttpHeaders headers = null;
|
||||
MediaType contentType = null;
|
||||
if (!StringUtils.hasLength(headerValues.getFirst(HttpHeaders.CONTENT_TYPE))) {
|
||||
|
||||
Reference in New Issue
Block a user