check for "org.joda.time.LocalDate" in order to catch JodaTime 1.3 and higher only (SPR-7222)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3355 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
2d67c052d0
commit
e22cb45715
|
|
@ -49,7 +49,7 @@ public class FormattingConversionServiceFactoryBean
|
|||
implements FactoryBean<FormattingConversionService>, InitializingBean {
|
||||
|
||||
private static final boolean jodaTimePresent = ClassUtils.isPresent(
|
||||
"org.joda.time.DateTime", FormattingConversionService.class.getClassLoader());
|
||||
"org.joda.time.LocalDate", FormattingConversionService.class.getClassLoader());
|
||||
|
||||
private Set<?> converters;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue