Browse Source

polish

pull/23217/head
Keith Donald 15 years ago
parent
commit
791832789d
  1. 6
      org.springframework.expression/src/main/java/org/springframework/expression/spel/support/StandardTypeConverter.java

6
org.springframework.expression/src/main/java/org/springframework/expression/spel/support/StandardTypeConverter.java

@ -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) {

Loading…
Cancel
Save