|
|
@ -43,9 +43,9 @@ public class StandardTypeConverter implements TypeConverter { |
|
|
|
this.conversionService = new DefaultConversionService(); |
|
|
|
this.conversionService = new DefaultConversionService(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public StandardTypeConverter(ConversionService typeConverter) { |
|
|
|
public StandardTypeConverter(ConversionService conversionService) { |
|
|
|
Assert.notNull(typeConverter, "ConversionService must not be null"); |
|
|
|
Assert.notNull(conversionService, "ConversionService must not be null"); |
|
|
|
this.conversionService = typeConverter; |
|
|
|
this.conversionService = conversionService; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public boolean canConvert(Class<?> sourceType, Class<?> targetType) { |
|
|
|
public boolean canConvert(Class<?> sourceType, Class<?> targetType) { |
|
|
|