mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-05 22:49:02 +00:00
polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4359 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+2
-3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user