diff --git a/spring-beans/src/main/java/org/springframework/beans/ConfigurablePropertyAccessor.java b/spring-beans/src/main/java/org/springframework/beans/ConfigurablePropertyAccessor.java index f279c2b1e26..0d25b595681 100644 --- a/spring-beans/src/main/java/org/springframework/beans/ConfigurablePropertyAccessor.java +++ b/spring-beans/src/main/java/org/springframework/beans/ConfigurablePropertyAccessor.java @@ -63,12 +63,14 @@ public interface ConfigurablePropertyAccessor extends PropertyAccessor, Property *
If {@code true}, a {@code null} path location will be populated * with a default object value and traversed instead of resulting in a * {@link NullValueInNestedPathException}. - *
Default is {@code false} on a plain PropertyAccessor instance. + *
Default is {@code false} on a plain accessor. + * @since 4.1 */ void setAutoGrowNestedPaths(boolean autoGrowNestedPaths); /** * Return whether "auto-growing" of nested paths has been activated. + * @since 4.1 */ boolean isAutoGrowNestedPaths(); diff --git a/spring-context/src/main/java/org/springframework/validation/DataBinder.java b/spring-context/src/main/java/org/springframework/validation/DataBinder.java index bd804bfe647..2653c2b1dfc 100644 --- a/spring-context/src/main/java/org/springframework/validation/DataBinder.java +++ b/spring-context/src/main/java/org/springframework/validation/DataBinder.java @@ -273,8 +273,9 @@ public class DataBinder implements PropertyEditorRegistry, TypeConverter { * Specify the limit for array and collection auto-growing. *
Default is 256, preventing OutOfMemoryErrors in case of large indexes. * Raise this limit if your auto-growing needs are unusually high. - *
Used for setter/field injection via {@link #bind(PropertyValues)}, and not - * applicable to constructor binding via {@link #construct}. + *
Used for setter injection via {@link #bind(PropertyValues)}; + * not applicable to field injection, and not to constructor binding + * via {@link #construct} either. * @see #initBeanPropertyAccess() * @see org.springframework.beans.BeanWrapper#setAutoGrowCollectionLimit */