@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
/ *
* Copyright 2002 - 2022 the original author or authors .
* Copyright 2002 - 2023 the original author or authors .
*
* Licensed under the Apache License , Version 2 . 0 ( the "License" ) ;
* you may not use this file except in compliance with the License .
@ -602,7 +602,7 @@ class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParser {
@@ -602,7 +602,7 @@ class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParser {
Class < ? > type = MappingJackson2SmileHttpMessageConverter . class ;
RootBeanDefinition jacksonConverterDef = createConverterDefinition ( type , source ) ;
GenericBeanDefinition jacksonFactoryDef = createObjectMapperFactoryDefinition ( source ) ;
jacksonFactoryDef . getPropertyValues ( ) . add ( "factory" , new SmileFactory ( ) ) ;
jacksonFactoryDef . getPropertyValues ( ) . add ( "factory" , new RootBeanDefinition ( SmileFactory . class ) ) ;
jacksonConverterDef . getConstructorArgumentValues ( ) . addIndexedArgumentValue ( 0 , jacksonFactoryDef ) ;
messageConverters . add ( jacksonConverterDef ) ;
}
@ -610,7 +610,7 @@ class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParser {
@@ -610,7 +610,7 @@ class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParser {
Class < ? > type = MappingJackson2CborHttpMessageConverter . class ;
RootBeanDefinition jacksonConverterDef = createConverterDefinition ( type , source ) ;
GenericBeanDefinition jacksonFactoryDef = createObjectMapperFactoryDefinition ( source ) ;
jacksonFactoryDef . getPropertyValues ( ) . add ( "factory" , new CBORFactory ( ) ) ;
jacksonFactoryDef . getPropertyValues ( ) . add ( "factory" , new RootBeanDefinition ( CBORFactory . class ) ) ;
jacksonConverterDef . getConstructorArgumentValues ( ) . addIndexedArgumentValue ( 0 , jacksonFactoryDef ) ;
messageConverters . add ( jacksonConverterDef ) ;
}