mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polish
This commit is contained in:
+2
-1
@@ -451,7 +451,8 @@ public class GenericConversionService implements ConfigurableConversionService {
|
||||
Assert.state(converter instanceof ConditionalConverter,
|
||||
"Only conditional converters may return null convertible types");
|
||||
globalConverters.add(converter);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
for (ConvertiblePair convertiblePair : convertibleTypes) {
|
||||
ConvertersForPair convertersForPair = getMatchableConverters(convertiblePair);
|
||||
convertersForPair.add(converter);
|
||||
|
||||
Reference in New Issue
Block a user