提交 6fe5871e 编写于 作者: J Juergen Hoeller

check for "org.joda.time.LocalDate" in order to catch JodaTime 1.3 and higher only (SPR-7222)

上级 ecf2d8c5
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册