From b057e228364969d8d2b0984575f63e6c321ea398 Mon Sep 17 00:00:00 2001 From: Sergiu Prodan Date: Mon, 27 Feb 2023 11:19:55 +0200 Subject: [PATCH] Update comment in Javadoc of ServletRequestPathFilter DispatcherServlet relating to DispatcherServlet --- .../springframework/web/filter/ServletRequestPathFilter.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/web/filter/ServletRequestPathFilter.java b/spring-web/src/main/java/org/springframework/web/filter/ServletRequestPathFilter.java index 2474af7d3d86..3d6a0731f3c4 100644 --- a/spring-web/src/main/java/org/springframework/web/filter/ServletRequestPathFilter.java +++ b/spring-web/src/main/java/org/springframework/web/filter/ServletRequestPathFilter.java @@ -36,10 +36,9 @@ * {@link org.springframework.web.util.pattern.PathPattern}s are in use anywhere * in an application instead of String pattern matching with * {@link org.springframework.util.PathMatcher}. - *

Note that in Spring MVC, the {@code DispatcherServlet} will also parse and + *

Note that in Spring MVC, the {@code DispatcherServlet} will always parse and * cache the {@code RequestPath} if it detects that parsed {@code PathPatterns} - * are enabled for any {@code HandlerMapping} but it will skip doing that if it - * finds the {@link ServletRequestPathUtils#PATH_ATTRIBUTE} already exists. + * are enabled for any {@code HandlerMapping}. * * @author Rossen Stoyanchev * @since 5.3