Browse Source

Add missing `conversionService` field in doc example

See gh-31330
pull/31496/head
纪华裕 1 year ago committed by Stéphane Nicoll
parent
commit
867b9f61b2
  1. 2
      framework-docs/modules/ROOT/pages/core/validation/convert.adoc

2
framework-docs/modules/ROOT/pages/core/validation/convert.adoc

@ -268,6 +268,8 @@ Java:: @@ -268,6 +268,8 @@ Java::
@Service
public class MyService {
private final ConversionService conversionService;
public MyService(ConversionService conversionService) {
this.conversionService = conversionService;
}

Loading…
Cancel
Save