From 47e3f0948dbc2530c3722ed31176590de6032133 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Tue, 24 May 2011 18:32:01 +0000 Subject: [PATCH] polish --- .../core/convert/support/GenericConversionService.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/org.springframework.core/src/main/java/org/springframework/core/convert/support/GenericConversionService.java b/org.springframework.core/src/main/java/org/springframework/core/convert/support/GenericConversionService.java index fd7a88634d..8586b92cbe 100644 --- a/org.springframework.core/src/main/java/org/springframework/core/convert/support/GenericConversionService.java +++ b/org.springframework.core/src/main/java/org/springframework/core/convert/support/GenericConversionService.java @@ -458,14 +458,13 @@ public class GenericConversionService implements ConversionService, ConverterReg private void addInterfaceHierarchy(Class interfaceType, LinkedList> 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; }