Skip to content

Commit f082c43

Browse files
committed
Polishing
1 parent c681033 commit f082c43

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

spring-test/src/main/java/org/springframework/test/json/JsonConverterDelegate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import org.springframework.http.converter.HttpMessageConverter;
2323

2424
/**
25-
* Delegate to abstract JSON type conversion in AssertJ support clases.
25+
* Delegate to abstract JSON type conversion in AssertJ support classes.
2626
*
2727
* @author Rossen Stoyanchev
2828
* @since 7.0

spring-web/src/main/java/org/springframework/http/server/ServletServerHttpRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ private final class AttributesMap extends AbstractMap<String, Object> {
322322

323323
private @Nullable transient Set<Entry<String, Object>> entrySet;
324324

325-
326325
@Override
327326
public int size() {
328327
int size = 0;
@@ -454,4 +453,5 @@ public int size() {
454453
return entrySet;
455454
}
456455
}
456+
457457
}

spring-web/src/main/java/org/springframework/http/server/reactive/ServletServerHttpRequest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ private static URI initUri(HttpServletRequest servletRequest) {
161161

162162
@SuppressWarnings("NullAway") // Dataflow analysis limitation
163163
private static HttpHeaders initHeaders(HttpHeaders headerValues, HttpServletRequest request) {
164-
165164
HttpHeaders headers = null;
166165
MediaType contentType = null;
167166
if (!StringUtils.hasLength(headerValues.getFirst(HttpHeaders.CONTENT_TYPE))) {

0 commit comments

Comments
 (0)