From 867b9f61b21e9fbb71ce7108da3418383c1da7ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=AA=E5=8D=8E=E8=A3=95?= <8042833@qq.com> Date: Thu, 28 Sep 2023 10:56:18 +0800 Subject: [PATCH] Add missing `conversionService` field in doc example See gh-31330 --- framework-docs/modules/ROOT/pages/core/validation/convert.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework-docs/modules/ROOT/pages/core/validation/convert.adoc b/framework-docs/modules/ROOT/pages/core/validation/convert.adoc index 4d6c6391ab..8f0f15486d 100644 --- a/framework-docs/modules/ROOT/pages/core/validation/convert.adoc +++ b/framework-docs/modules/ROOT/pages/core/validation/convert.adoc @@ -268,6 +268,8 @@ Java:: @Service public class MyService { + private final ConversionService conversionService; + public MyService(ConversionService conversionService) { this.conversionService = conversionService; }