Skip to content

Commit fc859ff

Browse files
committed
Update Javadoc in ExtendedBeanInfo
- updated the link to the "indexed properties" section of the JavaBeans tutorial
1 parent 3925f6a commit fc859ff

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfo.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
* {@link Introspector#getBeanInfo(Class)}) by including non-void returning setter
4646
* methods in the collection of {@link #getPropertyDescriptors() property descriptors}.
4747
* Both regular and
48-
* <a href="http://download.oracle.com/javase/tutorial/javabeans/properties/indexed.html">
48+
* <a href="http://docs.oracle.com/javase/tutorial/javabeans/writing/properties.html">
4949
* indexed properties</a> are fully supported.
5050
*
5151
* <p>The wrapped {@code BeanInfo} object is not modified in any way.
@@ -371,7 +371,8 @@ public PropertyDescriptor[] getPropertyDescriptors() {
371371

372372

373373
/**
374-
* Sorts PropertyDescriptor instances alphanumerically to emulate the behavior of {@link java.beans.BeanInfo#getPropertyDescriptors()}.
374+
* Sorts PropertyDescriptor instances alpha-numerically to emulate the behavior of
375+
* {@link java.beans.BeanInfo#getPropertyDescriptors()}.
375376
*
376377
* @see ExtendedBeanInfo#propertyDescriptors
377378
*/

spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfoFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class ExtendedBeanInfoFactory implements Ordered, BeanInfoFactory {
4141

4242
/**
4343
* Return whether the given bean class declares or inherits any non-void returning
44-
* JavaBeans or <em>indexed</em> setter methods.
44+
* JavaBeans or <em>indexed property</em> setter methods.
4545
*/
4646
public boolean supports(Class<?> beanClass) {
4747
for (Method method : beanClass.getMethods()) {

0 commit comments

Comments
 (0)