Skip to content

Commit 983c6e2

Browse files
committed
Merge branch '5.3.x'
# Conflicts: # spring-webflux/src/main/java/org/springframework/web/reactive/result/view/RedirectView.java
2 parents 285b1b4 + 1970480 commit 983c6e2

34 files changed

+45
-45
lines changed

spring-webflux/src/main/java/org/springframework/web/reactive/HandlerAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public interface HandlerAdapter {
3535
/**
3636
* Whether this {@code HandlerAdapter} supports the given {@code handler}.
3737
* @param handler the handler object to check
38-
* @return whether or not the handler is supported
38+
* @return whether the handler is supported
3939
*/
4040
boolean supports(Object handler);
4141

spring-webflux/src/main/java/org/springframework/web/reactive/HandlerResultHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public interface HandlerResultHandler {
3232
/**
3333
* Whether this handler supports the given {@link HandlerResult}.
3434
* @param result the result object to check
35-
* @return whether or not this object can use the given result
35+
* @return whether this object can use the given result
3636
*/
3737
boolean supports(HandlerResult result);
3838

spring-webflux/src/main/java/org/springframework/web/reactive/accept/ParameterContentTypeResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import org.springframework.web.server.ServerWebExchange;
3232

3333
/**
34-
* Resolver that checks a query parameter and uses it to lookup a matching
34+
* Resolver that checks a query parameter and uses it to look up a matching
3535
* MediaType. Lookup keys can be registered or as a fallback
3636
* {@link MediaTypeFactory} can be used to perform a lookup.
3737
*

spring-webflux/src/main/java/org/springframework/web/reactive/config/WebFluxConfigurationSupport.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ private void configureAbstractHandlerMapping(AbstractHandlerMapping mapping, Pat
159159
}
160160

161161
/**
162-
* Override to plug a sub-class of {@link RequestMappingHandlerMapping}.
162+
* Override to plug a subclass of {@link RequestMappingHandlerMapping}.
163163
*/
164164
protected RequestMappingHandlerMapping createRequestMappingHandlerMapping() {
165165
return new RequestMappingHandlerMapping();
@@ -180,7 +180,7 @@ protected void configureContentTypeResolver(RequestedContentTypeResolverBuilder
180180

181181
/**
182182
* Callback for building the global CORS configuration. This method is final.
183-
* Use {@link #addCorsMappings(CorsRegistry)} to customize the CORS conifg.
183+
* Use {@link #addCorsMappings(CorsRegistry)} to customize the CORS config.
184184
*/
185185
protected final Map<String, CorsConfiguration> getCorsConfigurations() {
186186
if (this.corsConfigurations == null) {
@@ -192,7 +192,7 @@ protected final Map<String, CorsConfiguration> getCorsConfigurations() {
192192
}
193193

194194
/**
195-
* Override this method to configure cross origin requests processing.
195+
* Override this method to configure cross-origin requests processing.
196196
* @see CorsRegistry
197197
*/
198198
protected void addCorsMappings(CorsRegistry registry) {
@@ -226,7 +226,7 @@ public RouterFunctionMapping routerFunctionMapping(ServerCodecConfigurer serverC
226226
}
227227

228228
/**
229-
* Override to plug a sub-class of {@link RouterFunctionMapping}.
229+
* Override to plug a subclass of {@link RouterFunctionMapping}.
230230
*/
231231
protected RouterFunctionMapping createRouterFunctionMapping() {
232232
return new RouterFunctionMapping();
@@ -289,7 +289,7 @@ public RequestMappingHandlerAdapter requestMappingHandlerAdapter(
289289
}
290290

291291
/**
292-
* Override to plug a sub-class of {@link RequestMappingHandlerAdapter}.
292+
* Override to plug a subclass of {@link RequestMappingHandlerAdapter}.
293293
*/
294294
protected RequestMappingHandlerAdapter createRequestMappingHandlerAdapter() {
295295
return new RequestMappingHandlerAdapter();
@@ -314,7 +314,7 @@ public ServerCodecConfigurer serverCodecConfigurer() {
314314
}
315315

316316
/**
317-
* Override to plug a sub-class of {@link LocaleContextResolver}.
317+
* Override to plug a subclass of {@link LocaleContextResolver}.
318318
*/
319319
protected LocaleContextResolver createLocaleContextResolver() {
320320
return new AcceptHeaderLocaleContextResolver();

spring-webflux/src/main/java/org/springframework/web/reactive/config/WebFluxConfigurer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ default void configureContentTypeResolver(RequestedContentTypeResolverBuilder bu
5454
}
5555

5656
/**
57-
* Configure "global" cross origin request processing. The configured CORS
57+
* Configure "global" cross-origin request processing. The configured CORS
5858
* mappings apply to annotated controllers, functional endpoints, and static
5959
* resources.
6060
* <p>Annotated controllers can further declare more fine-grained config via

spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyExtractors.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ private static <T> Flux<T> unsupportedErrorHandler(
230230

231231
Flux<T> result;
232232
if (message.getHeaders().getContentType() == null) {
233-
// Maybe it's okay there is no content type, if there is no content..
233+
// Maybe it's okay there is no content type, if there is no content.
234234
result = message.getBody().map(buffer -> {
235235
DataBufferUtils.release(buffer);
236236
throw ex;

spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClientResponseException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ public static class NotImplemented extends WebClientResponseException {
524524
}
525525

526526
/**
527-
* {@link WebClientResponseException} for status HTTP HTTP 502 Bad Gateway.
527+
* {@link WebClientResponseException} for HTTP status 502 Bad Gateway.
528528
* @since 5.1
529529
*/
530530
@SuppressWarnings("serial")

spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RequestPredicates.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,14 +337,14 @@ public interface Visitor {
337337
void method(Set<HttpMethod> methods);
338338

339339
/**
340-
* Receive notification of an path predicate.
340+
* Receive notification of a path predicate.
341341
* @param pattern the path pattern that makes up the predicate
342342
* @see RequestPredicates#path(String)
343343
*/
344344
void path(String pattern);
345345

346346
/**
347-
* Receive notification of an path extension predicate.
347+
* Receive notification of a path extension predicate.
348348
* @param extension the path extension that makes up the predicate
349349
* @see RequestPredicates#pathExtension(String)
350350
*/

spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RouterFunctions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public static RouterFunction<ServerResponse> resources(Function<ServerRequest, M
205205
* for additional filter and exception handler registration through
206206
* {@link WebHttpHandlerBuilder}.
207207
* @param routerFunction the router function to convert
208-
* @return an http handler that handles HTTP request using the given router function
208+
* @return an HTTP handler that handles HTTP request using the given router function
209209
*/
210210
public static HttpHandler toHttpHandler(RouterFunction<?> routerFunction) {
211211
return toHttpHandler(routerFunction, HandlerStrategies.withDefaults());
@@ -225,7 +225,7 @@ public static HttpHandler toHttpHandler(RouterFunction<?> routerFunction) {
225225
* </ul>
226226
* @param routerFunction the router function to convert
227227
* @param strategies the strategies to use
228-
* @return an http handler that handles HTTP request using the given router function
228+
* @return an HTTP handler that handles HTTP request using the given router function
229229
*/
230230
public static HttpHandler toHttpHandler(RouterFunction<?> routerFunction, HandlerStrategies strategies) {
231231
WebHandler webHandler = toWebHandler(routerFunction, strategies);

spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ default String pathVariable(String name) {
318318
* also with conditional POST/PUT/DELETE requests.
319319
* <p><strong>Note:</strong> you can use either
320320
* this {@code #checkNotModified(Instant)} method; or
321-
* {@link #checkNotModified(String)}. If you want enforce both
321+
* {@link #checkNotModified(String)}. If you want to enforce both
322322
* a strong entity tag and a Last-Modified value,
323323
* as recommended by the HTTP specification,
324324
* then you should use {@link #checkNotModified(Instant, String)}.

spring-webflux/src/main/java/org/springframework/web/reactive/handler/AbstractHandlerMapping.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ public void setUseTrailingSlashMatch(boolean trailingSlashMatch) {
106106
/**
107107
* Return the {@link PathPatternParser} instance that is used for
108108
* {@link #setCorsConfigurations(Map) CORS configuration checks}.
109-
* Sub-classes can also use this pattern parser for their own request
109+
* Subclasses can also use this pattern parser for their own request
110110
* mapping purposes.
111111
*/
112112
public PathPatternParser getPathPatternParser() {
113113
return this.patternParser;
114114
}
115115

116116
/**
117-
* Set the "global" CORS configurations based on URL patterns. By default the
117+
* Set the "global" CORS configurations based on URL patterns. By default, the
118118
* first matching URL pattern is combined with handler-level CORS configuration if any.
119119
* @see #setCorsConfigurationSource(CorsConfigurationSource)
120120
*/
@@ -131,7 +131,7 @@ public void setCorsConfigurations(Map<String, CorsConfiguration> corsConfigurati
131131
}
132132

133133
/**
134-
* Set the "global" CORS configuration source. By default the first matching URL
134+
* Set the "global" CORS configuration source. By default, the first matching URL
135135
* pattern is combined with the CORS configuration for the handler, if any.
136136
* @since 5.1
137137
* @see #setCorsConfigurations(Map)

spring-webflux/src/main/java/org/springframework/web/reactive/handler/AbstractUrlHandlerMapping.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public void setLazyInitHandlers(boolean lazyInitHandlers) {
7878

7979
/**
8080
* Return a read-only view of registered path patterns and handlers which may
81-
* may be an actual handler instance or the bean name of lazily initialized
81+
* be an actual handler instance or the bean name of lazily initialized
8282
* handler.
8383
*/
8484
public final Map<PathPattern, Object> getHandlerMap() {

spring-webflux/src/main/java/org/springframework/web/reactive/handler/SimpleUrlHandlerMapping.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public void setUrlMap(Map<String, ?> urlMap) {
113113
}
114114

115115
/**
116-
* Allow Map access to the URL path mappings, with the option to add or
116+
* Allow {@code Map} access to the URL path mappings, with the option to add or
117117
* override specific entries.
118118
* <p>Useful for specifying entries directly, for example via "urlMap[myKey]".
119119
* This is particularly useful for adding or overriding entries in child

spring-webflux/src/main/java/org/springframework/web/reactive/resource/ContentVersionStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import org.springframework.util.StreamUtils;
2828

2929
/**
30-
* A {@code VersionStrategy} that calculates an Hex MD5 hashes from the content
30+
* A {@code VersionStrategy} that calculates a Hex MD5 hash from the content
3131
* of the resource and appends it to the file name, e.g.
3232
* {@code "styles/main-e36d2e05253c6c7085a91522ce43a0b4.css"}.
3333
*

spring-webflux/src/main/java/org/springframework/web/reactive/resource/PathResourceResolver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class PathResourceResolver extends AbstractResourceResolver {
5252

5353

5454
/**
55-
* By default when a Resource is found, the path of the resolved resource is
55+
* By default, when a Resource is found, the path of the resolved resource is
5656
* compared to ensure it's under the input location where it was found.
5757
* However sometimes that may not be the case, e.g. when
5858
* {@link CssLinkResourceTransformer}
@@ -146,7 +146,7 @@ else if (logger.isWarnEnabled()) {
146146

147147
/**
148148
* Perform additional checks on a resolved resource beyond checking whether the
149-
* resources exists and is readable. The default implementation also verifies
149+
* resource exists and is readable. The default implementation also verifies
150150
* the resource is either under the location relative to which it was found or
151151
* is under one of the {@link #setAllowedLocations allowed locations}.
152152
* @param resource the resource to check

spring-webflux/src/main/java/org/springframework/web/reactive/resource/VersionResourceResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public VersionResourceResolver addContentVersionStrategy(String... pathPatterns)
116116
* in Java config).
117117
* <p>If not done already, variants of the given {@code pathPatterns}, prefixed with
118118
* the {@code version} will be also configured. For example, adding a {@code "/js/**"} path pattern
119-
* will also cofigure automatically a {@code "/v1.0.0/js/**"} with {@code "v1.0.0"} the
119+
* will also configure automatically a {@code "/v1.0.0/js/**"} with {@code "v1.0.0"} the
120120
* {@code version} String given as an argument.
121121
* @param version a version string
122122
* @param pathPatterns one or more resource URL path patterns,

spring-webflux/src/main/java/org/springframework/web/reactive/result/HandlerResultHandlerSupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public RequestedContentTypeResolver getContentTypeResolver() {
8888
/**
8989
* Set the order for this result handler relative to others.
9090
* <p>By default set to {@link Ordered#LOWEST_PRECEDENCE}, however see
91-
* Javadoc of sub-classes which may change this default.
91+
* Javadoc of subclasses which may change this default.
9292
* @param order the order
9393
*/
9494
public void setOrder(int order) {

spring-webflux/src/main/java/org/springframework/web/reactive/result/condition/AbstractRequestCondition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
public abstract class AbstractRequestCondition<T extends AbstractRequestCondition<T>> implements RequestCondition<T> {
3434

3535
/**
36-
* Indicates whether this condition is empty, i.e. whether or not it
36+
* Indicates whether this condition is empty, i.e. whether it
3737
* contains any discrete items.
3838
* @return {@code true} if empty; {@code false} otherwise
3939
*/

spring-webflux/src/main/java/org/springframework/web/reactive/result/method/AbstractHandlerMethodMapping.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ protected CorsConfiguration getCorsConfiguration(Object handler, ServerWebExchan
427427
* Provide the mapping for a handler method. A method for which no
428428
* mapping can be provided is not a handler method.
429429
* @param method the method to provide a mapping for
430-
* @param handlerType the handler type, possibly a sub-type of the method's
430+
* @param handlerType the handler type, possibly a subtype of the method's
431431
* declaring class
432432
* @return the mapping, or {@code null} if the method is not mapped
433433
*/

spring-webflux/src/main/java/org/springframework/web/reactive/result/method/InvocableHandlerMethod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public InvocableHandlerMethod(Object bean, Method method) {
8282

8383

8484
/**
85-
* Configure the argument resolvers to use to use for resolving method
85+
* Configure the argument resolvers to use for resolving method
8686
* argument values against a {@code ServerWebExchange}.
8787
*/
8888
public void setArgumentResolvers(List<? extends HandlerMethodArgumentResolver> resolvers) {

spring-webflux/src/main/java/org/springframework/web/reactive/result/method/RequestMappingInfoHandlerMapping.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public PartialMatchHelper(Set<RequestMappingInfo> infos, ServerWebExchange excha
226226

227227

228228
/**
229-
* Whether there any partial matches.
229+
* Whether there are any partial matches.
230230
*/
231231
public boolean isEmpty() {
232232
return this.partialMatches.isEmpty();

spring-webflux/src/main/java/org/springframework/web/reactive/result/method/SyncInvocableHandlerMethod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public SyncInvocableHandlerMethod(Object bean, Method method) {
5656

5757

5858
/**
59-
* Configure the argument resolvers to use to use for resolving method
59+
* Configure the argument resolvers to use for resolving method
6060
* argument values against a {@code ServerWebExchange}.
6161
*/
6262
public void setArgumentResolvers(List<SyncHandlerMethodArgumentResolver> resolvers) {

spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/AbstractMessageReaderArgumentResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ protected Mono<Object> readBody(MethodParameter bodyParam, @Nullable MethodParam
199199
}
200200
}
201201

202-
// No compatible reader but body may be empty..
202+
// No compatible reader but body may be empty.
203203

204204
HttpMethod method = request.getMethod();
205205
if (contentType == null && SUPPORTED_METHODS.contains(method)) {

spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/AbstractNamedValueSyncArgumentResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
/**
3030
* An extension of {@link AbstractNamedValueArgumentResolver} for named value
31-
* resolvers that are synchronous and yet non-blocking. Sub-classes implement
31+
* resolvers that are synchronous and yet non-blocking. Subclasses implement
3232
* the synchronous {@link #resolveNamedValue} to which the asynchronous
3333
* {@link #resolveName} delegates to by default.
3434
*

spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/MatrixVariableMethodArgumentResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
/**
4040
* Resolves arguments annotated with {@link MatrixVariable @MatrixVariable}.
4141
*
42-
* <p>If the method parameter is of type {@link Map} it will by resolved by
42+
* <p>If the method parameter is of type {@link Map} it will be resolved by
4343
* {@link MatrixVariableMapMethodArgumentResolver} instead unless the annotation
4444
* specifies a name in which case it is considered to be a single attribute of
4545
* type map (vs multiple attributes collected in a map).

spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/ModelMethodArgumentResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* Resolver for a controller method argument of type {@link Model} that can
3131
* also be resolved as a {@link java.util.Map}.
3232
*
33-
* <p>A Map return value can be interpreted in more than one ways depending
33+
* <p>A Map return value can be interpreted in more than one way depending
3434
* on the presence of annotations like {@code @ModelAttribute} or
3535
* {@code @ResponseBody}. As of 5.2 this resolver returns false if a
3636
* parameter of type {@code Map} is also annotated.

spring-webflux/src/main/java/org/springframework/web/reactive/result/view/RedirectView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,10 @@ protected Mono<Void> sendRedirect(String targetUrl, ServerWebExchange exchange)
298298
/**
299299
* Whether the given targetUrl has a host that is a "foreign" system in which
300300
* case {@link jakarta.servlet.http.HttpServletResponse#encodeRedirectURL} will not be applied.
301-
* This method returns {@code true} if the {@link #setHosts(String[])}
301+
* <p>This method returns {@code true} if the {@link #setHosts(String[])}
302302
* property is configured and the target URL has a host that does not match.
303303
* @param targetUrl the target redirect URL
304-
* @return {@code true} the target URL has a remote host, {@code false} if it
304+
* @return {@code true} if the target URL has a remote host, {@code false} if
305305
* the URL does not have a host or the "host" property is not configured
306306
*/
307307
protected boolean isRemoteHost(String targetUrl) {

spring-webflux/src/main/java/org/springframework/web/reactive/result/view/UrlBasedViewResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public Mono<View> resolveViewName(String viewName, Locale locale) {
247247
}
248248

249249
/**
250-
* Indicates whether or not this {@link ViewResolver} can handle the supplied
250+
* Indicates whether this {@link ViewResolver} can handle the supplied
251251
* view name. If not, an empty result is returned. The default implementation
252252
* checks against the configured {@link #setViewNames view names}.
253253
* @param viewName the name of the view to retrieve

spring-webflux/src/main/java/org/springframework/web/reactive/result/view/View.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ default List<MediaType> getSupportedMediaTypes() {
6464
}
6565

6666
/**
67-
* Whether this View does rendering by performing a redirect.
67+
* Whether this View does render by performing a redirect.
6868
*/
6969
default boolean isRedirectView() {
7070
return false;

spring-webflux/src/main/java/org/springframework/web/reactive/socket/adapter/AbstractListenerWebSocketSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ protected boolean isWritePossible() {
331331
}
332332

333333
/**
334-
* Sub-classes can invoke this before sending a message (false) and
334+
* Subclasses can invoke this before sending a message (false) and
335335
* after receiving the async send callback (true) effective translating
336336
* async completion callback into simple flow control.
337337
*/

spring-webflux/src/test/java/org/springframework/web/reactive/function/client/DefaultWebClientTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ public void mutateDoesCopy() {
290290
.defaultCookie("baz", "qux")
291291
.build();
292292

293-
// Now, verify what each client has..
293+
// Now, verify what each client has.
294294

295295
WebClient.Builder builder1 = client1.mutate();
296296
builder1.filters(filters -> assertThat(filters.size()).isEqualTo(1));

spring-webflux/src/test/java/org/springframework/web/reactive/result/condition/RequestMethodsRequestConditionTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
*/
4545
public class RequestMethodsRequestConditionTests {
4646

47-
// TODO: custom method, CORS pre-flight (see @Disabledd)
47+
// TODO: custom method, CORS pre-flight (see @Disabled)
4848

4949
@Test
5050
public void getMatchingCondition() throws Exception {

spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestMappingMessageConversionIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public void personResponseBodyWithEmptyMono(HttpServer httpServer) throws Except
167167
assertThat(responseEntity.getBody()).isNull();
168168

169169
// As we're on the same connection, the 2nd request proves server response handling
170-
// did complete after the 1st request..
170+
// did complete after the 1st request.
171171
responseEntity = performGet("/person-response/mono-empty", JSON, Person.class);
172172
assertThat(responseEntity.getHeaders().getContentLength()).isEqualTo(0);
173173
assertThat(responseEntity.getBody()).isNull();

spring-webflux/src/test/java/org/springframework/web/reactive/socket/AbstractWebSocketIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
import org.springframework.web.testfixture.http.server.reactive.bootstrap.UndertowHttpServer;
6868

6969
/**
70-
* Base class for WebSocket integration tests. Sub-classes must implement
70+
* Base class for WebSocket integration tests. Subclasses must implement
7171
* {@link #getWebConfigClass()} to return Spring config class with (server-side)
7272
* handler mappings to {@code WebSocketHandler}'s.
7373
*

0 commit comments

Comments
 (0)