diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/ConversionServiceDeducer.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/ConversionServiceDeducer.java index 36dbf72118..481efb6375 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/ConversionServiceDeducer.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/ConversionServiceDeducer.java @@ -58,18 +58,10 @@ class ConversionServiceDeducer { private static class Factory { - /** - * A list of custom converters (in addition to the defaults) to use when - * converting properties for binding. - */ @SuppressWarnings("rawtypes") - private List converters; + private final List converters; - /** - * A list of custom converters (in addition to the defaults) to use when - * converting properties for binding. - */ - private List genericConverters; + private final List genericConverters; Factory(BeanFactory beanFactory) { this.converters = beans(beanFactory, Converter.class,