From 56d69a9ede6dbc2aacaa94185652116766d12003 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Fri, 7 Jan 2011 21:13:20 +0000 Subject: [PATCH] typo git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3895 50f2f4bb-b051-0410-bef5-90022cba6387 --- .../main/java/org/springframework/beans/BeanWrapperImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.springframework.beans/src/main/java/org/springframework/beans/BeanWrapperImpl.java b/org.springframework.beans/src/main/java/org/springframework/beans/BeanWrapperImpl.java index cf6746f3bab..16adf7a5054 100644 --- a/org.springframework.beans/src/main/java/org/springframework/beans/BeanWrapperImpl.java +++ b/org.springframework.beans/src/main/java/org/springframework/beans/BeanWrapperImpl.java @@ -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); }