From 035cc72fc89979cd57a2f3b8641cab401215f37b Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 6 Dec 2023 12:34:56 +0100 Subject: [PATCH] Polishing --- .../controller/ann-methods/modelattrib-method-args.adoc | 8 ++++---- .../ann-methods/modelattrib-method-args.adoc | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/framework-docs/modules/ROOT/pages/web/webflux/controller/ann-methods/modelattrib-method-args.adoc b/framework-docs/modules/ROOT/pages/web/webflux/controller/ann-methods/modelattrib-method-args.adoc index cc95a89739..c073dca32e 100644 --- a/framework-docs/modules/ROOT/pages/web/webflux/controller/ann-methods/modelattrib-method-args.adoc +++ b/framework-docs/modules/ROOT/pages/web/webflux/controller/ann-methods/modelattrib-method-args.adoc @@ -166,7 +166,7 @@ By default, any argument that is not a simple value type (as determined by and is not resolved by any other argument resolver is treated as if it were annotated with `@ModelAttribute`. -WARNING: When compiling to native images, implicit `@ModelAttribute` as described above does -not allow proper ahead-of-time inference of related data binding reflection hints. As a consequence, -it is recommended to annotate explicitly with `@ModelAttribute` method parameters for such use case -with GraalVM. +WARNING: When compiling to a native image with GraalVM, the implicit `@ModelAttribute` +support described above does not allow proper ahead-of-time inference of related data +binding reflection hints. As a consequence, it is recommended to explicitly annotate +method parameters with `@ModelAttribute` for use in a GraalVM native image. diff --git a/framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-methods/modelattrib-method-args.adoc b/framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-methods/modelattrib-method-args.adoc index 67db7d4f57..1414f5cea5 100644 --- a/framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-methods/modelattrib-method-args.adoc +++ b/framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-methods/modelattrib-method-args.adoc @@ -216,7 +216,7 @@ By default, any argument that is not a simple value type (as determined by and is not resolved by any other argument resolver is treated as if it were annotated with `@ModelAttribute`. -WARNING: When compiling to native images, implicit `@ModelAttribute` as described above does -not allow proper ahead-of-time inference of related data binding reflection hints. As a consequence, -it is recommended to annotate explicitly with `@ModelAttribute` method parameters for such use case -with GraalVM. +WARNING: When compiling to a native image with GraalVM, the implicit `@ModelAttribute` +support described above does not allow proper ahead-of-time inference of related data +binding reflection hints. As a consequence, it is recommended to explicitly annotate +method parameters with `@ModelAttribute` for use in a GraalVM native image.