Browse Source

Fix Javadoc in PathPattern (#24841)

* corrected javadoc

* Revert change to PathPattern Javadoc

Co-authored-by: Sam Brannen <sbrannen@pivotal.io>
pull/26527/head
Sam Brannen 6 years ago committed by GitHub
parent
commit
0636ba68d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java

4
spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java

@ -59,8 +59,8 @@ import org.springframework.util.StringUtils; @@ -59,8 +59,8 @@ import org.springframework.util.StringUtils;
* <li><code>/resources/{&#42;path}</code> &mdash; 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" &rarr; "/image.png", and {@code /resources/css/spring.css} will match
* with "spring" &rarr; "/css/spring.css"</li>
* "path" &rarr; "/image.png", and {@code /resources/css/spring.css} will match
* with "path" &rarr; "/css/spring.css"</li>
* <li><code>/resources/{filename:\\w+}.dat</code> will match {@code /resources/spring.dat}
* and assign the value {@code "spring"} to the {@code filename} variable</li>
* </ul>

Loading…
Cancel
Save