diff --git a/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerWriteFlushProcessor.java b/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerWriteFlushProcessor.java index 3a323c86bc..ab0b854124 100644 --- a/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerWriteFlushProcessor.java +++ b/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerWriteFlushProcessor.java @@ -187,7 +187,7 @@ public abstract class AbstractListenerWriteFlushProcessor implements Processo /** * Invoked when an error happens while flushing. - *

The default implementation cancels the upstream write publisher and + *

The default implementation cancels the upstream write publisher and * sends an onError downstream as the result of request handling. */ protected void flushingFailed(Throwable t) { diff --git a/spring-web/src/main/java/org/springframework/http/server/reactive/ServerHttpRequest.java b/spring-web/src/main/java/org/springframework/http/server/reactive/ServerHttpRequest.java index 592ceb9855..7b2196b721 100644 --- a/spring-web/src/main/java/org/springframework/http/server/reactive/ServerHttpRequest.java +++ b/spring-web/src/main/java/org/springframework/http/server/reactive/ServerHttpRequest.java @@ -52,7 +52,7 @@ public interface ServerHttpRequest extends HttpRequest, ReactiveHttpInputMessage * not including the {@link #getQueryParams() query}. *

The returned path is sub-divided into a * {@link RequestPath#contextPath()} portion and the remaining - * {@link RequestPath#pathWithinApplication() pathwithinApplication} portion. + * {@link RequestPath#pathWithinApplication() pathWithinApplication} portion. * The latter can be passed into methods of * {@link org.springframework.web.util.pattern.PathPattern} for path * matching purposes. diff --git a/spring-web/src/test/java/org/springframework/http/client/HttpComponentsClientHttpRequestFactoryTests.java b/spring-web/src/test/java/org/springframework/http/client/HttpComponentsClientHttpRequestFactoryTests.java index c0298d4ec4..740b9705f5 100644 --- a/spring-web/src/test/java/org/springframework/http/client/HttpComponentsClientHttpRequestFactoryTests.java +++ b/spring-web/src/test/java/org/springframework/http/client/HttpComponentsClientHttpRequestFactoryTests.java @@ -66,7 +66,7 @@ public class HttpComponentsClientHttpRequestFactoryTests extends AbstractHttpReq Object config = request.getHttpContext().getAttribute(HttpClientContext.REQUEST_CONFIG); assertThat(config).as("Request config should be set").isNotNull(); - assertThat(config).as("Wrong request config type" + config.getClass().getName()).isInstanceOf(RequestConfig.class); + assertThat(config).as("Wrong request config type " + config.getClass().getName()).isInstanceOf(RequestConfig.class); RequestConfig requestConfig = (RequestConfig) config; assertThat(requestConfig.getConnectTimeout()).as("Wrong custom connection timeout").isEqualTo(1234); assertThat(requestConfig.getConnectionRequestTimeout()).as("Wrong custom connection request timeout").isEqualTo(4321); diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/PathMatchConfigurer.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/PathMatchConfigurer.java index c627f0e999..9eca10f1cc 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/PathMatchConfigurer.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/PathMatchConfigurer.java @@ -229,7 +229,7 @@ public class PathMatchConfigurer { } /** - * Return the configure UrlPathHelper or a default, shared instance otherwise. + * Return the configured UrlPathHelper or a default, shared instance otherwise. * @since 5.3 */ protected UrlPathHelper getUrlPathHelperOrDefault() { @@ -243,7 +243,7 @@ public class PathMatchConfigurer { } /** - * Return the configure PathMatcher or a default, shared, instance otherwise. + * Return the configured PathMatcher or a default, shared instance otherwise. * @since 5.3 */ protected PathMatcher getPathMatcherOrDefault() { @@ -257,7 +257,7 @@ public class PathMatchConfigurer { } /** - * Return the configured PathPatternParser or a default, shared, instance otherwise. + * Return the configured PathPatternParser or a default, shared instance otherwise. * @since 5.3.4 */ public PathPatternParser getPatternParserOrDefault() {