Skip to content

Commit f068609

Browse files
committed
Merge branch '6.0.x'
2 parents 1e5e8db + 0f92ba1 commit f068609

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
@@ -229,7 +229,7 @@ one of the following depending on whether use of parsed `PathPattern` is enabled
229229
* {api-spring-framework}/web/util/pattern/PathPattern.html#SPECIFICITY_COMPARATOR[`PathPattern.SPECIFICITY_COMPARATOR`]
230230
* {api-spring-framework}/util/AntPathMatcher.html#getPatternComparator-java.lang.String-[`AntPathMatcher.getPatternComparator(String path)`]
231231

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

0 commit comments

Comments
 (0)