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

Loading…
Cancel
Save