From 4aca91c3b00dda0359027291656db3157b0c1d7d Mon Sep 17 00:00:00 2001 From: Gurps Bassi Date: Wed, 1 Apr 2020 22:02:24 +0100 Subject: [PATCH] corrected javadoc --- .../org/springframework/web/util/pattern/PathPattern.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java b/spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java index 81fd6676389..9b02cab97d0 100644 --- a/spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java +++ b/spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java @@ -59,10 +59,10 @@ import org.springframework.util.StringUtils; *
  • /resources/{*path} — matches all files * underneath the {@code /resources/} path and captures their relative path in * a variable named "path"; {@code /resources/image.png} will match with - * "spring" → "/image.png", and {@code /resources/css/spring.css} will match - * with "spring" → "/css/spring.css"
  • + * "path" → "/image.png", and {@code /resources/css/spring.css} will match + * with "path" → "/css/spring.css" *
  • /resources/{filename:\\w+}.dat will match {@code /resources/spring.dat} - * and assign the value {@code "spring"} to the {@code filename} variable
  • + * and assign the value {@code "filename"} to the {@code filename} variable * * * @author Andy Clement