# HG changeset patch # User malenkov # Date 1300375374 -10800 # Node ID 83843c0b84f75a0ed17210cdd715665084b8a2c2 # Parent 11b06be4fa49c4958b74894b05821c40981453a7 7021517: java.beans code comments have issues with HTML4 compliance Reviewed-by: rupashka diff -r 11b06be4fa49 -r 83843c0b84f7 jdk/src/share/classes/java/beans/DefaultPersistenceDelegate.java --- a/jdk/src/share/classes/java/beans/DefaultPersistenceDelegate.java Wed Mar 16 18:48:00 2011 +0300 +++ b/jdk/src/share/classes/java/beans/DefaultPersistenceDelegate.java Thu Mar 17 18:22:54 2011 +0300 @@ -35,7 +35,7 @@ * is the delegate used by default for classes about * which no information is available. The DefaultPersistenceDelegate * provides, version resilient, public API-based persistence for - * classes that follow the JavaBeans conventions without any class specific + * classes that follow the JavaBeans™ conventions without any class specific * configuration. *

* The key assumptions are that the class has a nullary constructor diff -r 11b06be4fa49 -r 83843c0b84f7 jdk/src/share/classes/java/beans/DesignMode.java --- a/jdk/src/share/classes/java/beans/DesignMode.java Wed Mar 16 18:48:00 2011 +0300 +++ b/jdk/src/share/classes/java/beans/DesignMode.java Thu Mar 17 18:22:54 2011 +0300 @@ -31,7 +31,7 @@ * of java.beans.beancontext.BeanContext, in order to propagate to its nested hierarchy * of java.beans.beancontext.BeanContextChild instances, the current "designTime" property. *

- * The JavaBeans specification defines the notion of design time as is a + * The JavaBeans™ specification defines the notion of design time as is a * mode in which JavaBeans instances should function during their composition * and customization in a interactive design, composition or construction tool, * as opposed to runtime when the JavaBean is part of an applet, application, diff -r 11b06be4fa49 -r 83843c0b84f7 jdk/src/share/classes/java/beans/IndexedPropertyChangeEvent.java --- a/jdk/src/share/classes/java/beans/IndexedPropertyChangeEvent.java Wed Mar 16 18:48:00 2011 +0300 +++ b/jdk/src/share/classes/java/beans/IndexedPropertyChangeEvent.java Thu Mar 17 18:22:54 2011 +0300 @@ -26,7 +26,7 @@ /** * An "IndexedPropertyChange" event gets delivered whenever a component that - * conforms to the JavaBeans specification (a "bean") changes a bound + * conforms to the JavaBeans™ specification (a "bean") changes a bound * indexed property. This class is an extension of PropertyChangeEvent * but contains the index of the property that has changed. *

diff -r 11b06be4fa49 -r 83843c0b84f7 jdk/src/share/classes/java/beans/Introspector.java --- a/jdk/src/share/classes/java/beans/Introspector.java Wed Mar 16 18:48:00 2011 +0300 +++ b/jdk/src/share/classes/java/beans/Introspector.java Thu Mar 17 18:22:54 2011 +0300 @@ -87,7 +87,7 @@ *

* For more information about introspection and design patterns, please * consult the - * JavaBeans specification. + * JavaBeans™ specification. */ public class Introspector { @@ -1245,7 +1245,7 @@ try { type = ClassFinder.findClass(name, type.getClassLoader()); // Each customizer should inherit java.awt.Component and implement java.beans.Customizer - // according to the section 9.3 of JavaBeans specification + // according to the section 9.3 of JavaBeans™ specification if (Component.class.isAssignableFrom(type) && Customizer.class.isAssignableFrom(type)) { return type; } diff -r 11b06be4fa49 -r 83843c0b84f7 jdk/src/share/classes/java/beans/package.html --- a/jdk/src/share/classes/java/beans/package.html Wed Mar 16 18:48:00 2011 +0300 +++ b/jdk/src/share/classes/java/beans/package.html Thu Mar 17 18:22:54 2011 +0300 @@ -29,7 +29,7 @@ Contains classes related to developing beans -- components -based on the JavaBeansTM architecture. +based on the JavaBeans™ architecture. A few of the classes are used by beans while they run in an application. For example, the event classes are