From ca999fb38c37e9eba4916bf0399d9b9a9d0e4662 Mon Sep 17 00:00:00 2001 From: liuzhifei <2679431923@qq.com> Date: Tue, 28 Sep 2021 19:22:51 +0800 Subject: [PATCH] fix Javadoc typo in PathMatchConfigurer#setUseSuffixPatternMatch --- .../web/servlet/config/annotation/PathMatchConfigurer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/PathMatchConfigurer.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/PathMatchConfigurer.java index 9eca10f1cc..113d59cfb3 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/PathMatchConfigurer.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/PathMatchConfigurer.java @@ -120,7 +120,7 @@ public class PathMatchConfigurer { /** * Whether to use suffix pattern match (".*") when matching patterns to * requests. If enabled a method mapped to "/users" also matches to "/users.*". - *
By default this is set to {@code true}. + *
By default this is set to {@code false}. *
Note: This property is mutually exclusive with and * ignored when {@link #setPatternParser(PathPatternParser)} is set. * @deprecated as of 5.2.4. See class-level note in