Skip to content

Commit 0f92ba1

Browse files
committed
Fix typo in ref docs for pattern comparison
Closes gh-31294
1 parent 865fa33 commit 0f92ba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-requestmapping.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ one of the following depending on whether use of parsed `PathPattern` is enabled
220220
* {api-spring-framework}/web/util/pattern/PathPattern.html#SPECIFICITY_COMPARATOR[`PathPattern.SPECIFICITY_COMPARATOR`]
221221
* {api-spring-framework}/util/AntPathMatcher.html#getPatternComparator-java.lang.String-[`AntPathMatcher.getPatternComparator(String path)`]
222222

223-
Both help to sort patterns with more specific ones on top. A pattern is less specific if
223+
Both help to sort patterns with more specific ones on top. A pattern is more specific if
224224
it has a lower count of URI variables (counted as 1), single wildcards (counted as 1),
225225
and double wildcards (counted as 2). Given an equal score, the longer pattern is chosen.
226226
Given the same score and length, the pattern with more URI variables than wildcards is

0 commit comments

Comments
 (0)