From 02609fde0e20d895dffb6e33e31d7831b477deaf 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 git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2453 50f2f4bb-b051-0410-bef5-90022cba6387 --- .../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; }