Polish web docs example

This commit is contained in:
nara 2021-03-26 11:45:43 +09:00 committed by Rossen Stoyanchev
parent 610de3ae78
commit 2dc203ffdc
2 changed files with 2 additions and 2 deletions

View File

@ -1521,7 +1521,7 @@ segments. For example `/resources/{*path}` matches all files under `/resources/`
`"path"` variable captures the complete relative path.
The syntax `{varName:regex}` declares a URI variable with a regular expression that has the
syntax: `{varName:regex}`. For example, given a URL of `/spring-web-3.0.5 .jar`, the following method
syntax: `{varName:regex}`. For example, given a URL of `/spring-web-3.0.5.jar`, the following method
extracts the name, version, and file extension:
[source,java,indent=0,subs="verbatim,quotes",role="primary"]

View File

@ -1618,7 +1618,7 @@ leave that detail out if the names are the same and your code is compiled with d
information or with the `-parameters` compiler flag on Java 8.
The syntax `{varName:regex}` declares a URI variable with a regular expression that has
syntax of `{varName:regex}`. For example, given URL `"/spring-web-3.0.5 .jar"`, the following method
syntax of `{varName:regex}`. For example, given URL `"/spring-web-3.0.5.jar"`, the following method
extracts the name, version, and file extension:
[source,java,indent=0,subs="verbatim,quotes",role="primary"]