git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2255 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Keith Donald
2009-11-04 17:38:17 +00:00
parent 37ca3a6a83
commit 431ee55b39
@@ -43,9 +43,9 @@ public class StandardTypeConverter implements TypeConverter {
this.conversionService = new DefaultConversionService();
}
public StandardTypeConverter(ConversionService typeConverter) {
Assert.notNull(typeConverter, "ConversionService must not be null");
this.conversionService = typeConverter;
public StandardTypeConverter(ConversionService conversionService) {
Assert.notNull(conversionService, "ConversionService must not be null");
this.conversionService = conversionService;
}
public boolean canConvert(Class<?> sourceType, Class<?> targetType) {