MarshalledObject.java, [...]: Fixed javadoc, coding style and argument names all...
authorMichael Koch <konqueror@gmx.de>
Tue, 20 Apr 2004 14:45:10 +0000 (14:45 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Tue, 20 Apr 2004 14:45:10 +0000 (14:45 +0000)
2004-04-20  Michael Koch  <konqueror@gmx.de>

* java/rmi/MarshalledObject.java,
java/rmi/Naming.java,
java/rmi/RemoteException.java,
java/rmi/activation/ActivationException.java,
java/rmi/server/ServerCloneException.java,
java/security/AccessController.java,
java/security/AlgorithmParameterGenerator.java,
java/security/AlgorithmParameters.java,
java/security/CodeSource.java,
java/security/Identity.java,
java/security/IdentityScope.java,
java/security/KeyPairGenerator.java,
java/security/KeyStore.java,
java/security/Security.java,
java/security/Signature.java,
java/security/SignatureSpi.java,
java/security/SignedObject.java,
java/security/spec/DSAParameterSpec.java,
java/security/spec/DSAPrivateKeySpec.java,
java/security/spec/DSAPublicKeySpec.java,
java/sql/Array.java,
java/sql/DatabaseMetaData.java,
java/sql/ResultSet.java,
java/text/ChoiceFormat.java,
java/text/CollationElementIterator.java,
java/text/CollationKey.java,
java/text/Collator.java,
java/text/DateFormat.java,
java/text/DateFormatSymbols.java,
java/text/DecimalFormatSymbols.java,
java/text/Format.java,
java/text/ParsePosition.java,
java/text/RuleBasedCollator.java,
java/text/SimpleDateFormat.java,
java/text/StringCharacterIterator.java,
java/util/Collections.java,
java/util/PropertyResourceBundle.java,
java/util/ResourceBundle.java,
java/util/StringTokenizer.java,
java/util/jar/Attributes.java,
java/util/logging/ConsoleHandler.java,
java/util/logging/LogManager.java,
java/util/logging/MemoryHandler.java,
java/util/logging/SocketHandler.java,
javax/naming/NamingException.java:
Fixed javadoc, coding style and argument names all over.

From-SVN: r80906

46 files changed:
libjava/ChangeLog
libjava/java/rmi/MarshalledObject.java
libjava/java/rmi/Naming.java
libjava/java/rmi/RemoteException.java
libjava/java/rmi/activation/ActivationException.java
libjava/java/rmi/server/ServerCloneException.java
libjava/java/security/AccessController.java
libjava/java/security/AlgorithmParameterGenerator.java
libjava/java/security/AlgorithmParameters.java
libjava/java/security/CodeSource.java
libjava/java/security/Identity.java
libjava/java/security/IdentityScope.java
libjava/java/security/KeyPairGenerator.java
libjava/java/security/KeyStore.java
libjava/java/security/Security.java
libjava/java/security/Signature.java
libjava/java/security/SignatureSpi.java
libjava/java/security/SignedObject.java
libjava/java/security/spec/DSAParameterSpec.java
libjava/java/security/spec/DSAPrivateKeySpec.java
libjava/java/security/spec/DSAPublicKeySpec.java
libjava/java/sql/Array.java
libjava/java/sql/DatabaseMetaData.java
libjava/java/sql/ResultSet.java
libjava/java/text/ChoiceFormat.java
libjava/java/text/CollationElementIterator.java
libjava/java/text/CollationKey.java
libjava/java/text/Collator.java
libjava/java/text/DateFormat.java
libjava/java/text/DateFormatSymbols.java
libjava/java/text/DecimalFormatSymbols.java
libjava/java/text/Format.java
libjava/java/text/ParsePosition.java
libjava/java/text/RuleBasedCollator.java
libjava/java/text/SimpleDateFormat.java
libjava/java/text/StringCharacterIterator.java
libjava/java/util/Collections.java
libjava/java/util/PropertyResourceBundle.java
libjava/java/util/ResourceBundle.java
libjava/java/util/StringTokenizer.java
libjava/java/util/jar/Attributes.java
libjava/java/util/logging/ConsoleHandler.java
libjava/java/util/logging/LogManager.java
libjava/java/util/logging/MemoryHandler.java
libjava/java/util/logging/SocketHandler.java
libjava/javax/naming/NamingException.java

index 84a66b1392ca1f76da747d7c1d0d863b411ecd1f..e53db66f8baaa1b8afcc0e69b040dae455b62045 100644 (file)
@@ -1,3 +1,52 @@
+2004-04-20  Michael Koch  <konqueror@gmx.de>
+
+       * java/rmi/MarshalledObject.java,
+       java/rmi/Naming.java,
+       java/rmi/RemoteException.java,
+       java/rmi/activation/ActivationException.java,
+       java/rmi/server/ServerCloneException.java,
+       java/security/AccessController.java,
+       java/security/AlgorithmParameterGenerator.java,
+       java/security/AlgorithmParameters.java,
+       java/security/CodeSource.java,
+       java/security/Identity.java,
+       java/security/IdentityScope.java,
+       java/security/KeyPairGenerator.java,
+       java/security/KeyStore.java,
+       java/security/Security.java,
+       java/security/Signature.java,
+       java/security/SignatureSpi.java,
+       java/security/SignedObject.java,
+       java/security/spec/DSAParameterSpec.java,
+       java/security/spec/DSAPrivateKeySpec.java,
+       java/security/spec/DSAPublicKeySpec.java,
+       java/sql/Array.java,
+       java/sql/DatabaseMetaData.java,
+       java/sql/ResultSet.java,
+       java/text/ChoiceFormat.java,
+       java/text/CollationElementIterator.java,
+       java/text/CollationKey.java,
+       java/text/Collator.java,
+       java/text/DateFormat.java,
+       java/text/DateFormatSymbols.java,
+       java/text/DecimalFormatSymbols.java,
+       java/text/Format.java,
+       java/text/ParsePosition.java,
+       java/text/RuleBasedCollator.java,
+       java/text/SimpleDateFormat.java,
+       java/text/StringCharacterIterator.java,
+       java/util/Collections.java,
+       java/util/PropertyResourceBundle.java,
+       java/util/ResourceBundle.java,
+       java/util/StringTokenizer.java,
+       java/util/jar/Attributes.java,
+       java/util/logging/ConsoleHandler.java,
+       java/util/logging/LogManager.java,
+       java/util/logging/MemoryHandler.java,
+       java/util/logging/SocketHandler.java,
+       javax/naming/NamingException.java:
+       Fixed javadoc, coding style and argument names all over.
+
 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
 
        * java/io/FileDescriptor.java: (FileDescriptor) Added public
index 0ba91580d1ab39e0071eab8245e41747ca55e13c..ef22310c7b1b7fd7eec5b272fe24894f4bc86ec7 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+  Copyright (c) 1996, 1997, 1998, 1999, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -46,8 +46,7 @@ import gnu.java.rmi.RMIMarshalledObjectOutputStream;
 /**
  * FIXME - doc missing
  */
-public final class MarshalledObject
-  extends Object implements Serializable 
+public final class MarshalledObject implements Serializable 
 {
   
   //The following fields are from Java API Documentation "Serialized form"
index 1d2e68b982f570dafc628a854fc8b18af4c8952f..1a30c1f2c07564fb8a4d342d0cd5ab922d74873b 100644 (file)
@@ -44,14 +44,16 @@ import java.rmi.registry.LocateRegistry;
 
 public final class Naming {
 
-/** <pre>
+/**
  * Looks for the remote object that is associated with the named service.
  * Name and location is given in form of a URL without a scheme:
- * 
- *   //host:port/service-name
+ *
+ * <pre>
+ * //host:port/service-name
+ * </pre>
  *  
  * The port is optional.
- * </pre>
+ * 
  * @param name the service name and location
  * @return Remote-object that implements the named service
  * @throws NotBoundException if no object implements the service
index 17e38b30bd703cd45c05fe178217ff3f53381c7d..b28f0709099abaafbef6d82873a38b7756f90048 100644 (file)
@@ -99,7 +99,7 @@ public class RemoteException extends IOException
    * This method returns a message indicating what went wrong, in this
    * format:
    * <code>super.getMessage() + (detail == null ? ""
-   *    : "; nested exception is:\n\t" + detail)<code>.
+   *    : "; nested exception is:\n\t" + detail)</code>.
    *
    * @return the chained message
    */
index a1ac7bd6a2830cb15fd189e6e9c95a14cc590cd5..a335142ce47c0c122c594b1023c78833cd1965aa 100644 (file)
@@ -94,7 +94,7 @@ public class ActivationException extends Exception
    * This method returns a message indicating what went wrong, in this
    * format:
    * <code>super.getMessage() + (detail == null ? ""
-   *    : "; nested exception is:\n\t" + detail)<code>.
+   *    : "; nested exception is:\n\t" + detail)</code>.
    *
    * @return the chained message
    */
index faf43c8e29ceb6a0167a852ca03a42a76fab0fb8..3334c8d95b2d06163e15b6f7a0c181395919de85 100644 (file)
@@ -89,7 +89,7 @@ public class ServerCloneException extends CloneNotSupportedException
    * This method returns a message indicating what went wrong, in this
    * format:
    * <code>super.getMessage() + (detail == null ? ""
-   *    : "; nested exception is:\n\t" + detail)<code>.
+   *    : "; nested exception is:\n\t" + detail)</code>.
    *
    * @return the chained message
    */
index 41ca1cec5fb4f29c467736899126262223cb26b4..66aed9e38983438f130a7fc7a512eb797e3a8ec0 100644 (file)
@@ -1,5 +1,5 @@
 /* AccessController.java --- Access control context and permission checker
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -91,7 +91,7 @@ public final class AccessController
    *
    * @param action the <code>PrivilegedAction</code> whose <code>run()</code>
    * should be be called.
-   * @returns the result of the <code>action.run()</code> method.
+   * @return the result of the <code>action.run()</code> method.
    */
   public static Object doPrivileged(PrivilegedAction action)
   {
@@ -110,7 +110,7 @@ public final class AccessController
    * should be be called.
    * @param context the <code>AccessControlContext</code> whose protection
    * domains should be added to the protection domain of the calling class.
-   * @returns the result of the <code>action.run()</code> method.
+   * @return the result of the <code>action.run()</code> method.
    */
   public static Object doPrivileged(PrivilegedAction action,
                                    AccessControlContext context)
@@ -130,7 +130,7 @@ public final class AccessController
    *
    * @param action the <code>PrivilegedExceptionAction</code> whose
    * <code>run()</code> should be be called.
-   * @returns the result of the <code>action.run()</code> method.
+   * @return the result of the <code>action.run()</code> method.
    * @exception PrivilegedActionException wrapped around any exception that
    * is thrown in the <code>run()</code> method.
    */
@@ -162,7 +162,7 @@ public final class AccessController
    * <code>run()</code> should be be called.
    * @param context the <code>AccessControlContext</code> whose protection
    * domains should be added to the protection domain of the calling class.
-   * @returns the result of the <code>action.run()</code> method.
+   * @return the result of the <code>action.run()</code> method.
    * @exception PrivilegedActionException wrapped around any exception that
    * is thrown in the <code>run()</code> method.
    */
index 26a7790d37a18eb6d4228d20d4de4ec4aac4aeb4..034302504f05ece77ffcd7a04ac3cc9e7ab9d15e 100644 (file)
@@ -67,7 +67,7 @@ import gnu.java.security.Engine;
  *  system parameters, for example, the parameter generation values usually
  *  consist of the size of the prime modulus and the size of the random
  *  exponent, both specified in number of bits.</li>
- * <ul>
+ * </ul>
  *
  * <p>In case the client does not explicitly initialize the
  * <code>AlgorithmParameterGenerator</code> (via a call to an <code>init()</code>
index 07d76bb7bab0b1a57b573f07b62076279194b57c..86298b9ea9348c1ad6531a3f0cf22aa2adab649f 100644 (file)
@@ -71,7 +71,7 @@ import gnu.java.security.Engine;
  * parameter specification or parameter encoding.</p>
  *
  * <p>A transparent parameter specification is obtained from an
- * <ocde>AlgorithmParameters</code> object via a call to
+ * <code>AlgorithmParameters</code> object via a call to
  * <code>getParameterSpec()</code>, and a byte encoding of the parameters is
  * obtained via a call to <code>getEncoded()</code>.</p>
  *
index 36ee734efd38f342a788dd516a282c19bbdd13e2..35ec573cd9bf5daf9fc4f7745d78e504f1c36d1a 100644 (file)
@@ -159,17 +159,22 @@ public class CodeSource implements Serializable
    * object must have all the certifcates this object has (but may have more),
    * and must have a location that is a subset of this object's.  In order
    * for this object to imply the specified object, the following must be
-   * true:<ol>
+   * true:
+   *
+   * <ol>
    * <li><em>codesource</em> must not be <code>null</code>.</li>
    * <li>If <em>codesource</em> has a certificate list, all of it's
    *     certificates must be present in the certificate list of this
    *     code source.</li>
    * <li>If this object does not have a <code>null</code> location, then
-   *     the following addtional tests must be passed.<ol>
+   *     the following addtional tests must be passed.
+   *
+   *     <ol>
    *     <li><em>codesource</em> must not have a <code>null</code>
    *         location.</li>
    *     <li><em>codesource</em>'s location must be equal to this object's
-   *         location, or<br><ul>
+   *         location, or
+   *         <ul>
    *         <li><em>codesource</em>'s location protocol, port, and ref (aka,
    *             anchor) must equal this objects</li>
    *         <li><em>codesource</em>'s location host must imply this object's
@@ -183,19 +188,21 @@ public class CodeSource implements Serializable
    *             location file must start with this object's location file
    *             with the '/' character appended to it.</li>
    *         </ul></li>
-   *     </ol>
+   *     </ol></li>
    * </ol>
    *
    * <p>For example, each of these locations imply the location
-   * "http://java.sun.com/classes/foo.jar":<ul>
+   * "http://java.sun.com/classes/foo.jar":</p>
+   * 
    * <pre>
    * http:
    * http://*.sun.com/classes/*
    * http://java.sun.com/classes/-
    * http://java.sun.com/classes/foo.jar
    * </pre>
-   * Note that the code source with null location and null certificates implies
-   * all other code sources.
+   * 
+   * <p>Note that the code source with null location and null certificates implies
+   * all other code sources.</p>
    *
    * @param cs the <code>CodeSource</code> to test against this object
    * @return true if this specified <code>CodeSource</code> is implied
@@ -245,7 +252,7 @@ public class CodeSource implements Serializable
   /**
    * This method returns a <code>String</code> that represents this object.
    * The result is in the format <code>"(" + getLocation()</code> followed
-   * by a space separated list of certificates (or "<no certificates>"),
+   * by a space separated list of certificates (or "&lt;no certificates&gt;"),
    * followed by <code>")"</code>.
    *
    * @return a <code>String</code> for this object
index 57ccc83e056f6ae927ad1671a13af2d04adb3a65..2e9ddea1a2972afbc49bc471ac5e40ea4f1804ec 100644 (file)
@@ -151,7 +151,7 @@ public abstract class Identity implements Principal, Serializable
    * @throws KeyManagementException if another identity in the identity's scope
    * has the same public key, or if another exception occurs.
    * @throws SecurityException if a security manager exists and its
-   * <code>checkSecurityAccess()<code> method doesn't allow setting the public
+   * <code>checkSecurityAccess()</code> method doesn't allow setting the public
    * key.
    * @see #getPublicKey()
    * @see SecurityManager#checkSecurityAccess(String)
index 88e00fc81c027b84a5c3e8e5bab0273105782fe7..5965a00a122c19e2cb2e969da23bf88d06a3b395 100644 (file)
@@ -123,7 +123,7 @@ public abstract class IdentityScope extends Identity
   }
 
   /**
-   * <p>Sets the system's identity scope.</p>
+   * Sets the system's identity scope.
    *
    * <p>First, if there is a security manager, its <code>checkSecurityAccess()
    * </code> method is called with <code>"setSystemScope"</code> as its argument
@@ -131,7 +131,7 @@ public abstract class IdentityScope extends Identity
    *
    * @param scope the scope to set.
    * @throws SecurityException if a security manager exists and its
-   * <code>checkSecurityAccess()<code> method doesn't allow setting the
+   * <code>checkSecurityAccess()</code> method doesn't allow setting the
    * identity scope.
    * @see #getSystemScope()
    * @see SecurityManager#checkSecurityAccess(String)
index b9b07852aa426bb454a152b79a457a36f5f4bb29..9a3a04d4ef82a9728edb42a9a68a6d06aaa1ec9c 100644 (file)
@@ -56,43 +56,42 @@ import gnu.java.security.Engine;
  * two is the initialization of the object:</p>
  *
  * <ul>
- *    <li><b>Algorithm-Independent Initialization</b><br/>
- *    All key pair generators share the concepts of a <i>keysize</i> and a
- *    <i>source of randomness</i>. The <i>keysize</i> is interpreted differently
- *    for different algorithms (e.g., in the case of the <i>DSA</i> algorithm,
- *    the <i>keysize</i> corresponds to the length of the modulus). There is an
- *    <code>initialize()</code> method in this <code>KeyPairGenerator</code>
- *    class that takes these two universally shared types of arguments. There
- *    is also one that takes just a <i>keysize</i> argument, and uses the
- *    {@link SecureRandom} implementation of the highest-priority installed
- *    provider as the <i>source of randomness</i>. (If none of the installed
- *    providers supply an implementation of {@link SecureRandom}, a
- *    system-provided source of randomness is used.)<br/><br/>
+ * <li><b>Algorithm-Independent Initialization</b><br/>
+ *     All key pair generators share the concepts of a <i>keysize</i> and a
+ *     <i>source of randomness</i>. The <i>keysize</i> is interpreted differently
+ *     for different algorithms (e.g., in the case of the <i>DSA</i> algorithm,
+ *     the <i>keysize</i> corresponds to the length of the modulus). There is an
+ *     <code>initialize()</code> method in this <code>KeyPairGenerator</code>
+ *     class that takes these two universally shared types of arguments. There
+ *     is also one that takes just a <i>keysize</i> argument, and uses the
+ *     {@link SecureRandom} implementation of the highest-priority installed
+ *     provider as the <i>source of randomness</i>. (If none of the installed
+ *     providers supply an implementation of {@link SecureRandom}, a
+ *     system-provided source of randomness is used.)
  *
- *    Since no other parameters are specified when you call the above
- *    algorithm-independent initialize methods, it is up to the provider what
- *    to do about the algorithm-specific parameters (if any) to be associated
- *    with each of the keys.<br/><br/>
+ *     <p>Since no other parameters are specified when you call the above
+ *     algorithm-independent initialize methods, it is up to the provider what
+ *     to do about the algorithm-specific parameters (if any) to be associated
+ *     with each of the keys.</p>
  *
- *    If the algorithm is the <i>DSA</i> algorithm, and the <i>keysize</i>
- *    (modulus size) is <code>512</code>, <code>768</code>, or <code>1024</code>,
- *    then the <b>GNU</b> provider uses a set of precomputed values for the
- *    <code>p</code>, <code>q</code>, and <code>g</code> parameters. If the
- *    <i>modulus size</i> is not one of the above values, the <b>GNU</b>
- *    provider creates a new set of parameters. Other providers might have
- *    precomputed parameter sets for more than just the three modulus sizes
- *    mentioned above. Still others might not have a list of precomputed
- *    parameters at all and instead always create new parameter sets.<br/></li>
- *
- *    <li><b>Algorithm-Specific Initialization</b><br/>
- *    For situations where a set of algorithm-specific parameters already
- *    exists (e.g., so-called <i>community parameters</i> in <i>DSA</i>), there
- *    are two initialize methods that have an {@link AlgorithmParameterSpec}
- *    argument. One also has a {@link SecureRandom} argument, while the the
- *    other uses the {@link SecureRandom} implementation of the highest-priority
- *    installed provider as the source of randomness. (If none of the installed
- *    providers supply an implementation of {@link SecureRandom}, a
- *    system-provided source of randomness is used.)</li>
+ *     <p>If the algorithm is the <i>DSA</i> algorithm, and the <i>keysize</i>
+ *     (modulus size) is <code>512</code>, <code>768</code>, or <code>1024</code>,
+ *     then the <b>GNU</b> provider uses a set of precomputed values for the
+ *     <code>p</code>, <code>q</code>, and <code>g</code> parameters. If the
+ *     <i>modulus size</i> is not one of the above values, the <b>GNU</b>
+ *     provider creates a new set of parameters. Other providers might have
+ *     precomputed parameter sets for more than just the three modulus sizes
+ *     mentioned above. Still others might not have a list of precomputed
+ *     parameters at all and instead always create new parameter sets.</p></li>
+ * <li><b>Algorithm-Specific Initialization</b><br/>
+ *     For situations where a set of algorithm-specific parameters already
+ *     exists (e.g., so-called <i>community parameters</i> in <i>DSA</i>), there
+ *     are two initialize methods that have an {@link AlgorithmParameterSpec}
+ *     argument. One also has a {@link SecureRandom} argument, while the the
+ *     other uses the {@link SecureRandom} implementation of the highest-priority
+ *     installed provider as the source of randomness. (If none of the installed
+ *     providers supply an implementation of {@link SecureRandom}, a
+ *     system-provided source of randomness is used.)</li>
  * </ul>
  *
  * <p>In case the client does not explicitly initialize the
index 5f0c159d7d255eda81f54fb8b513183347b65d44..4ca16a2290eaf1f08456dd077d3cad223fa2afd6 100644 (file)
@@ -208,7 +208,7 @@ public class KeyStore
 
   /**
    * Returns the default KeyStore type. This method looks up the
-   * type in <JAVA_HOME>/lib/security/java.security with the 
+   * type in &lt;JAVA_HOME&gt;/lib/security/java.security with the 
    * property "keystore.type" or if that fails then "jks" .
    */
   public static final String getDefaultType()
index ef716150ab426b6d32cb3439160f60594838cb2e..d7edf20656ff93fb9ef12b6f1b5a8932fec6a970 100644 (file)
@@ -1,5 +1,5 @@
 /* Security.java --- Java base security class implementation
-   Copyright (C) 1999, 2001, 2002, 2003, Free Software Foundation, Inc.
+   Copyright (C) 1999, 2001, 2002, 2003, 2004, Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -59,7 +59,7 @@ import java.util.Vector;
  *
  * @author Mark Benvenuto <ivymccough@worldnet.att.net>
  */
-public final class Security extends Object
+public final class Security
 {
   private static final String ALG_ALIAS = "Alg.Alias.";
 
@@ -670,7 +670,7 @@ public final class Security extends Object
     outer: for (int r = 0; r < 3; r++) // guard against circularity
       {
         serviceDotAlgorithm = (svc+"."+String.valueOf(algo)).trim();
-        inner: for (it = p.keySet().iterator(); it.hasNext(); )
+        for (it = p.keySet().iterator(); it.hasNext(); )
           {
             key = (String) it.next();
             if (key.equalsIgnoreCase(serviceDotAlgorithm)) // eureka
index 1e99a7bb3e0552aba0800e111b39ec011f82ff72..bf614e388b3fe43694ce81b1e13e7be4d26dbf2b 100644 (file)
@@ -83,20 +83,20 @@ import gnu.java.security.Engine;
  * either signing data or verifying a signature:</p>
  *
  * <ol>
- *    <li>Initialization, with either
- *      <ul>
- *        <li>a public key, which initializes the signature for verification
- *        (see <code>initVerify()</code>), or</li>
- *        <li>a private key (and optionally a Secure Random Number Generator),
- *        which initializes the signature for signing (see
- *        {@link #initSign(PrivateKey)} and {@link #initSign(PrivateKey, SecureRandom)}
- *        ).</li>
- *      </ul></li>
- *    <li>Updating<br/>
- *      Depending on the type of initialization, this will update the bytes to
- *      be signed or verified. See the update methods.<br/></li>
- *    <li>Signing or Verifying a signature on all updated bytes. See the
- *    <code>sign()</code> methods and the <code>verify()</code> method.</li>
+ * <li>Initialization, with either
+ *     <ul>
+ *     <li>a public key, which initializes the signature for verification
+ *         (see <code>initVerify()</code>), or</li>
+ *     <li>a private key (and optionally a Secure Random Number Generator),
+ *         which initializes the signature for signing (see
+ *         {@link #initSign(PrivateKey)} and {@link #initSign(PrivateKey, SecureRandom)}
+ *         ).</li>
+ *     </ul></li>
+ * <li>Updating<br/>
+ *     Depending on the type of initialization, this will update the bytes to
+ *     be signed or verified. See the update methods.<br/></li>
+ * <li>Signing or Verifying a signature on all updated bytes. See the
+ *     <code>sign()</code> methods and the <code>verify()</code> method.</li>
  *  </ol>
  *
  * <p>Note that this class is abstract and extends from {@link SignatureSpi} for
@@ -105,7 +105,7 @@ import gnu.java.security.Engine;
  * superclass are intended for cryptographic service providers who wish to
  * supply their own implementations of digital signature algorithms.
  *
- * @author Mark Benvenuto <ivymccough@worldnet.att.net>
+ * @author Mark Benvenuto  (ivymccough@worldnet.att.net)
  */
 public abstract class Signature extends SignatureSpi
 {
index 7deafd6b041e4c37af429c3d7d7e75fcbb4f18fe..bf2382d8e407151d939fbc75bcf24d25b90a474e 100644 (file)
@@ -279,7 +279,7 @@ public abstract class SignatureSpi
    * @param param the string name of the parameter.
    * @return the object that represents the parameter value, or <code>null</code>
    * if there is none.
-   * @throws InvalidParameterException if <code>param<?code> is an invalid
+   * @throws InvalidParameterException if <code>param</code> is an invalid
    * parameter for this engine, or another exception occurs while trying to get
    * this parameter.
    * @deprecated
index 270936ba686c8473ef6538078c5feca466d34875..0d9f733e70daddc54aa5ed84ae14118e9c5be8ea 100644 (file)
@@ -98,7 +98,7 @@ import java.io.Serializable;
  * <p>The signature algorithm can be, among others, the NIST standard <i>DSS</i>,
  * using <i>DSA</i> and <i>SHA-1</i>. The algorithm is specified using the same
  * convention as that for signatures. The <i>DSA</i> algorithm using the
- * </i>SHA-1</i> message digest algorithm can be specified, for example, as
+ * <i>SHA-1</i> message digest algorithm can be specified, for example, as
  * <code>"SHA/DSA"</code> or <code>"SHA-1/DSA"</code> (they are equivalent). In
  * the case of <i>RSA</i>, there are multiple choices for the message digest
  * algorithm, so the signing algorithm could be specified as, for example,
index fa0ebce7a7a318450ef62ec6c1df66e24298c064..5c7911f7420e2c64cc200b1f699a67f46720bda1 100644 (file)
@@ -1,5 +1,5 @@
 /* DSAParameterSpec.java --- DSA Parameter Specificaton class
-   Copyright (C) 1999 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -48,7 +48,7 @@ import java.math.BigInteger;
 
        @author Mark Benvenuto
 */
-public class DSAParameterSpec extends Object implements AlgorithmParameterSpec, DSAParams
+public class DSAParameterSpec implements AlgorithmParameterSpec, DSAParams
 {
   private BigInteger p = null;
   private BigInteger q = null;
index b4025d61cb38cc38af10bc2eb2475fa0aa41ca32..c148481ca50e2146567127775ae09c0880fe7d54 100644 (file)
@@ -1,5 +1,5 @@
 /* DSAPrivateKeySpec.java --- DSA Private Key Specificaton class
-   Copyright (C) 1999 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -47,7 +47,7 @@ import java.math.BigInteger;
 
        @author Mark Benvenuto
 */
-public class DSAPrivateKeySpec extends Object implements KeySpec 
+public class DSAPrivateKeySpec implements KeySpec 
 {
   private BigInteger x = null;
   private BigInteger p = null;
index ef73371188a8e35c5f7c4723da08b8f42f312fba..687f8dd10fd08ec0d142c80468434b12f227d999 100644 (file)
@@ -1,5 +1,5 @@
 /* DSAPublicKeySpec.java --- DSA Public Key Specificaton class
-   Copyright (C) 1999 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -47,7 +47,7 @@ import java.math.BigInteger;
 
        @author Mark Benvenuto
 */
-public class DSAPublicKeySpec extends Object implements KeySpec 
+public class DSAPublicKeySpec implements KeySpec 
 {
   private BigInteger y = null;
   private BigInteger p = null;
index 0bb84cbe3d1237743c476d604b7a08f9913ab96c..3246c86f8e8400cde68a9eedaa1634c7a90b1289 100644 (file)
@@ -165,13 +165,13 @@ public interface Array
   /**
    * This method returns a portion of the array as a <code>ResultSet</code>.
    * The returned portion will start at <code>index</code> into the
-   * array and up to <cod>count</code> elements will be returned.
-   * <p>
-   * Each row of the result set will have two columns.  The first will be
+   * array and up to <code>count</code> elements will be returned.
+   *
+   * <p> Each row of the result set will have two columns.  The first will be
    * the index into the array of that row's contents.  The second will be
    * the actual value of that array element.  The specified <code>Map</code>
    * will be used to override selected default mappings of SQL types to
-   * Java classes.
+   * Java classes.</p>
    *
    * @param offset The index into the array to start returning elements from.
    * @param length The requested number of elements to return.
index d3cfd7c2e54a2b3f20e4dd2f26efb83636f91f7f..cd20691b7d7b9c4d54802e9491554bbbdf0814dd 100644 (file)
@@ -412,7 +412,7 @@ public interface DatabaseMetaData
    * each table.
    *
    * @return <code>true</code> if the database uses a separate file for each
-   * table </code>false</code> otherwise.
+   * table <code>false</code> otherwise.
    *
    * @exception SQLException If an error occurs.
    */
@@ -433,8 +433,8 @@ public interface DatabaseMetaData
    * This method tests whether or not the database treats mixed case
    * identifiers as all upper case.
    *
-   * @exception <code>true</code> if the database treats all identifiers as
-   *            upper case, <code>false</code> otherwise.
+   * @return <code>true</code> if the database treats all identifiers as
+   *         upper case, <code>false</code> otherwise.
    * @exception SQLException If an error occurs.
    */
   boolean storesUpperCaseIdentifiers() throws SQLException;
@@ -443,8 +443,8 @@ public interface DatabaseMetaData
    * This method tests whether or not the database treats mixed case
    * identifiers as all lower case.
    *
-   * @exception <code>true</code> if the database treats all identifiers as
-   *            lower case, <code>false</code> otherwise.
+   * @return <code>true</code> if the database treats all identifiers as
+   *         lower case, <code>false</code> otherwise.
    * @exception SQLException If an error occurs.
    */
   boolean storesLowerCaseIdentifiers() throws SQLException;
@@ -473,8 +473,8 @@ public interface DatabaseMetaData
    * This method tests whether or not the database treats mixed case
    * quoted identifiers as all upper case.
    *
-   * @exception <code>true</code> if the database treats all quoted identifiers 
-   *            as upper case, <code>false</code> otherwise.
+   * @return <code>true</code> if the database treats all quoted identifiers 
+   *         as upper case, <code>false</code> otherwise.
    * @exception SQLException If an error occurs.
    */
   boolean storesUpperCaseQuotedIdentifiers() throws SQLException;
@@ -483,8 +483,8 @@ public interface DatabaseMetaData
    * This method tests whether or not the database treats mixed case
    * quoted identifiers as all lower case.
    *
-   * @exception <code>true</code> if the database treats all quoted identifiers 
-   *            as lower case, <code>false</code> otherwise.
+   * @return <code>true</code> if the database treats all quoted identifiers 
+   *         as lower case, <code>false</code> otherwise.
    * @exception SQLException If an error occurs.
    */
   boolean storesLowerCaseQuotedIdentifiers() throws SQLException;
@@ -1377,18 +1377,18 @@ public interface DatabaseMetaData
    * <p>
    * <ol>
    * <li>PROCEDURE_CAT - The catalog the procedure is in, which may be 
-   * <code>null</code>.
+   * <code>null</code>.</li>
    * <li>PROCEDURE_SCHEM - The schema the procedures is in, which may be
-   * <code>null</code>.
-   * <li>PROCEDURE_NAME - The name of the procedure.
-   * <li>Unused
-   * <li>Unused
-   * <li>Unused
-   * <li>REMARKS - A description of the procedure
+   * <code>null</code>.</li>
+   * <li>PROCEDURE_NAME - The name of the procedure.</li>
+   * <li>Unused</li>
+   * <li>Unused</li>
+   * <li>Unused</li>
+   * <li>REMARKS - A description of the procedure</li>
    * <li>PROCEDURE_TYPE - Indicates the return type of the procedure, which 
    * is one of the contstants defined in this class 
    * (<code>procedureResultUnknown</code>, <code>procedureNoResult</code>, or
-   * <code>procedureReturnsResult</code>).
+   * <code>procedureReturnsResult</code>).</li>
    * </ol>
    *
    * @param catalog The name of the catalog to return stored procedured from,
@@ -1409,27 +1409,27 @@ public interface DatabaseMetaData
    * <p>
    * <ol>
    * <li>PROCEDURE_CAT - The catalog the procedure is in, which may be 
-   * <code>null</code>.
+   * <code>null</code>.</li>
    * <li>PROCEDURE_SCHEM - The schema the procedures is in, which may be
-   * <code>null</code>.
-   * <li>PROCEDURE_NAME - The name of the procedure.
-   * <li>COLUMN_NAME - The name of the column
+   * <code>null</code>.</li>
+   * <li>PROCEDURE_NAME - The name of the procedure.</li>
+   * <li>COLUMN_NAME - The name of the column</li>
    * <li>COLUMN_TYPE - The type of the column, which will be one of the
    * contants defined in this class (<code>procedureColumnUnknown</code>,
    * <code>procedureColumnIn</code>, <code>procedureColumnInOut</code>,
    * <code>procedureColumnOut</code>, <code>procedureColumnReturn</code>,
-   * or <code>procedureColumnResult</code>).
+   * or <code>procedureColumnResult</code>).</li>
    * <li>DATA_TYPE - The SQL type of the column. This is one of the constants
-   * defined in <code>Types</code>.
-   * <li>TYPE_NAME - The string name of the data type for this column.
-   * <li>PRECISION - The precision of the column.
-   * <li>LENGTH - The length of the column in bytes
-   * <li>SCALE - The scale of the column.
-   * <li>RADIX - The radix of the column.
+   * defined in <code>Types</code>.</li>
+   * <li>TYPE_NAME - The string name of the data type for this column.</li>
+   * <li>PRECISION - The precision of the column.</li>
+   * <li>LENGTH - The length of the column in bytes</li>
+   * <li>SCALE - The scale of the column.</li>
+   * <li>RADIX - The radix of the column.</li>
    * <li>NULLABLE - Whether or not the column is NULLABLE.  This is one of
    * the constants defined in this class (<code>procedureNoNulls</code>,
-   * <code>procedureNullable</code>, or <code>procedureNullableUnknown</code>)
-   * <li>REMARKS - A description of the column.
+   * <code>procedureNullable</code>, or <code>procedureNullableUnknown</code>)</li>
+   * <li>REMARKS - A description of the column.</li>
    * </ol>
    *
    * @param catalog The name of the catalog to return stored procedured from,
@@ -1448,14 +1448,14 @@ public interface DatabaseMetaData
   /**
    * This method returns a list of the requested table as a   
    * <code>ResultSet</code> with the following columns:
-   * <p>
+   *
    * <ol>
-   * <li>TABLE_CAT - The catalog the table is in, which may be <code>null</code>.
-   * <li>TABLE_SCHEM - The schema the table is in, which may be <code>null</code>.
-   * <li>TABLE_NAME - The name of the table.
+   * <li>TABLE_CAT - The catalog the table is in, which may be <code>null</code>.</li>
+   * <li>TABLE_SCHEM - The schema the table is in, which may be <code>null</code>.</li>
+   * <li>TABLE_NAME - The name of the table.</li>
    * <li>TABLE_TYPE - A string describing the table type.  This will be one
-   * of the values returned by the <code>getTableTypes()</code> method.
-   * <li>REMARKS - Comments about the table.
+   * of the values returned by the <code>getTableTypes()</code> method.</li>
+   * <li>REMARKS - Comments about the table.</li>
    * </ol>
    * 
    * @param catalog The name of the catalog to return tables from,
@@ -1507,29 +1507,29 @@ public interface DatabaseMetaData
    * <p>
    * <ol>
    * <li>TABLE_CAT - The catalog the table is in, which may be 
-   * <code>null</code>.
+   * <code>null</code>.</li>
    * <li>TABLE_SCHEM - The schema the tables is in, which may be
-   * <code>null</code>.
-   * <li>TABLE_NAME - The name of the table.
-   * <li>COLUMN_NAME - The name of the column
+   * <code>null</code>.</li>
+   * <li>TABLE_NAME - The name of the table.</li>
+   * <li>COLUMN_NAME - The name of the column</li>
    * <li>DATA_TYPE - The SQL type of the column. This is one of the constants
-   * defined in <code>Types</code>.
-   * <li>TYPE_NAME - The string name of the data type for this column.
-   * <li>COLUMN_SIZE - The size of the column.
-   * <li>Unused
-   * <li>NUM_PREC_RADIX - The radix of the column.
+   * defined in <code>Types</code>.</li>
+   * <li>TYPE_NAME - The string name of the data type for this column.</li>
+   * <li>COLUMN_SIZE - The size of the column.</li>
+   * <li>Unused</li>
+   * <li>NUM_PREC_RADIX - The radix of the column.</li>
    * <li>NULLABLE - Whether or not the column is NULLABLE.  This is one of
    * the constants defined in this class (<code>tableNoNulls</code>,
-   * <code>tableNullable</code>, or <code>tableNullableUnknown</code>)
-   * <li>REMARKS - A description of the column.
-   * <li>COLUMN_DEF - The default value for the column, may be <code>null</code>.
-   * <li>SQL_DATA_TYPE - Unused
-   * <li>SQL_DATETIME_SUB - Unused
+   * <code>tableNullable</code>, or <code>tableNullableUnknown</code>)</li>
+   * <li>REMARKS - A description of the column.</li>
+   * <li>COLUMN_DEF - The default value for the column, may be <code>null</code>.</li>
+   * <li>SQL_DATA_TYPE - Unused</li>
+   * <li>SQL_DATETIME_SUB - Unused</li>
    * <li>CHAR_OCTET_LENGTH - For character columns, the maximum number of bytes
-   * in the column.
-   * <li>ORDINAL_POSITION - The index of the column in the table.
+   * in the column.</li>
+   * <li>ORDINAL_POSITION - The index of the column in the table.</li>
    * <li>IS_NULLABLE - "NO" means no, "YES" means maybe, and an empty string
-   * means unknown.
+   * means unknown.</li>
    * </ol>
    *
    * @param catalog The name of the catalog to return table from,
@@ -1548,19 +1548,19 @@ public interface DatabaseMetaData
    * This method returns the access rights that have been granted to the
    * requested columns.  This information is returned as a <code>ResultSet</code>
    * with the following columns:
-   * <p>
+   *
    * <ol>
    * <li>TABLE_CAT - The catalog the table is in, which may be 
-   * <code>null</code>.
+   * <code>null</code>.</li>
    * <li>TABLE_SCHEM - The schema the tables is in, which may be
-   * <code>null</code>.
-   * <li>TABLE_NAME - The name of the table.
-   * <li>COLUMN_NAME - The name of the column.
-   * <li>GRANTOR - The entity that granted the access.
-   * <li>GRANTEE - The entity granted the access.
-   * <li>PRIVILEGE - The name of the privilege granted.
+   * <code>null</code>.</li>
+   * <li>TABLE_NAME - The name of the table.</li>
+   * <li>COLUMN_NAME - The name of the column.</li>
+   * <li>GRANTOR - The entity that granted the access.</li>
+   * <li>GRANTEE - The entity granted the access.</li>
+   * <li>PRIVILEGE - The name of the privilege granted.</li>
    * <li>IS_GRANTABLE - "YES" if the grantee can grant the privilege to
-   * others, "NO" if not, and <code>null</code> if unknown.
+   * others, "NO" if not, and <code>null</code> if unknown.</li>
    * </ol>
    *
    * @param catalog The catalog to retrieve information from, or the empty string
@@ -1580,18 +1580,18 @@ public interface DatabaseMetaData
    * This method returns the access rights that have been granted to the
    * requested tables.  This information is returned as a <code>ResultSet</code>
    * with the following columns:
-   * <p>
+   *
    * <ol>
    * <li>TABLE_CAT - The catalog the table is in, which may be 
-   * <code>null</code>.
+   * <code>null</code>.</li>
    * <li>TABLE_SCHEM - The schema the tables is in, which may be
-   * <code>null</code>.
-   * <li>TABLE_NAME - The name of the table.
-   * <li>GRANTOR - The entity that granted the access.
-   * <li>GRANTEE - The entity granted the access.
-   * <li>PRIVILEGE - The name of the privilege granted.
+   * <code>null</code>.</li>
+   * <li>TABLE_NAME - The name of the table.</li>
+   * <li>GRANTOR - The entity that granted the access.</li>
+   * <li>GRANTEE - The entity granted the access.</li>
+   * <li>PRIVILEGE - The name of the privilege granted.</li>
    * <li>IS_GRANTABLE - "YES" if the grantee can grant the privilege to
-   * others, "NO" if not, and <code>null</code> if unknown.
+   * others, "NO" if not, and <code>null</code> if unknown.</li>
    * </ol>
    *
    * @param catalog The catalog to retrieve information from, or the empty string
@@ -1611,22 +1611,22 @@ public interface DatabaseMetaData
    * This method returns the best set of columns for uniquely identifying
    * a row.  It returns this information as a <code>ResultSet</code> with
    * the following columns:
-   * <p>
+   *
    * <ol>
    * <li>SCOPE - The scope of the results returned.  This is one of the 
    * constants defined in this class (<code>bestRowTemporary</code>,
-   * <code>bestRowTransaction</code>, or <code>bestRowSession</code>).
-   * <li>COLUMN_NAME - The name of the column.
+   * <code>bestRowTransaction</code>, or <code>bestRowSession</code>).</li>
+   * <li>COLUMN_NAME - The name of the column.</li>
    * <li>DATA_TYPE - The SQL type of the column. This is one of the constants
-   * defined in <code>Types</code>.
-   * <li>TYPE_NAME - The string name of the data type for this column.
-   * <li>COLUMN_SIZE - The precision of the columns
-   * <li>BUFFER_LENGTH - Unused
-   * <li>DECIMAL_DIGITS - The scale of the column.
+   * defined in <code>Types</code>.</li>
+   * <li>TYPE_NAME - The string name of the data type for this column.</li>
+   * <li>COLUMN_SIZE - The precision of the columns</li>
+   * <li>BUFFER_LENGTH - Unused</li>
+   * <li>DECIMAL_DIGITS - The scale of the column.</li>
    * <li>PSEUDO_COLUMN - Whether or not the best row identifier is a
    * pseudo_column.  This is one of the constants defined in this class 
    * (<code>bestRowUnknown</code>, <code>bestRowNotPseudo</code>, or
-   * <code>bestRowPseudo</code>).
+   * <code>bestRowPseudo</code>).</li>
    * </ol>
    *
    * @param catalog The catalog to retrieve information from, or the empty string
@@ -1649,20 +1649,20 @@ public interface DatabaseMetaData
    * This method returns the set of columns that are automatically updated
    * when the row is update. It returns this information as a 
    * <code>ResultSet</code> with the following columns:
-   * <p>
+   *
    * <ol>
-   * <li>SCOPE - Unused
-   * <li>COLUMN_NAME - The name of the column.
+   * <li>SCOPE - Unused</li>
+   * <li>COLUMN_NAME - The name of the column.</li>
    * <li>DATA_TYPE - The SQL type of the column. This is one of the constants
-   * defined in <code>Types</code>.
-   * <li>TYPE_NAME - The string name of the data type for this column.
-   * <li>COLUMN_SIZE - The precision of the columns
-   * <li>BUFFER_LENGTH - Unused
-   * <li>DECIMAL_DIGITS - The scale of the column.
+   * defined in <code>Types</code>.</li>
+   * <li>TYPE_NAME - The string name of the data type for this column.</li>
+   * <li>COLUMN_SIZE - The precision of the columns</li>
+   * <li>BUFFER_LENGTH - Unused</li>
+   * <li>DECIMAL_DIGITS - The scale of the column.</li>
    * <li>PSEUDO_COLUMN - Whether or not the best row identifier is a
    * pseudo_column.  This is one of the constants defined in this class 
    * (<code>versionRowUnknown</code>, <code>versionRowNotPseudo</code>, or
-   * <code>versionRowPseudo</code>).
+   * <code>versionRowPseudo</code>).</li>
    * </ol>
    *
    * @param catalog The catalog to retrieve information from, or the empty string
@@ -1681,14 +1681,14 @@ public interface DatabaseMetaData
   /**
    * This method returns a list of a table's primary key columns.  These
    * are returned as a <code>ResultSet</code> with the following columns.
-   * <p>
+   *
    * <ol>
-   * <li>TABLE_CAT - The catalog of the table, which may be <code>null</code>.
-   * <li>TABLE_SCHEM - The schema of the table, which may be <code>null</code>.
-   * <li>TABLE_NAME - The name of the table.
-   * <li>COLUMN_NAME - The name of the column.
-   * <li>KEY_SEQ - The sequence number of the column within the primary key.
-   * <li>PK_NAME - The name of the primary key, which may be <code>null</code>.
+   * <li>TABLE_CAT - The catalog of the table, which may be <code>null</code>.</li>
+   * <li>TABLE_SCHEM - The schema of the table, which may be <code>null</code>.</li>
+   * <li>TABLE_NAME - The name of the table.</li>
+   * <li>COLUMN_NAME - The name of the column.</li>
+   * <li>KEY_SEQ - The sequence number of the column within the primary key.</li>
+   * <li>PK_NAME - The name of the primary key, which may be <code>null</code>.</li>
    * </ol>
    *
    * @param catalog The catalog to retrieve information from, or the empty string
@@ -1707,32 +1707,32 @@ public interface DatabaseMetaData
   /**
    * This method returns a list of the table's foreign keys.  These are
    * returned as a <code>ResultSet</code> with the following columns:
-   * <p>
+   *
    * <ol>
-   * <li>PKTABLE_CAT - The catalog of the table the key was imported from.
-   * <li>PKTABLE_SCHEM - The schema of the table the key was imported from.
-   * <li>PKTABLE_NAME - The name of the table the key was imported from.
-   * <li>PKCOLUMN_NAME - The name of the column that was imported.
-   * <li>FKTABLE_CAT - The foreign key catalog name.
-   * <li>FKTABLE_SCHEM - The foreign key schema name.
-   * <li>FKTABLE_NAME - The foreign key table name.
-   * <li>FKCOLUMN_NAME - The foreign key column name.
-   * <li>KEY_SEQ - The sequence number of the column within the foreign key.
+   * <li>PKTABLE_CAT - The catalog of the table the key was imported from.</li>
+   * <li>PKTABLE_SCHEM - The schema of the table the key was imported from.</li>
+   * <li>PKTABLE_NAME - The name of the table the key was imported from.</li>
+   * <li>PKCOLUMN_NAME - The name of the column that was imported.</li>
+   * <li>FKTABLE_CAT - The foreign key catalog name.</li>
+   * <li>FKTABLE_SCHEM - The foreign key schema name.</li>
+   * <li>FKTABLE_NAME - The foreign key table name.</li>
+   * <li>FKCOLUMN_NAME - The foreign key column name.</li>
+   * <li>KEY_SEQ - The sequence number of the column within the foreign key.</li>
    * <li>UPDATE_RULE - How the foreign key behaves when the primary key is
    * updated.  This is one of the constants defined in this class 
    * (<code>importedNoAction</code>, <code>importedKeyCascade</code>,
    * <code>importedKeySetNull</code>, <code>importedKeySetDefault</code>, or
-   * <code>importedKeyRestrict</code>).
+   * <code>importedKeyRestrict</code>).</li>
    * <li>DELETE_RULE - How the foreign key behaves when the primary key is
    * deleted.  This is one of the constants defined in this class 
    * (<code>importedNoAction</code>, <code>importedKeyCascade</code>,
-   * <code>importedKeySetNull</code>, or <code>importedKeySetDefault</code>)
-   * <li>FK_NAME - The name of the foreign key.
-   * <li>PK_NAME - The name of the primary key.
+   * <code>importedKeySetNull</code>, or <code>importedKeySetDefault</code>)</li>
+   * <li>FK_NAME - The name of the foreign key.</li>
+   * <li>PK_NAME - The name of the primary key.</li>
    * <li>DEFERRABILITY - The deferrability value.  This is one of the
    * constants defined in this table (<code>importedKeyInitiallyDeferred</code>,
    * <code>importedKeyInitiallyImmediate</code>, or
-   * <code>importedKeyNotDeferrable</code>).
+   * <code>importedKeyNotDeferrable</code>).</li>
    * </ol>
    *
    * @param catalog The catalog to retrieve information from, or the empty string
@@ -1753,32 +1753,32 @@ public interface DatabaseMetaData
    * This method returns a list of the table's which use this table's
    * primary key as a foreign key.  The information is
    * returned as a <code>ResultSet</code> with the following columns:
-   * <p>
+   *
    * <ol>
-   * <li>PKTABLE_CAT - The catalog of the table the key was imported from.
-   * <li>PKTABLE_SCHEM - The schema of the table the key was imported from.
-   * <li>PKTABLE_NAME - The name of the table the key was imported from.
-   * <li>PKCOLUMN_NAME - The name of the column that was imported.
-   * <li>FKTABLE_CAT - The foreign key catalog name.
-   * <li>FKTABLE_SCHEM - The foreign key schema name.
-   * <li>FKTABLE_NAME - The foreign key table name.
-   * <li>FKCOLUMN_NAME - The foreign key column name.
-   * <li>KEY_SEQ - The sequence number of the column within the foreign key.
+   * <li>PKTABLE_CAT - The catalog of the table the key was imported from.</li>
+   * <li>PKTABLE_SCHEM - The schema of the table the key was imported from.</li>
+   * <li>PKTABLE_NAME - The name of the table the key was imported from.</li>
+   * <li>PKCOLUMN_NAME - The name of the column that was imported.</li>
+   * <li>FKTABLE_CAT - The foreign key catalog name.</li>
+   * <li>FKTABLE_SCHEM - The foreign key schema name.</li>
+   * <li>FKTABLE_NAME - The foreign key table name.</li>
+   * <li>FKCOLUMN_NAME - The foreign key column name.</li>
+   * <li>KEY_SEQ - The sequence number of the column within the foreign key.</li>
    * <li>UPDATE_RULE - How the foreign key behaves when the primary key is
    * updated.  This is one of the constants defined in this class 
    * (<code>importedNoAction</code>, <code>importedKeyCascade</code>,
    * <code>importedKeySetNull</code>, <code>importedKeySetDefault</code>, or
-   * <code>importedKeyRestrict</code>).
+   * <code>importedKeyRestrict</code>).</li>
    * <li>DELETE_RULE - How the foreign key behaves when the primary key is
    * deleted.  This is one of the constants defined in this class 
    * (<code>importedNoAction</code>, <code>importedKeyCascade</code>,
-   * <code>importedKeySetNull</code>, or <code>importedKeySetDefault</code>)
-   * <li>FK_NAME - The name of the foreign key.
-   * <li>PK_NAME - The name of the primary key.
+   * <code>importedKeySetNull</code>, or <code>importedKeySetDefault</code>)</li>
+   * <li>FK_NAME - The name of the foreign key.</li>
+   * <li>PK_NAME - The name of the primary key.</li>
    * <li>DEFERRABILITY - The deferrability value.  This is one of the
    * constants defined in this table (<code>importedKeyInitiallyDeferred</code>,
    * <code>importedKeyInitiallyImmediate</code>, or
-   * <code>importedKeyNotDeferrable</code>).
+   * <code>importedKeyNotDeferrable</code>).</li>
    * </ol>
    *
    * @param catalog The catalog to retrieve information from, or the empty string
@@ -1797,32 +1797,32 @@ public interface DatabaseMetaData
    * This method returns a description of how one table imports another
    * table's primary key as a foreign key.  The information is
    * returned as a <code>ResultSet</code> with the following columns:
-   * <p>
+   *
    * <ol>
-   * <li>PKTABLE_CAT - The catalog of the table the key was imported from.
-   * <li>PKTABLE_SCHEM - The schema of the table the key was imported from.
-   * <li>PKTABLE_NAME - The name of the table the key was imported from.
-   * <li>PKCOLUMN_NAME - The name of the column that was imported.
-   * <li>FKTABLE_CAT - The foreign key catalog name.
-   * <li>FKTABLE_SCHEM - The foreign key schema name.
-   * <li>FKTABLE_NAME - The foreign key table name.
-   * <li>FKCOLUMN_NAME - The foreign key column name.
-   * <li>KEY_SEQ - The sequence number of the column within the foreign key.
+   * <li>PKTABLE_CAT - The catalog of the table the key was imported from.</li>
+   * <li>PKTABLE_SCHEM - The schema of the table the key was imported from.</li>
+   * <li>PKTABLE_NAME - The name of the table the key was imported from.</li>
+   * <li>PKCOLUMN_NAME - The name of the column that was imported.</li>
+   * <li>FKTABLE_CAT - The foreign key catalog name.</li>
+   * <li>FKTABLE_SCHEM - The foreign key schema name.</li>
+   * <li>FKTABLE_NAME - The foreign key table name.</li>
+   * <li>FKCOLUMN_NAME - The foreign key column name.</li>
+   * <li>KEY_SEQ - The sequence number of the column within the foreign key.</li>
    * <li>UPDATE_RULE - How the foreign key behaves when the primary key is
    * updated.  This is one of the constants defined in this class 
    * (<code>importedNoAction</code>, <code>importedKeyCascade</code>,
    * <code>importedKeySetNull</code>, <code>importedKeySetDefault</code>, or
-   * <code>importedKeyRestrict</code>).
+   * <code>importedKeyRestrict</code>).</li>
    * <li>DELETE_RULE - How the foreign key behaves when the primary key is
    * deleted.  This is one of the constants defined in this class 
    * (<code>importedNoAction</code>, <code>importedKeyCascade</code>,
-   * <code>importedKeySetNull</code>, or <code>importedKeySetDefault</code>)
-   * <li>FK_NAME - The name of the foreign key.
-   * <li>PK_NAME - The name of the primary key.
+   * <code>importedKeySetNull</code>, or <code>importedKeySetDefault</code>)</li>
+   * <li>FK_NAME - The name of the foreign key.</li>
+   * <li>PK_NAME - The name of the primary key.</li>
    * <li>DEFERRABILITY - The deferrability value.  This is one of the
    * constants defined in this table (<code>importedKeyInitiallyDeferred</code>,
    * <code>importedKeyInitiallyImmediate</code>, or
-   * <code>importedKeyNotDeferrable</code>).
+   * <code>importedKeyNotDeferrable</code>).</li>
    * </ol>
    *
    * @param primCatalog The catalog to retrieve information from, or the empty string
@@ -1850,36 +1850,36 @@ public interface DatabaseMetaData
    * This method returns a list of the SQL types supported by this
    * database.  The information is returned as a <code>ResultSet</code>
    * with the following columns:
-   * <p>
+   *
    * <ol>
-   * <li>TYPE_NAME - The name of the data type.
+   * <li>TYPE_NAME - The name of the data type.</li>
    * <li>DATA_TYPE - A data type constant from <code>Types</code> for this
-   * type.
-   * <li>PRECISION - The maximum precision of this type.
+   * type.</li>
+   * <li>PRECISION - The maximum precision of this type.</li>
    * <li>LITERAL_PREFIX - Prefix value used to quote a literal, which may be
-   * <code>null</code>.
+   * <code>null</code>.</li>
    * <li>LITERAL_SUFFIX - Suffix value used to quote a literal, which may be
-   * <code>null</code>.
+   * <code>null</code>.</li>
    * <li>CREATE_PARAMS - The parameters used to create the type, which may be
-   * <code>null</code>.
+   * <code>null</code>.</li>
    * <li>NULLABLE - Whether or not this type supports NULL values.  This will
    * be one of the constants defined in this interface 
    * (<code>typeNoNulls</code>, <code>typeNullable</code>, or
-   * <code>typeNullableUnknown</code>).
-   * <li>CASE_SENSITIVE - Whether or not the value is case sensitive.
+   * <code>typeNullableUnknown</code>).</li>
+   * <li>CASE_SENSITIVE - Whether or not the value is case sensitive.</li>
    * <li>SEARCHABLE - Whether or not "LIKE" expressions are supported in
    * WHERE clauses for this type.  This will be one of the constants defined
    * in this interface (<code>typePredNone</code>, <code>typePredChar</code>,
-   * <code>typePredBasic</code>, or <code>typeSearchable</code>).
-   * <li>UNSIGNED_ATTRIBUTE - Is the value of this type unsigned.
-   * <li>FIXED_PREC_SCALE - Whether or not this type can be used for money.
-   * <li>AUTO_INCREMENT - Whether or not this type supports auto-incrementing.
-   * <li>LOCAL_TYPE_NAME - A localized name for this data type.
-   * <li>MINIMUM_SCALE - The minimum scale supported by this type.
-   * <li>MAXIMUM_SCALE - The maximum scale supported by this type.
-   * <li>SQL_DATA_TYPE - Unused.
-   * <li>SQL_DATETIME_SUB - Unused.
-   * <li>NUM_PREC_RADIX - The radix of this data type.
+   * <code>typePredBasic</code>, or <code>typeSearchable</code>).</li>
+   * <li>UNSIGNED_ATTRIBUTE - Is the value of this type unsigned.</li>
+   * <li>FIXED_PREC_SCALE - Whether or not this type can be used for money.</li>
+   * <li>AUTO_INCREMENT - Whether or not this type supports auto-incrementing.</li>
+   * <li>LOCAL_TYPE_NAME - A localized name for this data type.</li>
+   * <li>MINIMUM_SCALE - The minimum scale supported by this type.</li>
+   * <li>MAXIMUM_SCALE - The maximum scale supported by this type.</li>
+   * <li>SQL_DATA_TYPE - Unused.</li>
+   * <li>SQL_DATETIME_SUB - Unused.</li>
+   * <li>NUM_PREC_RADIX - The radix of this data type.</li>
    * </ol>
    * 
    * @return A <code>ResultSet</code> with the list of available data types.
@@ -1890,30 +1890,30 @@ public interface DatabaseMetaData
   /**
    * This method returns information about a tables indices and statistics.
    * It is returned as a <code>ResultSet</code> with the following columns:
-   * <p>
+   *
    * <ol>
-   * <li>TABLE_CAT - The catalog of the table, which may be <code>null</code>.
-   * <li>TABLE_SCHEM - The schema of the table, which may be <code>null</code>.
-   * <li>TABLE_NAME - The name of the table.
-   * <li>NON_UNIQUE - Are index values non-unique?
-   * <li>INDEX_QUALIFIER The index catalog, which may be <code>null</code>
-   * <li>INDEX_NAME - The name of the index.
+   * <li>TABLE_CAT - The catalog of the table, which may be <code>null</code>.</li>
+   * <li>TABLE_SCHEM - The schema of the table, which may be <code>null</code>.</li>
+   * <li>TABLE_NAME - The name of the table.</li>
+   * <li>NON_UNIQUE - Are index values non-unique?</li>
+   * <li>INDEX_QUALIFIER The index catalog, which may be <code>null</code></li>
+   * <li>INDEX_NAME - The name of the index.</li>
    * <li>TYPE - The type of index, which will be one of the constants defined
    * in this interface (<code>tableIndexStatistic</code>,
    * <code>tableIndexClustered</code>, <code>tableIndexHashed</code>, or
-   * <code>tableIndexOther</code>).
+   * <code>tableIndexOther</code>).</li>
    * <li>ORDINAL_POSITION - The sequence number of this column in the index.
-   * This will be 0 when the index type is <code>tableIndexStatistic</code>.
-   * <li>COLUMN_NAME - The name of this column in the index.
+   * This will be 0 when the index type is <code>tableIndexStatistic</code>.</li>
+   * <li>COLUMN_NAME - The name of this column in the index.</li>
    * <li>ASC_OR_DESC - "A" for an ascending sort sequence, "D" for a
    * descending sort sequence or <code>null</code> if a sort sequence is not
-   * supported.
+   * supported.</li>
    * <li>CARDINALITY - The number of unique rows in the index, or the number
-   * of rows in the table if the index type is <code>tableIndexStatistic</code>.
+   * of rows in the table if the index type is <code>tableIndexStatistic</code>.</li>
    * <li>PAGES - The number of pages used for the index, or the number of pages
-   * in the table if the index type is <code>tableIndexStatistic</code>.
+   * in the table if the index type is <code>tableIndexStatistic</code>.</li>
    * <li>FILTER_CONDITION - The filter condition for this index, which may be
-   * <code>null</code>.
+   * <code>null</code>.</li>
    * </ol>
    *
    * @param catalog The catalog to retrieve information from, or the empty string
@@ -2093,16 +2093,16 @@ public interface DatabaseMetaData
   /**
    * This method returns the list of user defined data types in use.  These
    * are returned as a <code>ResultSet</code> with the following columns:
-   * <p>
+   *
    * <ol>
-   * <li>TYPE_CAT - The catalog name, which may be <code>null</code>.
-   * <li>TYPE_SCEHM - The schema name, which may be <code>null</code>.
-   * <li>TYPE_NAME - The user defined data type name.
-   * <li>CLASS_NAME - The Java class name this type maps to.
+   * <li>TYPE_CAT - The catalog name, which may be <code>null</code>.</li>
+   * <li>TYPE_SCEHM - The schema name, which may be <code>null</code>.</li>
+   * <li>TYPE_NAME - The user defined data type name.</li>
+   * <li>CLASS_NAME - The Java class name this type maps to.</li>
    * <li>DATA_TYPE - A type identifier from <code>Types</code> for this type.
    * This will be one of <code>JAVA_OBJECT</code>, <code>STRUCT</code>, or
-   * <code>DISTINCT</code>.
-   * <li>REMARKS - Comments about this data type.
+   * <code>DISTINCT</code>.</li>
+   * <li>REMARKS - Comments about this data type.</li>
    * </ol>
    *
    * @param catalog The catalog to retrieve information from, or the empty string
index 46a6c65c3f705627a8b7ef06c9587a707b02c29e..bbc2bae137d1ef90e2d8617dd8d752745274e1fe 100644 (file)
@@ -48,14 +48,14 @@ import java.util.Map;
 /**
  * This interface provides access to the data set returned by a SQL
  * statement.  An instance of this interface is returned by the various
- * execution methods in the <code>Statement</code.
- * <p>
- * This class models a cursor, which can be stepped through one row at a
+ * execution methods in the <code>Statement</code>.
+ *
+ * <p> This class models a cursor, which can be stepped through one row at a
  * time.  Methods are provided for accessing columns by column name or by
- * index.
- * <p>
- * Note that a result set is invalidated if the statement that returned
- * it is closed.
+ * index.</p>
+ *
+ * <p> Note that a result set is invalidated if the statement that returned
+ * it is closed.</p>
  *
  * @author Aaron M. Renn (arenn@urbanophile.com)
  */
index f7bdde1e294401509eb8517b51d6f9a05b8801a1..f23bd128a5e6750650fad145f890e79cd8bf8927 100644 (file)
@@ -45,7 +45,7 @@ import java.util.Vector;
  * To use this class, first specify two lists of formats and range terminators.
  * These lists must be arrays of equal length.  The format of index 
  * <code>i</code> will be selected for value <code>X</code> if 
- * <code>terminator[i] <= X < limit[i + 1]</code>.  If the value X is not
+ * <code>terminator[i] &lt;= X &lt; limit[i + 1]</code>.  If the value X is not
  * included in any range, then either the first or last format will be 
  * used depending on whether the value X falls outside the range.
  * <p>
@@ -196,10 +196,10 @@ public class ChoiceFormat extends NumberFormat
    * This method tests this object for equality with the specified 
    * object.  This will be true if and only if:
    * <ul>
-   * <li>The specified object is not <code>null</code>.
-   * <li>The specified object is an instance of <code>ChoiceFormat</code>.
+   * <li>The specified object is not <code>null</code>.</li>
+   * <li>The specified object is an instance of <code>ChoiceFormat</code>.</li>
    * <li>The termination ranges and format strings are identical to
-   *     this object's. 
+   *     this object's. </li>
    * </ul>
    *
    * @param obj The object to test for equality against.
index 691d943d21b50585f16a4a07ad01b7dac517e7f8..2377a09548bc0f27e483ada40e52b90acc68f28e 100644 (file)
@@ -129,7 +129,7 @@ public final class CollationElementIterator
 
   /**
    * This method resets the internal position pointer to read from the
-   * beginning of the <code>String again.
+   * beginning of the <code>String</code> again.
    */
   public void reset()
   {
index 8859b320463259490be23f5ec3bf42c88bfe240c..abc28b22ebb411176f6e7370129c4c99ef7d20f7 100644 (file)
@@ -140,12 +140,12 @@ public final class CollationKey implements Comparable
    * this object.  This will be true if and only if:
    * <p>
    * <ul>
-   * <li>The specified object must not be <code>null</code>
-   * <li>The specified object is an instance of <code>CollationKey</code>.
+   * <li>The specified object must not be <code>null</code></li>
+   * <li>The specified object is an instance of <code>CollationKey</code>.</li>
    * <li>The specified object was created from the same <code>Collator</code>
-   * as this object.
+   * as this object.</li>
    * <li>The specified object has the same source string and bit key as
-   * this object.
+   * this object.</li>
    * </ul>
    *
    * @param obj The <code>Object</code> to test for equality.
index bb5a3449139e5d3602898bc9bcb45ddef7f3d5ab..907057eb0f9b44a67f8fc2149b4e68bb4f7e81f5 100644 (file)
@@ -183,10 +183,10 @@ public abstract class Collator implements Comparator, Cloneable
    * object.  This will be true if and only if the following conditions are
    * met:
    * <ul>
-   * <li>The specified object is not <code>null</code>.
-   * <li>The specified object is an instance of <code>Collator</code>.
+   * <li>The specified object is not <code>null</code>.</li>
+   * <li>The specified object is an instance of <code>Collator</code>.</li>
    * <li>The specified object has the same strength and decomposition
-   * settings as this object.
+   * settings as this object.</li>
    * </ul>
    *
    * @param obj The <code>Object</code> to test for equality against
index 745a16b3ec284bab7862af0bdb61568747291354..0947b8058adb064c221cf1d5c532ad501a9c2f02 100644 (file)
@@ -196,9 +196,9 @@ public abstract class DateFormat extends Format implements Cloneable
    * object:
    * <P>
    * <ul>
-   * <li>Is not <code>null</code>.
-   * <li>Is an instance of <code>DateFormat</code>.
-   * <li>Has the same numberFormat field value as this object.
+   * <li>Is not <code>null</code>.</li>
+   * <li>Is an instance of <code>DateFormat</code>.</li>
+   * <li>Has the same numberFormat field value as this object.</li>
    * </ul>
    *
    * @param obj The object to test for equality against.
index 526f7120bcc54443d33cb9d9225a923ad16d6b65..33a541bd1b7c5d89ca6e27c98c8c537e53b7437d 100644 (file)
@@ -245,11 +245,12 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable
    * the array contains five values:
    * <P>
    * <ul>
-   * <li>0 - The non-localized time zone id string.
-   * <li>1 - The long name of the time zone (standard time).
-   * <li>2 - The short name of the time zone (standard time).
-   * <li>3 - The long name of the time zone (daylight savings time).
-   * <li>4 - the short name of the time zone (daylight savings time).
+   * <li>0 - The non-localized time zone id string.</li>
+   * <li>1 - The long name of the time zone (standard time).</li>
+   * <li>2 - The short name of the time zone (standard time).</li>
+   * <li>3 - The long name of the time zone (daylight savings time).</li>
+   * <li>4 - the short name of the time zone (daylight savings time).</li>
+   * </ul>
    *
    * @return The list of time zone display strings.
    */
@@ -386,11 +387,12 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable
    * the array contains five values:
    * <P>
    * <ul>
-   * <li>0 - The non-localized time zone id string.
-   * <li>1 - The long name of the time zone (standard time).
-   * <li>2 - The short name of the time zone (standard time).
-   * <li>3 - The long name of the time zone (daylight savings time).
-   * <li>4 - the short name of the time zone (daylight savings time).
+   * <li>0 - The non-localized time zone id string.</li>
+   * <li>1 - The long name of the time zone (standard time).</li>
+   * <li>2 - The short name of the time zone (standard time).</li>
+   * <li>3 - The long name of the time zone (daylight savings time).</li>
+   * <li>4 - the short name of the time zone (daylight savings time).</li>
+   * </ul>
    *
    * @return The list of time zone display strings.
    */
@@ -438,15 +440,15 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable
    * This will be true if and only if the specified object:
    * <p>
    * <ul>
-   * <li> Is not <code>null</code>.
-   * <li> Is an instance of <code>DateFormatSymbols</code>.
-   * <li> Contains identical formatting symbols to this object.
+   * <li> Is not <code>null</code>.</li>
+   * <li> Is an instance of <code>DateFormatSymbols</code>.</li>
+   * <li> Contains identical formatting symbols to this object.</li>
    * </ul>
    * 
    * @param obj The <code>Object</code> to test for equality against.
    *
    * @return <code>true</code> if the specified object is equal to this one,
-   * </code>false</code> otherwise.
+   * <code>false</code> otherwise.
    */
   public boolean equals (Object obj)
   {
index 268fe2cf987350158b31b973446b4d0ca086dfa7..35e75311eb09354d126a89ca5dbe8cb1a7239b53 100644 (file)
@@ -167,9 +167,9 @@ public final class DecimalFormatSymbols implements Cloneable, Serializable
    * regard to the specified object:
    * <p>
    * <ul>
-   * <li>It is not <code>null</code>.
-   * <li>It is an instance of <code>DecimalFormatSymbols</code>
-   * <li>All of its symbols are identical to the symbols in this object.
+   * <li>It is not <code>null</code>.</li>
+   * <li>It is an instance of <code>DecimalFormatSymbols</code>.</li>
+   * <li>All of its symbols are identical to the symbols in this object.</li>
    * </ul>
    *
    * @return <code>true</code> if the specified object is equal to this
index f64951bb94c157cde92de6f2be02fa1d7bfdc30e..d3b7fccce01d6865c881427607d3273883d1304d 100644 (file)
@@ -123,7 +123,7 @@ public abstract class Format implements Serializable, Cloneable
    * This method parses a <code>String</code> and converts the parsed 
    * contents into an <code>Object</code>.
    *
-   * @param str The <code>String to parse.
+   * @param str The <code>String</code> to parse.
    *
    * @return The resulting <code>Object</code>.
    *
index 83e92689fd5719db0ecdfc397586b3422dee53e2..c6dffed8f59740306967594b25aa7f8a0a3d30fd 100644 (file)
@@ -116,10 +116,10 @@ public class ParsePosition
    * all of the following conditions are met.
    * <p>
    * <ul>
-   * <li>The specified object is not <code>null</code>.
-   * <li>The specified object is an instance of <code>ParsePosition</code>.
+   * <li>The specified object is not <code>null</code>.</li>
+   * <li>The specified object is an instance of <code>ParsePosition</code>.</li>
    * <li>The specified object has the same index and error index as
-   *     this object.  
+   *     this object.</li>
    * </ul>
    *
    * @param obj The <code>Object</code> to test for equality against
index 5b1dc0cfbede7fb5fef4241281479f29d199bc6a..1c1feab4e3c5cf3f9192f9e33a66216ee70bf58b 100644 (file)
@@ -56,9 +56,9 @@ import java.util.Vector;
  * <p>
  * Rules take the form of a <code>String</code> with the following syntax
  * <ul>
- * <li> Modifier: '@' 
- * <li> Relation: '&lt;' | ';' | ',' | '=' : <text>
- * <li> Reset: '&amp;' : <text>
+ * <li> Modifier: '@'</li>
+ * <li> Relation: '&lt;' | ';' | ',' | '=' : &lt;text&gt;</li>
+ * <li> Reset: '&amp;' : &lt;text&gt;</li>
  * </ul>
  * The modifier character indicates that accents sort backward as is the
  * case with French.  The modifier applies to all rules <b>after</b>
@@ -69,12 +69,12 @@ import java.util.Vector;
  * the following meanings:
  * <ul>
  * <li>'&lt;' - The text argument is greater than the prior term at the primary
- * difference level.
+ * difference level.</li>
  * <li>';' - The text argument is greater than the prior term at the secondary
- * difference level.
+ * difference level.</li>
  * <li>',' - The text argument is greater than the prior term at the tertiary
- * difference level.
- * <li>'=' - The text argument is equal to the prior term
+ * difference level.</li>
+ * <li>'=' - The text argument is equal to the prior term</li>
  * </ul>
  * <p>
  * As for the text argument itself, this is any sequence of Unicode
@@ -131,15 +131,15 @@ import java.util.Vector;
  * A <code>ParseException</code> will be thrown for any of the following
  * conditions:
  * <ul>
- * <li>Unquoted punctuation characters in a text argument.
- * <li>A relational or reset operator not followed by a text argument
+ * <li>Unquoted punctuation characters in a text argument.</li>
+ * <li>A relational or reset operator not followed by a text argument</li>
  * <li>A reset operator where the text argument is not present in
- * the previous rule string section.
+ * the previous rule string section.</li>
  * </ul>
  *
- * @author Aaron M. Renn <arenn@urbanophile.com>
- * @author Tom Tromey <tromey@cygnus.com>
- * @author Guilhem Lavaux <guilhem@kaffe.org>
+ * @author Aaron M. Renn (arenn@urbanophile.com)
+ * @author Tom Tromey (tromey@cygnus.com)
+ * @author Guilhem Lavaux (guilhem@kaffe.org)
  */
 public class RuleBasedCollator extends Collator
 {
index 89f84dde5c6a00596426e38f7ca00d1edd4cfa19..69ce391db8d19e09e32847b649811e067350478e 100644 (file)
@@ -358,13 +358,13 @@ public class SimpleDateFormat extends DateFormat
    * object.  This will be true if and only if the specified object:
    * <p>
    * <ul>
-   * <li>Is not <code>null</code>.
-   * <li>Is an instance of <code>SimpleDateFormat</code>.
+   * <li>Is not <code>null</code>.</li>
+   * <li>Is an instance of <code>SimpleDateFormat</code>.</li>
    * <li>Is equal to this object at the superclass (i.e., <code>DateFormat</code>)
-   *     level.
-   * <li>Has the same formatting pattern.
-   * <li>Is using the same formatting symbols.
-   * <li>Is using the same century for two digit years.
+   *     level.</li>
+   * <li>Has the same formatting pattern.</li>
+   * <li>Is using the same formatting symbols.</li>
+   * <li>Is using the same century for two digit years.</li>
    * </ul>
    *
    * @param obj The object to compare for equality against.
index 7b7f46e7f598cf30dd06e8ae2e9c376bdd376536..44bac6b74a3cee5e1ed21cea260c2504dd575dd7 100644 (file)
@@ -314,10 +314,10 @@ public final class StringCharacterIterator implements CharacterIterator
    * object.  This will be true if and only if the specified object:
    * <p>
    * <ul>
-   * <li>is not <code>null</code>.
-   * <li>is an instance of <code>StringCharacterIterator</code>
-   * <li>has the same text as this object
-   * <li>has the same beginning, ending, and current index as this object.
+   * <li>is not <code>null</code>.</li>
+   * <li>is an instance of <code>StringCharacterIterator</code></li>
+   * <li>has the same text as this object</li>
+   * <li>has the same beginning, ending, and current index as this object.</li>
    * </ul>
    *
    * @param obj The object to test for equality against.
index 815afccc80721c4224625a9aec3e1ca98a572f47..7e5ac6ec2c119dd0f5ce80c1b79a4b83f29e066f 100644 (file)
@@ -54,7 +54,7 @@ import java.io.Serializable;
  * are not required, to throw the {@link UnsupportedOperationException} that
  * the underlying collection would throw during an attempt at modification.
  * For example,
- * <code>Collections.singleton("").addAll(Collections.EMPTY_SET)<code>
+ * <code>Collections.singleton("").addAll(Collections.EMPTY_SET)</code>
  * does not throw a exception, even though addAll is an unsupported operation
  * on a singleton; the reason for this is that addAll did not attempt to
  * modify the set.
index d873e134e627a84d6ddf46921fb2b6b7418736e9..9d556f2e4b67bb315a948b716134ef4de24ac24e 100644 (file)
@@ -54,7 +54,7 @@ import java.io.InputStream;
  *
  * If there is also a class for this resource and the same locale, the
  * class will be chosen. The properties file should have the name of the
- * resource bundle, appended with the locale (e.g. <code>_de</code) and the
+ * resource bundle, appended with the locale (e.g. <code>_de</code> and the
  * extension <code>.properties</code>. The file should have the same format
  * as for <code>Properties.load()</code>
  *
index 7a4a282e773e5da5bf5ecec830ab66a811cbbce7..6663bd4533ee6f6b0b0068fd0aeeab156aa65e6e 100644 (file)
@@ -51,7 +51,7 @@ import gnu.classpath.Configuration;
  * <code>getObject</code> or <code>getString</code> on that bundle.
  *
  * <p>When a bundle is demanded for a specific locale, the ResourceBundle
- * is searched in following order (<i>def. language<i> stands for the
+ * is searched in following order (<i>def. language</i> stands for the
  * two letter ISO language code of the default locale (see
  * <code>Locale.getDefault()</code>).
  *
@@ -251,18 +251,22 @@ public abstract class ResourceBundle
    *
    * <p>A sequence of candidate bundle names are generated, and tested in
    * this order, where the suffix 1 means the string from the specified
-   * locale, and the suffix 2 means the string from the default locale:<ul>
+   * locale, and the suffix 2 means the string from the default locale:</p>
+   *
+   * <ul>
    * <li>baseName + "_" + language1 + "_" + country1 + "_" + variant1</li>
    * <li>baseName + "_" + language1 + "_" + country1</li>
    * <li>baseName + "_" + language1</li>
    * <li>baseName + "_" + language2 + "_" + country2 + "_" + variant2</li>
    * <li>baseName + "_" + language2 + "_" + country2</li>
-   * <li>baseName + "_" + language2<li>
+   * <li>baseName + "_" + language2</li>
    * <li>baseName</li>
    * </ul>
    *
    * <p>In the sequence, entries with an empty string are ignored. Next,
-   * <code>getBundle</code> tries to instantiate the resource bundle:<ul>
+   * <code>getBundle</code> tries to instantiate the resource bundle:</p>
+   *
+   * <ul>
    * <li>First, an attempt is made to load a class in the specified classloader
    * which is a subclass of ResourceBundle, and which has a public constructor
    * with no arguments, via reflection.</li>
@@ -277,7 +281,7 @@ public abstract class ResourceBundle
    * in the above sequence are tested in a similar manner, and if any results
    * in a resource bundle, it is assigned as the parent of the first bundle
    * using the <code>setParent</code> method (unless the first bundle already
-   * has a parent).
+   * has a parent).</p>
    *
    * <p>For example, suppose the following class and property files are
    * provided: MyResources.class, MyResources_fr_CH.properties,
@@ -286,10 +290,12 @@ public abstract class ResourceBundle
    * all files are valid (that is, public non-abstract subclasses of
    * ResourceBundle with public nullary constructors for the ".class" files,
    * syntactically correct ".properties" files). The default locale is
-   * Locale("en", "UK").
+   * Locale("en", "UK").</p>
    *
    * <p>Calling getBundle with the shown locale argument values instantiates
-   * resource bundles from the following sources:<ul>
+   * resource bundles from the following sources:</p>
+   *
+   * <ul>
    * <li>Locale("fr", "CH"): result MyResources_fr_CH.class, parent
    *   MyResources_fr.properties, parent MyResources.class</li>
    * <li>Locale("fr", "FR"): result MyResources_fr.properties, parent
@@ -301,8 +307,9 @@ public abstract class ResourceBundle
    * <li>Locale("es", "ES"): result MyResources_es_ES.class, parent
    *   MyResources.class</li>
    * </ul>
-   * The file MyResources_fr_CH.properties is never used because it is hidden
-   * by MyResources_fr_CH.class.
+   * 
+   * <p>The file MyResources_fr_CH.properties is never used because it is hidden
+   * by MyResources_fr_CH.class.</p>
    *
    * @param baseName the name of the ResourceBundle
    * @param locale A locale
index e7fc6fd00d2bd0e84b1a2570d6cf5140d001b9b4..472d8951e5d31e5abebdc44f58842be93042d230 100644 (file)
@@ -196,7 +196,7 @@ public class StringTokenizer implements Enumeration
 
   /**
    * This does the same as hasMoreTokens. This is the
-   * <code>Enumeration</code interface method.
+   * <code>Enumeration</code> interface method.
    *
    * @return true, if the next call of nextElement() will succeed
    * @see #hasMoreTokens()
@@ -208,7 +208,7 @@ public class StringTokenizer implements Enumeration
 
   /**
    * This does the same as nextTokens. This is the
-   * <code>Enumeration</code interface method.
+   * <code>Enumeration</code> interface method.
    *
    * @return the next token with respect to the current delimiter characters
    * @throws NoSuchElementException if there are no more tokens
index ea203446eaa6973b9c4613e5f688bd6ce3f91037..06dc4f89fc56611c392d83cb0d7f6160ea4fdef9 100644 (file)
@@ -85,17 +85,18 @@ public class Attributes implements Cloneable, Map
    * attributes, applet attributes, extension identification attributes,
    * package versioning and sealing attributes, file contents attributes,
    * bean objects attribute and signing attributes. See the 
-   * <p>
-   * The characters of a Name must obey the following restrictions:
+   * 
+   * <p>The characters of a Name must obey the following restrictions:</p>
+   * 
    * <ul>
-   * <li> Must contain at least one character
-   * <li> The first character must be alphanumeric (a-z, A-Z, 0-9)
-   * <li> All other characters must be alphanumeric, a '-' or a '_'
+   * <li>Must contain at least one character</li>
+   * <li>The first character must be alphanumeric (a-z, A-Z, 0-9)</li>
+   * <li>All other characters must be alphanumeric, a '-' or a '_'</li>
    * </ul>
-   * <p>
-   * When comparing Names (with <code>equals</code>) all characters are
+   * 
+   * <p>When comparing Names (with <code>equals</code>) all characters are
    * converted to lowercase. But you can get the original case sensitive
-   * string with the <code>toString()</code> method.
+   * string with the <code>toString()</code> method.</p>
    *
    * @since 1.2
    * @author Mark Wielaard (mark@klomp.org)
@@ -145,15 +146,15 @@ public class Attributes implements Cloneable, Map
      * Manifest manifest file with the following Names:
      * <ul>
      * <li> &lt;extension&gt;-Extension-Name:
-     * unique name of the extension
+     * unique name of the extension</li>
      * <li> &lt;extension&gt;-Specification-Version:
-     * minimum specification version
+     * minimum specification version</li>
      * <li> &lt;extension&gt;-Implementation-Version:
-     * minimum implementation version
+     * minimum implementation version</li>
      * <li> &lt;extension&gt;-Implementation-Vendor-Id:
-     * unique id of implementation vendor
+     * unique id of implementation vendor</li>
      * <li> &lt;extension&gt;-Implementation-URL:
-     * where the latest version of the extension library can be found
+     * where the latest version of the extension library can be found</li>
      * </ul>
      */
     public static final Name EXTENSION_LIST = new Name("Extension-List");
index dd519b682f4217baab3a4543d8159dd2490707d7..6d79c1dbfca326060b03334edc47c53f0fd67bf5 100644 (file)
@@ -67,7 +67,7 @@ package java.util.logging;
  *
  * <li><code>java.util.logging.ConsoleHandler.encoding</code> - specifies
  *     the name of the character encoding. Default value:
- *     the default platform encoding.
+ *     the default platform encoding.</li>
  *
  * </ul>
  *
index 36216bc408bd1ccdaab6e73a679aef23a1b0804e..24757089410f746341abcdea9e2a92b6d35d0140 100644 (file)
@@ -67,13 +67,12 @@ import java.lang.ref.WeakReference;
  * <code>java.util.logging.LogManager</code> is initialized.
  * The configuration process includes the subsequent steps:
  *
- * <ol>
+ * <ul>
  * <li>If the system property <code>java.util.logging.manager</code>
  *     is set to the name of a subclass of
  *     <code>java.util.logging.LogManager</code>, an instance of
  *     that subclass is created and becomes the global LogManager.
  *     Otherwise, a new instance of LogManager is created.</li>
- *     
  * <li>The <code>LogManager</code> constructor tries to create
  *     a new instance of the class specified by the system
  *     property <code>java.util.logging.config.class</code>.
@@ -91,14 +90,13 @@ import java.lang.ref.WeakReference;
  *     {@link #readConfiguration(java.io.InputStream)}.
  *     The name and location of this file are specified by the system
  *     property <code>java.util.logging.config.file</code>.</li>
- *
  * <li>If the system property <code>java.util.logging.config.file</code>
  *     is not set, however, the contents of the URL
  *     "{gnu.classpath.home.url}/logging.properties" are passed to
  *     {@link #readConfiguration(java.io.InputStream)}.
  *     Here, "{gnu.classpath.home.url}" stands for the value of
  *     the system property <code>gnu.classpath.home.url</code>.</li>
- * </ol>
+ * </ul>
  *
  * @author Sascha Brawer (brawer@acm.org)
  */
@@ -259,10 +257,10 @@ public class LogManager
    *
    * @param logger the logger to be added.
    *
-   * @return <code>true<code>if <code>logger</code> was added,
+   * @return <code>true</code>if <code>logger</code> was added,
    *         <code>false</code> otherwise.
    *
-   * @throws NullPointerException if <code>name<code> is
+   * @throws NullPointerException if <code>name</code> is
    *         <code>null</code>.
    */
   public synchronized boolean addLogger(Logger logger)
index 825a6fa86d648cb934c93c338db2baa6cfd2a34e..3c18b527d18c7b32bcaeb2c04128833550ae303d 100644 (file)
@@ -35,10 +35,7 @@ module.  An independent module is a module which is not derived from
 or based on this library.  If you modify this library, you may extend
 this exception to your version of the library, but you are not
 obligated to do so.  If you do not wish to do so, delete this
-exception statement from your version.
-
-*/
-
+exception statement from your version. */
 
 package java.util.logging;
 
@@ -53,28 +50,22 @@ package java.util.logging;
  * value, a default is taken without an exception being thrown.
  *
  * <ul>
- *
  * <li><code>java.util.MemoryHandler.level</code> - specifies
  *     the initial severity level threshold. Default value:
  *     <code>Level.ALL</code>.</li>
- *
  * <li><code>java.util.MemoryHandler.filter</code> - specifies
  *     the name of a Filter class. Default value: No Filter.</li>
- *
  * <li><code>java.util.MemoryHandler.size</code> - specifies the
  *     maximum number of log records that are kept in the circular
  *     buffer.  Default value: 1000.</li>
- *
  * <li><code>java.util.MemoryHandler.push</code> - specifies the
  *     <code>pushLevel</code>. Default value:
  *     <code>Level.SEVERE</code>.</li>
- *
  * <li><code>java.util.MemoryHandler.target</code> - specifies the
  *     name of a subclass of {@link Handler} that will be used as the
  *     target handler.  There is no default value for this property;
  *     if it is not set, the no-argument MemoryHandler constructor
  *     will throw an exception.</li>
- *
  * </ul>
  *
  * @author Sascha Brawer (brawer@acm.org)
index d9939a0f780abd168eb940f1358dcf88ae292fb0..d4fc6e603c1e69cc7542fa7c02848740249e171d 100644 (file)
@@ -68,7 +68,7 @@ package java.util.logging;
  *
  * <li><code>java.util.SocketHandler.encoding</code> - specifies
  *     the name of the character encoding. Default value:
- *     the default platform encoding.
+ *     the default platform encoding.</li>
  *
  * <li><code>java.util.SocketHandler.host</code> - specifies
  *     the name of the host to which records are published.
index 0cb2d5547cd243b6c949fed8327234ba2ef0a2d0..e0aef0a5e2f490ce173a173f36194d13d4a16f53 100644 (file)
@@ -93,7 +93,7 @@ public class NamingException extends Exception
   /**
    * Creates a new NamingException without a message. Does not set any of the
    * <code>rootException</code>, <code>resolvedName</code>,
-   * <code>resolvedObj</code> or <code>remainingObject,<code> fields.
+   * <code>resolvedObj</code> or <code>remainingObject</code> fields.
    * These fields can be set later.
    */
   public NamingException ()
@@ -104,7 +104,7 @@ public class NamingException extends Exception
   /**
    * Creates a new NamingException with a detailed message. Does not set
    * the <code>rootException</code>, <code>resolvedName</code>,
-   * <code>resolvedObj</code> or <code>remainingObject,<code> fields.
+   * <code>resolvedObj</code> or <code>remainingObject,</code> fields.
    * These fields can be set later.
    */
   public NamingException (String msg)