correctly handle ParseException from Formatter for String->String case (SPR-8944)

master
Juergen Hoeller 13 years ago
parent 3d5e245374
commit d331c5d1c9
  1. 2
      org.springframework.beans/src/main/java/org/springframework/beans/TypeConverterDelegate.java

@ -244,7 +244,7 @@ class TypeConverterDelegate {
}
if (firstAttemptEx != null) {
if (editor == null) {
if (editor == null && convertedValue == newValue) {
throw firstAttemptEx;
}
logger.debug("Original ConversionService attempt failed - ignored since " +

Loading…
Cancel
Save