Update Javadoc in ExtendedBeanInfo

- updated the link to the "indexed properties" section of the JavaBeans
   tutorial
This commit is contained in:
Sam Brannen 2012-09-09 21:55:59 +02:00
parent 3925f6a428
commit fc859ffd6e
2 changed files with 4 additions and 3 deletions

View File

@ -45,7 +45,7 @@ import org.springframework.util.StringUtils;
* {@link Introspector#getBeanInfo(Class)}) by including non-void returning setter * {@link Introspector#getBeanInfo(Class)}) by including non-void returning setter
* methods in the collection of {@link #getPropertyDescriptors() property descriptors}. * methods in the collection of {@link #getPropertyDescriptors() property descriptors}.
* Both regular and * Both regular and
* <a href="http://download.oracle.com/javase/tutorial/javabeans/properties/indexed.html"> * <a href="http://docs.oracle.com/javase/tutorial/javabeans/writing/properties.html">
* indexed properties</a> are fully supported. * indexed properties</a> are fully supported.
* *
* <p>The wrapped {@code BeanInfo} object is not modified in any way. * <p>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 * @see ExtendedBeanInfo#propertyDescriptors
*/ */

View File

@ -41,7 +41,7 @@ class ExtendedBeanInfoFactory implements Ordered, BeanInfoFactory {
/** /**
* Return whether the given bean class declares or inherits any non-void returning * Return whether the given bean class declares or inherits any non-void returning
* JavaBeans or <em>indexed</em> setter methods. * JavaBeans or <em>indexed property</em> setter methods.
*/ */
public boolean supports(Class<?> beanClass) { public boolean supports(Class<?> beanClass) {
for (Method method : beanClass.getMethods()) { for (Method method : beanClass.getMethods()) {