From fc859ffd6e0d5ca8e69b736bc93baf8081b89932 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sun, 9 Sep 2012 21:55:59 +0200 Subject: [PATCH] Update Javadoc in ExtendedBeanInfo - updated the link to the "indexed properties" section of the JavaBeans tutorial --- .../java/org/springframework/beans/ExtendedBeanInfo.java | 5 +++-- .../org/springframework/beans/ExtendedBeanInfoFactory.java | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfo.java b/spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfo.java index 8d0fcf99c0..01d812a874 100644 --- a/spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfo.java +++ b/spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfo.java @@ -45,7 +45,7 @@ import org.springframework.util.StringUtils; * {@link Introspector#getBeanInfo(Class)}) by including non-void returning setter * methods in the collection of {@link #getPropertyDescriptors() property descriptors}. * Both regular and - * + * * indexed properties are fully supported. * *

The wrapped {@code BeanInfo} object is not modified in any way. @@ -371,7 +371,8 @@ class ExtendedBeanInfo implements BeanInfo { /** - * Sorts PropertyDescriptor instances alphanumerically to emulate the behavior of {@link java.beans.BeanInfo#getPropertyDescriptors()}. + * Sorts PropertyDescriptor instances alpha-numerically to emulate the behavior of + * {@link java.beans.BeanInfo#getPropertyDescriptors()}. * * @see ExtendedBeanInfo#propertyDescriptors */ diff --git a/spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfoFactory.java b/spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfoFactory.java index 99657535fb..5f6256621f 100644 --- a/spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfoFactory.java +++ b/spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfoFactory.java @@ -41,7 +41,7 @@ class ExtendedBeanInfoFactory implements Ordered, BeanInfoFactory { /** * Return whether the given bean class declares or inherits any non-void returning - * JavaBeans or indexed setter methods. + * JavaBeans or indexed property setter methods. */ public boolean supports(Class beanClass) { for (Method method : beanClass.getMethods()) {