Skip to content

Commit 1970480

Browse files
committed
Polish contribution
See gh-28790
1 parent 31c6965 commit 1970480

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ else if (logger.isWarnEnabled()) {
146146

147147
/**
148148
* Perform additional checks on a resolved resource beyond checking whether the
149-
* resources exist 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/result/method/RequestMappingInfoHandlerMapping.java

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

226226

227227
/**
228-
* Whether there is any partial matches.
228+
* Whether there are any partial matches.
229229
*/
230230
public boolean isEmpty() {
231231
return this.partialMatches.isEmpty();

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
@@ -297,10 +297,10 @@ protected Mono<Void> sendRedirect(String targetUrl, ServerWebExchange exchange)
297297
/**
298298
* Whether the given targetUrl has a host that is a "foreign" system in which
299299
* case {@link javax.servlet.http.HttpServletResponse#encodeRedirectURL} will not be applied.
300-
* This method returns {@code true} if the {@link #setHosts(String[])}
300+
* <p>This method returns {@code true} if the {@link #setHosts(String[])}
301301
* property is configured and the target URL has a host that does not match.
302302
* @param targetUrl the target redirect URL
303-
* @return {@code true} the target URL has a remote host, {@code false} if
303+
* @return {@code true} if the target URL has a remote host, {@code false} if
304304
* the URL does not have a host or the "host" property is not configured
305305
*/
306306
protected boolean isRemoteHost(String targetUrl) {

0 commit comments

Comments
 (0)