Browse Source

polish

pull/7/head
Keith Donald 14 years ago
parent
commit
47e3f0948d
  1. 5
      org.springframework.core/src/main/java/org/springframework/core/convert/support/GenericConversionService.java

5
org.springframework.core/src/main/java/org/springframework/core/convert/support/GenericConversionService.java

@ -458,14 +458,13 @@ public class GenericConversionService implements ConversionService, ConverterReg @@ -458,14 +458,13 @@ public class GenericConversionService implements ConversionService, ConverterReg
private void addInterfaceHierarchy(Class<?> interfaceType, LinkedList<Class<?>> classQueue) {
classQueue.addFirst(interfaceType);
for (Class<?> implementedInterface : interfaceType.getInterfaces()) {
addInterfaceHierarchy(implementedInterface, classQueue);
for (Class<?> inheritedInterface : interfaceType.getInterfaces()) {
addInterfaceHierarchy(inheritedInterface, classQueue);
}
}
private GenericConverter matchConverter(
MatchableConverters matchable, TypeDescriptor sourceFieldType, TypeDescriptor targetFieldType) {
if (matchable == null) {
return null;
}

Loading…
Cancel
Save