From 5b1ab31559798df83f1e8d54d2b754f12c69c14e Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Thu, 15 Apr 2021 11:17:04 +0200 Subject: [PATCH] Polishing --- src/docs/asciidoc/core/core-validation.adoc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/docs/asciidoc/core/core-validation.adoc b/src/docs/asciidoc/core/core-validation.adoc index b6908eca5a..10bb5a9187 100644 --- a/src/docs/asciidoc/core/core-validation.adoc +++ b/src/docs/asciidoc/core/core-validation.adoc @@ -541,10 +541,9 @@ com Note that you can also use the standard `BeanInfo` JavaBeans mechanism here as well (described to some extent -https://docs.oracle.com/javase/tutorial/javabeans/advanced/customization.html[ -here]). The following example use the `BeanInfo` mechanism to -explicitly register one or more `PropertyEditor` instances with the properties of an -associated class: +https://docs.oracle.com/javase/tutorial/javabeans/advanced/customization.html[here]). The +following example uses the `BeanInfo` mechanism to explicitly register one or more +`PropertyEditor` instances with the properties of an associated class: [literal,subs="verbatim,quotes"] ---- @@ -567,7 +566,7 @@ associates a `CustomNumberEditor` with the `age` property of the `Something` cla try { final PropertyEditor numberPE = new CustomNumberEditor(Integer.class, true); PropertyDescriptor ageDescriptor = new PropertyDescriptor("age", Something.class) { - @Override + @Override public PropertyEditor createPropertyEditor(Object bean) { return numberPE; } @@ -626,7 +625,7 @@ nested property setup, so we strongly recommend that you use it with the where it can be automatically detected and applied. Note that all bean factories and application contexts automatically use a number of -built-in property editors, through their use a `BeanWrapper` to +built-in property editors, through their use of a `BeanWrapper` to handle property conversions. The standard property editors that the `BeanWrapper` registers are listed in the <>. Additionally, `ApplicationContexts` also override or add additional editors to handle