Browse Source

Revert change to PathPattern Javadoc

pull/24841/head
Sam Brannen 5 years ago committed by GitHub
parent
commit
c9e13d448a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java

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

@ -62,7 +62,7 @@ import org.springframework.util.StringUtils;
* "path" → "/image.png", and {@code /resources/css/spring.css} will match * "path" → "/image.png", and {@code /resources/css/spring.css} will match
* with "path" &rarr; "/css/spring.css"</li> * with "path" &rarr; "/css/spring.css"</li>
* <li><code>/resources/{filename:\\w+}.dat</code> will match {@code /resources/spring.dat} * <li><code>/resources/{filename:\\w+}.dat</code> will match {@code /resources/spring.dat}
* and assign the value {@code "filename"} to the {@code filename} variable</li> * and assign the value {@code "spring"} to the {@code filename} variable</li>
* </ul> * </ul>
* *
* @author Andy Clement * @author Andy Clement

Loading…
Cancel
Save