From 1acbc97b16acf0901b1db3a3b264cf533605e2a3 Mon Sep 17 00:00:00 2001 From: Abel Salgado Romero Date: Tue, 7 Mar 2023 21:21:15 +0100 Subject: [PATCH] Fix minor spacings in webflux docs Closes gh-30078 --- framework-docs/src/docs/asciidoc/web/webflux-cors.adoc | 2 +- framework-docs/src/docs/asciidoc/web/webflux.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework-docs/src/docs/asciidoc/web/webflux-cors.adoc b/framework-docs/src/docs/asciidoc/web/webflux-cors.adoc index 2b1fb23b78..b8805e226a 100644 --- a/framework-docs/src/docs/asciidoc/web/webflux-cors.adoc +++ b/framework-docs/src/docs/asciidoc/web/webflux-cors.adoc @@ -251,7 +251,7 @@ By default global configuration enables the following: * `GET`, `HEAD`, and `POST` methods. `allowedCredentials` is not enabled by default, since that establishes a trust level -that exposes sensitive user-specific information( such as cookies and CSRF tokens) and +that exposes sensitive user-specific information (such as cookies and CSRF tokens) and should be used only where appropriate. When it is enabled either `allowOrigins` must be set to one or more specific domain (but not the special value `"*"`) or alternatively the `allowOriginPatterns` property may be used to match to a dynamic set of origins. diff --git a/framework-docs/src/docs/asciidoc/web/webflux.adoc b/framework-docs/src/docs/asciidoc/web/webflux.adoc index 867001cab8..8d2214673f 100644 --- a/framework-docs/src/docs/asciidoc/web/webflux.adoc +++ b/framework-docs/src/docs/asciidoc/web/webflux.adoc @@ -2504,7 +2504,7 @@ reactive type, as the following example shows: ---- Note that use of `@ModelAttribute` is optional -- for example, to set its attributes. -By default, any argument that is not a simple value type( as determined by +By default, any argument that is not a simple value type (as determined by {api-spring-framework}/beans/BeanUtils.html#isSimpleProperty-java.lang.Class-[BeanUtils#isSimpleProperty]) and is not resolved by any other argument resolver is treated as if it were annotated with `@ModelAttribute`.