mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 04:09:04 +00:00
moved generic converter to spi; added entity converter; removed various service impls in favor of service factory
This commit is contained in:
-1
@@ -13,7 +13,6 @@ import javax.validation.constraints.NotNull;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.springframework.beans.ConversionNotSupportedException;
|
||||
import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
|
||||
import org.springframework.context.i18n.LocaleContextHolder;
|
||||
import org.springframework.core.convert.ConversionFailedException;
|
||||
|
||||
+1
-1
@@ -7,6 +7,6 @@
|
||||
|
||||
<mvc:annotation-driven conversion-service="conversionService" />
|
||||
|
||||
<bean id="conversionService" class="org.springframework.core.convert.support.DefaultConversionService" />
|
||||
<bean id="conversionService" class="org.springframework.core.convert.support.ConversionServiceFactory" factory-method="createDefault" />
|
||||
|
||||
</beans>
|
||||
|
||||
Reference in New Issue
Block a user