[Patch] java.beans
Michael Koch
konqueror@gmx.de
Wed Nov 17 08:42:00 GMT 2004
Hi list,
I just commited the attached patch to fix some javadocs in java.beans.
Michael
2004-11-17 Michael Koch <konqueror@gmx.de>
* java/beans/Beans.java,
java/beans/PropertyChangeEvent.java,
java/beans/PropertyEditorSupport.java:
Fixed javadocs.
-------------- next part --------------
Index: java/beans/Beans.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/beans/Beans.java,v
retrieving revision 1.6
diff -u -r1.6 Beans.java
--- java/beans/Beans.java 30 Sep 2004 14:54:12 -0000 1.6
+++ java/beans/Beans.java 17 Nov 2004 08:16:48 -0000
@@ -204,7 +204,7 @@
* Objects.
*
* @param bean the Bean to cast.
- * @param newClass the Class to cast it to.
+ * @param newBeanClass the Class to cast it to.
*
* @return whether the Bean can be cast to the class type
* in question.
Index: java/beans/PropertyChangeEvent.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/beans/PropertyChangeEvent.java,v
retrieving revision 1.5
diff -u -r1.5 PropertyChangeEvent.java
--- java/beans/PropertyChangeEvent.java 15 Jul 2002 16:05:13 -0000 1.5
+++ java/beans/PropertyChangeEvent.java 17 Nov 2004 08:16:48 -0000
@@ -105,8 +105,8 @@
*
* @param source the Bean containing the property
* @param propertyName the property's name
- * @param oldValue the old value of the property
- * @param newValue the new value of the property
+ * @param oldVal the old value of the property
+ * @param newVal the new value of the property
* @throws IllegalArgumentException if source is null
*/
public PropertyChangeEvent(Object source, String propertyName,
Index: java/beans/PropertyEditorSupport.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/beans/PropertyEditorSupport.java,v
retrieving revision 1.3
diff -u -r1.3 PropertyEditorSupport.java
--- java/beans/PropertyEditorSupport.java 6 Nov 2004 13:22:13 -0000 1.3
+++ java/beans/PropertyEditorSupport.java 17 Nov 2004 08:16:48 -0000
@@ -68,7 +68,7 @@
* instance itself.
*
* @since 1.5
- * @status this was <code>protected</code> prior to 1.5
+ * @specnote this was <code>protected</code> prior to 1.5
*/
public PropertyEditorSupport()
{
@@ -85,7 +85,7 @@
* @param source The source to use when firing
* property change events.
* @since 1.5
- * @status this was <code>protected</code> prior to 1.5
+ * @specnote this was <code>protected</code> prior to 1.5
*/
public PropertyEditorSupport(Object source)
{
More information about the Java-patches
mailing list