提交 7f1a49ec 编写于 作者: M malenkov

7021517: java.beans code comments have issues with HTML4 compliance

Reviewed-by: rupashka
上级 8730f90c
...@@ -35,7 +35,7 @@ import sun.reflect.misc.*; ...@@ -35,7 +35,7 @@ import sun.reflect.misc.*;
* is the delegate used by default for classes about * is the delegate used by default for classes about
* which no information is available. The <code>DefaultPersistenceDelegate</code> * which no information is available. The <code>DefaultPersistenceDelegate</code>
* provides, version resilient, public API-based persistence for * provides, version resilient, public API-based persistence for
* classes that follow the JavaBeans conventions without any class specific * classes that follow the JavaBeans&trade; conventions without any class specific
* configuration. * configuration.
* <p> * <p>
* The key assumptions are that the class has a nullary constructor * The key assumptions are that the class has a nullary constructor
......
...@@ -31,7 +31,7 @@ package java.beans; ...@@ -31,7 +31,7 @@ package java.beans;
* of java.beans.beancontext.BeanContext, in order to propagate to its nested hierarchy * of java.beans.beancontext.BeanContext, in order to propagate to its nested hierarchy
* of java.beans.beancontext.BeanContextChild instances, the current "designTime" property. * of java.beans.beancontext.BeanContextChild instances, the current "designTime" property.
* <p> * <p>
* The JavaBeans specification defines the notion of design time as is a * The JavaBeans&trade; specification defines the notion of design time as is a
* mode in which JavaBeans instances should function during their composition * mode in which JavaBeans instances should function during their composition
* and customization in a interactive design, composition or construction tool, * and customization in a interactive design, composition or construction tool,
* as opposed to runtime when the JavaBean is part of an applet, application, * as opposed to runtime when the JavaBean is part of an applet, application,
......
...@@ -26,7 +26,7 @@ package java.beans; ...@@ -26,7 +26,7 @@ package java.beans;
/** /**
* An "IndexedPropertyChange" event gets delivered whenever a component that * An "IndexedPropertyChange" event gets delivered whenever a component that
* conforms to the JavaBeans<TM> specification (a "bean") changes a bound * conforms to the JavaBeans&trade; specification (a "bean") changes a bound
* indexed property. This class is an extension of <code>PropertyChangeEvent</code> * indexed property. This class is an extension of <code>PropertyChangeEvent</code>
* but contains the index of the property that has changed. * but contains the index of the property that has changed.
* <P> * <P>
......
...@@ -87,7 +87,7 @@ import sun.reflect.misc.ReflectUtil; ...@@ -87,7 +87,7 @@ import sun.reflect.misc.ReflectUtil;
* <p> * <p>
* For more information about introspection and design patterns, please * For more information about introspection and design patterns, please
* consult the * consult the
* <a href="http://java.sun.com/products/javabeans/docs/index.html">JavaBeans specification</a>. * <a href="http://java.sun.com/products/javabeans/docs/index.html">JavaBeans&trade; specification</a>.
*/ */
public class Introspector { public class Introspector {
...@@ -1245,7 +1245,7 @@ public class Introspector { ...@@ -1245,7 +1245,7 @@ public class Introspector {
try { try {
type = ClassFinder.findClass(name, type.getClassLoader()); type = ClassFinder.findClass(name, type.getClassLoader());
// Each customizer should inherit java.awt.Component and implement java.beans.Customizer // 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&trade; specification
if (Component.class.isAssignableFrom(type) && Customizer.class.isAssignableFrom(type)) { if (Component.class.isAssignableFrom(type) && Customizer.class.isAssignableFrom(type)) {
return type; return type;
} }
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
Contains classes related to developing Contains classes related to developing
<em>beans</em> -- components <em>beans</em> -- components
based on the JavaBeans<sup><font size=-2>TM</font></sup> architecture. based on the JavaBeans&trade; architecture.
A few of the A few of the
classes are used by beans while they run in an application. classes are used by beans while they run in an application.
For example, the event classes are For example, the event classes are
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册