mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
check for "org.joda.time.LocalDate" in order to catch JodaTime 1.3 and higher only (SPR-7222)
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user