polish
This commit is contained in:
parent
01cbfd4f6f
commit
47e3f0948d
|
|
@ -458,14 +458,13 @@ public class GenericConversionService implements ConversionService, ConverterReg
|
||||||
|
|
||||||
private void addInterfaceHierarchy(Class<?> interfaceType, LinkedList<Class<?>> classQueue) {
|
private void addInterfaceHierarchy(Class<?> interfaceType, LinkedList<Class<?>> classQueue) {
|
||||||
classQueue.addFirst(interfaceType);
|
classQueue.addFirst(interfaceType);
|
||||||
for (Class<?> implementedInterface : interfaceType.getInterfaces()) {
|
for (Class<?> inheritedInterface : interfaceType.getInterfaces()) {
|
||||||
addInterfaceHierarchy(implementedInterface, classQueue);
|
addInterfaceHierarchy(inheritedInterface, classQueue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private GenericConverter matchConverter(
|
private GenericConverter matchConverter(
|
||||||
MatchableConverters matchable, TypeDescriptor sourceFieldType, TypeDescriptor targetFieldType) {
|
MatchableConverters matchable, TypeDescriptor sourceFieldType, TypeDescriptor targetFieldType) {
|
||||||
|
|
||||||
if (matchable == null) {
|
if (matchable == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue