diff --git a/org.springframework.context/src/main/java/org/springframework/ui/format/FormatterRegistry.java b/org.springframework.context/src/main/java/org/springframework/ui/format/FormatterRegistry.java index ed59fac527..91d1d7c324 100644 --- a/org.springframework.context/src/main/java/org/springframework/ui/format/FormatterRegistry.java +++ b/org.springframework.context/src/main/java/org/springframework/ui/format/FormatterRegistry.java @@ -31,9 +31,9 @@ public interface FormatterRegistry { /** * Adds a Formatter to this registry indexed by type. *

Use this add method when type differs from <T>. - * Calling getFormatter(type) returns a decorator that wraps + * Calling getFormatter(type) returns a decorator that wraps * the targetFormatter instance. - *

On format, the decorator first coerses the instance of type to <T>, + *

On format, the decorator first coerces the instance of type to <T>, * then delegates to targetFormatter to format the value. *

On parse, the decorator first delegates to the formatter to parse a <T>, * then coerces the parsed value to type. @@ -44,14 +44,14 @@ public interface FormatterRegistry { /** * Adds a Formatter to this registry indexed by <T>. - * Calling getFormatter(<T>.class) returns formatter. + *

Calling getFormatter(<T>.class) returns formatter. * @param formatter the formatter */ void addFormatterByType(Formatter formatter); /** * Adds a Formatter to this registry indexed by the given annotation type. - * Calling getFormatter(...) on a field or accessor method + *

Calling getFormatter(...) on a field or accessor method * with the given annotation returns formatter. * @param formatter the formatter */ @@ -59,7 +59,7 @@ public interface FormatterRegistry { /** * Adds a AnnotationFormatterFactory that returns the Formatter for properties annotated with a specific annotation. - * Calling getFormatter(...) on a field or accessor method + *

Calling getFormatter(...) on a field or accessor method * with the given annotation returns formatter. * @param factory the annotation formatter factory */