Skip to content

Commit d6f363c

Browse files
committed
Merge pull request #26538 from izeye
* pr/26538: Update copyright of change file Polish Closes gh-26538
2 parents c36b80b + 87c0e9b commit d6f363c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public final void subscribe(Subscriber<? super Void> subscriber) {
187187

188188
/**
189189
* Invoked when an error happens while flushing.
190-
* <p>The default implementation cancels the upstream write publisher and
190+
* <p>The default implementation cancels the upstream write publisher and
191191
* sends an onError downstream as the result of request handling.
192192
*/
193193
protected void flushingFailed(Throwable t) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public interface ServerHttpRequest extends HttpRequest, ReactiveHttpInputMessage
5252
* not including the {@link #getQueryParams() query}.
5353
* <p>The returned path is sub-divided into a
5454
* {@link RequestPath#contextPath()} portion and the remaining
55-
* {@link RequestPath#pathWithinApplication() pathwithinApplication} portion.
55+
* {@link RequestPath#pathWithinApplication() pathWithinApplication} portion.
5656
* The latter can be passed into methods of
5757
* {@link org.springframework.web.util.pattern.PathPattern} for path
5858
* matching purposes.

spring-web/src/test/java/org/springframework/http/client/HttpComponentsClientHttpRequestFactoryTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -66,7 +66,7 @@ public void assertCustomConfig() throws Exception {
6666

6767
Object config = request.getHttpContext().getAttribute(HttpClientContext.REQUEST_CONFIG);
6868
assertThat(config).as("Request config should be set").isNotNull();
69-
assertThat(config).as("Wrong request config type" + config.getClass().getName()).isInstanceOf(RequestConfig.class);
69+
assertThat(config).as("Wrong request config type " + config.getClass().getName()).isInstanceOf(RequestConfig.class);
7070
RequestConfig requestConfig = (RequestConfig) config;
7171
assertThat(requestConfig.getConnectTimeout()).as("Wrong custom connection timeout").isEqualTo(1234);
7272
assertThat(requestConfig.getConnectionRequestTimeout()).as("Wrong custom connection request timeout").isEqualTo(4321);

spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/PathMatchConfigurer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public PathMatcher getPathMatcher() {
229229
}
230230

231231
/**
232-
* Return the configure UrlPathHelper or a default, shared instance otherwise.
232+
* Return the configured UrlPathHelper or a default, shared instance otherwise.
233233
* @since 5.3
234234
*/
235235
protected UrlPathHelper getUrlPathHelperOrDefault() {
@@ -243,7 +243,7 @@ protected UrlPathHelper getUrlPathHelperOrDefault() {
243243
}
244244

245245
/**
246-
* Return the configure PathMatcher or a default, shared, instance otherwise.
246+
* Return the configured PathMatcher or a default, shared instance otherwise.
247247
* @since 5.3
248248
*/
249249
protected PathMatcher getPathMatcherOrDefault() {
@@ -257,7 +257,7 @@ protected PathMatcher getPathMatcherOrDefault() {
257257
}
258258

259259
/**
260-
* Return the configured PathPatternParser or a default, shared, instance otherwise.
260+
* Return the configured PathPatternParser or a default, shared instance otherwise.
261261
* @since 5.3.4
262262
*/
263263
public PathPatternParser getPatternParserOrDefault() {

0 commit comments

Comments
 (0)