Browse Source

typo

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3895 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/head
Keith Donald 15 years ago
parent
commit
56d69a9ede
  1. 2
      org.springframework.beans/src/main/java/org/springframework/beans/BeanWrapperImpl.java

2
org.springframework.beans/src/main/java/org/springframework/beans/BeanWrapperImpl.java

@ -961,7 +961,7 @@ public class BeanWrapperImpl extends AbstractPropertyAccessor implements BeanWra @@ -961,7 +961,7 @@ public class BeanWrapperImpl extends AbstractPropertyAccessor implements BeanWra
}
Object convertedValue = convertIfNecessary(propertyName, oldValue, pv.getValue(), requiredType,
PropertyTypeDescriptor.forNestedType(requiredType, new MethodParameter(pd.getReadMethod(), -1, tokens.keys.length), pd));
// TODO reduce this grow algorithm along side the null gap algorithm for setting lists below ... the two are inconsistent
// TODO review this grow algorithm along side the null gap algorithm for setting lists below ... the two are inconsistent
propValue = growArrayIfNecessary(propValue, arrayIndex, actualName);
Array.set(propValue, arrayIndex, convertedValue);
}

Loading…
Cancel
Save