From 2dc203ffdce6955749c5105ef321c86677d52b73 Mon Sep 17 00:00:00 2001 From: nara Date: Fri, 26 Mar 2021 11:45:43 +0900 Subject: [PATCH] Polish web docs example --- src/docs/asciidoc/web/webflux.adoc | 2 +- src/docs/asciidoc/web/webmvc.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/asciidoc/web/webflux.adoc b/src/docs/asciidoc/web/webflux.adoc index 406df2a17d..dbe8a71d27 100644 --- a/src/docs/asciidoc/web/webflux.adoc +++ b/src/docs/asciidoc/web/webflux.adoc @@ -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"] diff --git a/src/docs/asciidoc/web/webmvc.adoc b/src/docs/asciidoc/web/webmvc.adoc index c5e9ffb443..0e8bdec9b0 100644 --- a/src/docs/asciidoc/web/webmvc.adoc +++ b/src/docs/asciidoc/web/webmvc.adoc @@ -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"]