default conversion service instance caching and tests

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2453 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Keith Donald 2009-11-19 15:27:15 +00:00
parent f6ee598cd3
commit 02609fde0e
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ public class GenericConversionService implements ConversionService, ConverterReg
if (this.conditionalConverters == null) {
this.conditionalConverters = new LinkedList<ConditionalGenericConverter>();
}
this.conditionalConverters.add((ConditionalGenericConverter) converter);
this.conditionalConverters.addFirst((ConditionalGenericConverter) converter);
} else {
this.defaultConverter = converter;
}