Update Javadoc in ExtendedBeanInfo

- updated the link to the "indexed properties" section of the JavaBeans
   tutorial
master
Sam Brannen 12 years ago
parent 3925f6a428
commit fc859ffd6e
  1. 5
      spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfo.java
  2. 2
      spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfoFactory.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
* <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.
*
* <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
*/

@ -41,7 +41,7 @@ class ExtendedBeanInfoFactory implements Ordered, BeanInfoFactory {
/**
* 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) {
for (Method method : beanClass.getMethods()) {

Loading…
Cancel
Save