From f2477c4bf515dfae1c322f7eb7098316a532eb25 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Thu, 19 Nov 2009 15:27:15 +0000 Subject: [PATCH] default conversion service instance caching and tests --- .../core/convert/support/GenericConversionService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 23d71bc300f..fcb61d03a49 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 @@ -406,7 +406,7 @@ public class GenericConversionService implements ConversionService, ConverterReg if (this.conditionalConverters == null) { this.conditionalConverters = new LinkedList(); } - this.conditionalConverters.add((ConditionalGenericConverter) converter); + this.conditionalConverters.addFirst((ConditionalGenericConverter) converter); } else { this.defaultConverter = converter; }