On print, if the Formatter's type T is declared and {@code fieldType} is not assignable to T, - * a coersion to T will be attempted before delegating to {@code formatter} to print a field value. + * a coercion to T will be attempted before delegating to {@code formatter} to print a field value. * On parse, if the parsed object returned by {@code formatter} is not assignable to the runtime field type, - * a coersion to the field type will be attempted before returning the parsed field value. + * a coercion to the field type will be attempted before returning the parsed field value. * @param fieldType the field type to format * @param formatter the formatter to add */ @@ -54,9 +54,9 @@ public interface FormatterRegistry extends ConverterRegistry { * The formatter will delegate to the specified {@code printer} for printing * and the specified {@code parser} for parsing. *
On print, if the Printer's type T is declared and {@code fieldType} is not assignable to T, - * a coersion to T will be attempted before delegating to {@code printer} to print a field value. + * a coercion to T will be attempted before delegating to {@code printer} to print a field value. * On parse, if the object returned by the Parser is not assignable to the runtime field type, - * a coersion to the field type will be attempted before returning the parsed field value. + * a coercion to the field type will be attempted before returning the parsed field value. * @param fieldType the field type to format * @param printer the printing part of the formatter * @param parser the parsing part of the formatter