summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2004-04-17 15:48:57 +0000
committerMichael Koch <konqueror@gmx.de>2004-04-17 15:48:57 +0000
commitdeb74aa4777d3e58a9a7c8a3ac42ff67d3084dc7 (patch)
treef3201ad214fb0781830620565f05d2ae168ba30f /java
parent291b3270ca3ae32d576fad3c35d3a0b24fe18bef (diff)
downloadclasspath-deb74aa4777d3e58a9a7c8a3ac42ff67d3084dc7.tar.gz
2004-04-17 Michael Koch <konqueror@gmx.de>
* java/awt/AWTPermission.java, java/awt/Component.java, java/awt/ComponentOrientation.java, java/awt/Dialog.java, java/awt/FontMetrics.java, java/awt/datatransfer/DataFlavor.java, java/beans/Introspector.java, java/beans/PropertyEditor.java, java/beans/PropertyEditorManager.java, java/beans/beancontext/BeanContextServiceProvider.java: Fixed HTML tags in javadocs.
Diffstat (limited to 'java')
-rw-r--r--java/awt/AWTPermission.java2
-rw-r--r--java/awt/Component.java3
-rw-r--r--java/awt/ComponentOrientation.java8
-rw-r--r--java/awt/Dialog.java12
-rw-r--r--java/awt/FontMetrics.java12
-rw-r--r--java/awt/datatransfer/DataFlavor.java10
-rw-r--r--java/beans/Introspector.java6
-rw-r--r--java/beans/PropertyEditor.java2
-rw-r--r--java/beans/PropertyEditorManager.java21
-rw-r--r--java/beans/beancontext/BeanContextServiceProvider.java8
10 files changed, 43 insertions, 41 deletions
diff --git a/java/awt/AWTPermission.java b/java/awt/AWTPermission.java
index 993c60d50..b5ba63d58 100644
--- a/java/awt/AWTPermission.java
+++ b/java/awt/AWTPermission.java
@@ -79,7 +79,7 @@ import java.security.BasicPermission;
* <tr>
* <td><code>fullScreenExclusive</code></td>
* <td>enter full-screen exclusive mode</td>
- * <td>malicious code could masquerade as a trusted program</td><tr>
+ * <td>malicious code could masquerade as a trusted program</td></tr>
* </table>
*
* @author Tom Tromey <tromey@redhat.com>
diff --git a/java/awt/Component.java b/java/awt/Component.java
index 8c75ba06e..7cd9336da 100644
--- a/java/awt/Component.java
+++ b/java/awt/Component.java
@@ -105,7 +105,7 @@ import javax.accessibility.AccessibleStateSet;
* in inner classes, rather than using this object itself as the listener, if
* external objects do not need to save the state of this object.
*
- * <p><pre>
+ * <pre>
* import java.awt.*;
* import java.awt.event.*;
* import java.io.Serializable;
@@ -127,6 +127,7 @@ import javax.accessibility.AccessibleStateSet;
* aButton.addActionListener(new MyActionListener());
* }
* }
+ * </pre>
*
* <p>Status: Incomplete. The event dispatch mechanism is implemented. All
* other methods defined in the J2SE 1.3 API javadoc exist, but are mostly
diff --git a/java/awt/ComponentOrientation.java b/java/awt/ComponentOrientation.java
index 8d3a40c85..02cf5967f 100644
--- a/java/awt/ComponentOrientation.java
+++ b/java/awt/ComponentOrientation.java
@@ -171,13 +171,15 @@ public final class ComponentOrientation implements Serializable
}
/**
- * Gets an orientation from a resource bundle. This tries the following:<ol>
+ * Gets an orientation from a resource bundle. This tries the following:
+ *
+ * <ul>
* <li>Use the key "Orientation" to find an instance of ComponentOrientation
* in the bundle.</li>
* <li>Get the locale of the resource bundle, and get the orientation of
* that locale.</li>
- * <li>Give up and get the orientation of the default locale.<li>
- * <ol>
+ * <li>Give up and get the orientation of the default locale.</li>
+ * </ul>
*
* @param bdl the bundle to use
* @return the orientation
diff --git a/java/awt/Dialog.java b/java/awt/Dialog.java
index 5516ff906..6bfb80c85 100644
--- a/java/awt/Dialog.java
+++ b/java/awt/Dialog.java
@@ -123,8 +123,8 @@ Dialog(Frame parent)
* parent and modality, that is resizable and which has no title.
*
* @param parent The parent frame of this dialog box.
- * @param modal <true> if this dialog box is modal, <code>false</code>
- * otherwise.
+ * @param modal <code>true</code> if this dialog box is modal,
+ * <code>false</code> otherwise.
*
* @exception IllegalArgumentException If the owner's GraphicsConfiguration
* is not from a screen device, or if owner is null. This exception is always
@@ -164,8 +164,8 @@ Dialog(Frame parent, String title)
*
* @param parent The parent frame of this dialog box.
* @param title The title string for this dialog box.
- * @param modal <true> if this dialog box is modal, <code>false</code>
- * otherwise.
+ * @param modal <code>true</code> if this dialog box is modal,
+ * <code>false</code> otherwise.
*
* @exception IllegalArgumentException If owner is null or
* GraphicsEnvironment.isHeadless() returns true.
@@ -183,8 +183,8 @@ Dialog(Frame parent, String title, boolean modal)
*
* @param parent The parent frame of this dialog box.
* @param title The title string for this dialog box.
- * @param modal <true> if this dialog box is modal, <code>false</code>
- * otherwise.
+ * @param modal <code>true</code> if this dialog box is modal,
+ * <code>false</code> otherwise.
* @param gc The <code>GraphicsConfiguration</code> object to use.
*
* @exception IllegalArgumentException If owner is null, the
diff --git a/java/awt/FontMetrics.java b/java/awt/FontMetrics.java
index ee7fd106f..cb76f5079 100644
--- a/java/awt/FontMetrics.java
+++ b/java/awt/FontMetrics.java
@@ -47,12 +47,12 @@ package java.awt;
* least the following methods:
* <p>
* <ul>
- * <li>getAscent
- * <li>getDescent
- * <li>getLeading()
- * <li>getMaxAdvance()
- * <li>charWidth(char)
- * <li>charsWidth(char[], int, int)
+ * <li>getAscent()</li>
+ * <li>getDescent()</li>
+ * <li>getLeading()</li>
+ * <li>getMaxAdvance()</li>
+ * <li>charWidth(char)</li>
+ * <li>charsWidth(char[], int, int)</li>
* </ul>
*
* @author Aaron M. Renn (arenn@urbanophile.com)
diff --git a/java/awt/datatransfer/DataFlavor.java b/java/awt/datatransfer/DataFlavor.java
index d911bab71..3ec219119 100644
--- a/java/awt/datatransfer/DataFlavor.java
+++ b/java/awt/datatransfer/DataFlavor.java
@@ -270,7 +270,7 @@ DataFlavor(Class representationClass, String humanPresentableName)
/**
* Initializes a new instance of <code>DataFlavor</code> with the
* specified MIME type and description. If the MIME type has a
- * "class=<rep class>" parameter then the representation class will
+ * "class=&lt;rep class&gt;" parameter then the representation class will
* be the class name specified. Otherwise the class defaults to
* <code>java.io.InputStream</code>. If the human readable name
* is not specified (<code>null</code>) then the human readable name
@@ -319,7 +319,7 @@ getRepresentationClassFromMime(String mimeString, ClassLoader classLoader)
/**
* Initializes a new instance of <code>DataFlavor</code> with the
* specified MIME type and description. If the MIME type has a
- * "class=<rep class>" parameter then the representation class will
+ * "class=&lt;rep class&gt;" parameter then the representation class will
* be the class name specified. Otherwise the class defaults to
* <code>java.io.InputStream</code>. If the human readable name
* is not specified (<code>null</code>) then the human readable name
@@ -709,10 +709,10 @@ equals(DataFlavor flavor)
* are met:
* <p>
* <ul>
- * <li>The object is not <code>null</code>.
- * <li>The object is an instance of <code>DataFlavor</code>.
+ * <li>The object is not <code>null</code>.</li>
+ * <li>The object is an instance of <code>DataFlavor</code>.</li>
* <li>The object's MIME type and representation class are equal to
- * this object's.
+ * this object's.</li>
* </ul>
*
* @param obj The <code>Object</code> to test against.
diff --git a/java/beans/Introspector.java b/java/beans/Introspector.java
index 078f98eb3..b3f67c521 100644
--- a/java/beans/Introspector.java
+++ b/java/beans/Introspector.java
@@ -65,7 +65,7 @@ import gnu.java.lang.ClassHelper;
* When you call getBeanInfo(class c), the Introspector
* first searches for BeanInfo class to see if you
* provided any explicit information. It searches for a
- * class named <bean class name>BeanInfo in different
+ * class named &lt;bean class name&gt;BeanInfo in different
* packages, first searching the bean class's package
* and then moving on to search the beanInfoSearchPath.<P>
*
@@ -113,14 +113,14 @@ import gnu.java.lang.ClassHelper;
* type &lt;type&gt;. There may also be a
* <CODE>public &lt;type&gt;[] getXXX()</CODE> and a
* <CODE>public void setXXX(&lt;type&gt;)</CODE>
- * method as well.</CODE></LI>
+ * method as well.</LI>
* <LI>If there is a
* <CODE>public void setXXX(int,&lt;type&gt;)</CODE>
* method, then it is a write-only indexed property of
* type &lt;type&gt;. There may also be a
* <CODE>public &lt;type&gt;[] getXXX()</CODE> and a
* <CODE>public void setXXX(&lt;type&gt;)</CODE>
- * method as well.</CODE></LI>
+ * method as well.</LI>
* <LI>If there is a
* <CODE>public &lt;type&gt; getXXX()</CODE> method,
* then XXX is a read-only property of type
diff --git a/java/beans/PropertyEditor.java b/java/beans/PropertyEditor.java
index 18b1a890e..5cc3f6ab0 100644
--- a/java/beans/PropertyEditor.java
+++ b/java/beans/PropertyEditor.java
@@ -77,7 +77,7 @@ package java.beans;
** have isPaintable() return true and implement the paintValue() method.
** This method does not determine in any way how the value is edited;
** merely how it is displayed.</LI>
- ** <LU>Let the caller of the PropertyEditor give the user a text input. Do
+ ** <LI>Let the caller of the PropertyEditor give the user a text input. Do
** this by returning a non-null String from getAsText(). If you support
** text input, you *must* support setAsText().</LI>
** <LI>Give the caller a set of possible values, such as "true"/"false", that
diff --git a/java/beans/PropertyEditorManager.java b/java/beans/PropertyEditorManager.java
index aa0e1776d..85c9ba5d8 100644
--- a/java/beans/PropertyEditorManager.java
+++ b/java/beans/PropertyEditorManager.java
@@ -60,19 +60,20 @@ import java.awt.Font;
* already registered; if it is, that property editor is
* used. Next it takes the type's classname and appends
* "Editor" to it, and searches first in the class's
- * package and then in the property editor search path.<P>
+ * package and then in the property editor search path.
*
- * Default property editors are provided for:<P>
- * <OL>
- * <LI>boolean, byte, short, int, long, float, and double</LI>
- * <LI>java.lang.String</LI>
- * <LI>java.awt.Color</LI>
- * <LI>java.awt.Font</LI>
- * <OL>
+ * <p>Default property editors are provided for:</p>
+ *
+ * <ol>
+ * <li>boolean, byte, short, int, long, float, and double</li>
+ * <li>java.lang.String</li>
+ * <li>java.awt.Color</li>
+ * <li>java.awt.Font</li>
+ * </ol>
*
- * <STRONG>Spec Suggestion:</STRONG> Perhaps an editor for
+ * <p><strong>Spec Suggestion:</strong> Perhaps an editor for
* Filename or something like it should be provided. As well
- * as char.
+ * as char.</p>
*
* @author John Keiser
* @since 1.1
diff --git a/java/beans/beancontext/BeanContextServiceProvider.java b/java/beans/beancontext/BeanContextServiceProvider.java
index de9c7de8f..cc2c935b3 100644
--- a/java/beans/beancontext/BeanContextServiceProvider.java
+++ b/java/beans/beancontext/BeanContextServiceProvider.java
@@ -62,14 +62,12 @@ import java.util.Iterator;
public interface BeanContextServiceProvider {
/**
* Get a service.
- * Called from <code>BeanContextServices.getService().
- * <P>
+ * Called from <code>BeanContextServices.getService()</code>.
*
- * If the requested service class is not available, or if this
+ * <p>If the requested service class is not available, or if this
* <code>BeanContextServiceProvider</code> chooses not honor the
* request for some reason, then this method will return
- * <code>null</code>.
- * <P>
+ * <code>null</code>.</p>
*
* This method may throw unchecked exceptions, so watch out.
*