Fix Javadoc in PathPattern (#24841)

* corrected javadoc

* Revert change to PathPattern Javadoc

Co-authored-by: Sam Brannen <sbrannen@pivotal.io>
This commit is contained in:
Sam Brannen 2020-04-02 16:29:27 +02:00 committed by GitHub
commit 0636ba68d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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>