Skip to content

Commit bbcdb65

Browse files
committed
Polishing
1 parent fce58c6 commit bbcdb65

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-web/src/main/java/org/springframework/web/util/UrlPathHelper.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ else if (index1 == requestUri.length()) {
289289
}
290290

291291
/**
292-
* Sanitize the given path with the following rules:
292+
* Sanitize the given path. Uses the following rules:
293293
* <ul>
294294
* <li>replace all "//" by "/"</li>
295295
* </ul>
@@ -496,7 +496,7 @@ protected String determineEncoding(HttpServletRequest request) {
496496
/**
497497
* Remove ";" (semicolon) content from the given request URI if the
498498
* {@linkplain #setRemoveSemicolonContent removeSemicolonContent}
499-
* property is set to "true". Note that "jssessionid" is always removed.
499+
* property is set to "true". Note that "jsessionid" is always removed.
500500
* @param requestUri the request URI string to remove ";" content from
501501
* @return the updated URI string
502502
*/
@@ -532,7 +532,7 @@ private String removeJsessionid(String requestUri) {
532532
* the URL path from which the variables were extracted is already decoded
533533
* through a call to {@link #getLookupPathForRequest(HttpServletRequest)}.
534534
* @param request current HTTP request
535-
* @param vars URI variables extracted from the URL path
535+
* @param vars the URI variables extracted from the URL path
536536
* @return the same Map or a new Map instance
537537
*/
538538
public Map<String, String> decodePathVariables(HttpServletRequest request, Map<String, String> vars) {
@@ -554,7 +554,7 @@ public Map<String, String> decodePathVariables(HttpServletRequest request, Map<S
554554
* the URL path from which the variables were extracted is already decoded
555555
* through a call to {@link #getLookupPathForRequest(HttpServletRequest)}.
556556
* @param request current HTTP request
557-
* @param vars URI variables extracted from the URL path
557+
* @param vars the URI variables extracted from the URL path
558558
* @return the same Map or a new Map instance
559559
*/
560560
public MultiValueMap<String, String> decodeMatrixVariables(

0 commit comments

Comments
 (0)