From a17c9f2ea1ecec71169eff40c591ca3bf8307a32 Mon Sep 17 00:00:00 2001
From: Michael Koch In case the client does not explicitly initialize the
* A transparent parameter specification is obtained from an
- *
+/**
* 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
+ *
+ *
+ *
* @param name the service name and location
* @return Remote-object that implements the named service
* @throws NotBoundException if no object implements the service
diff --git a/libjava/java/rmi/RemoteException.java b/libjava/java/rmi/RemoteException.java
index 17e38b30bd7..b28f0709099 100644
--- a/libjava/java/rmi/RemoteException.java
+++ b/libjava/java/rmi/RemoteException.java
@@ -99,7 +99,7 @@ public class RemoteException extends IOException
* This method returns a message indicating what went wrong, in this
* format:
*
+ * //host:port/service-name
+ *
*
* The port is optional.
- * super.getMessage() + (detail == null ? ""
- * : "; nested exception is:\n\t" + detail).
+ * : "; nested exception is:\n\t" + detail).
*
* @return the chained message
*/
diff --git a/libjava/java/rmi/activation/ActivationException.java b/libjava/java/rmi/activation/ActivationException.java
index a1ac7bd6a28..a335142ce47 100644
--- a/libjava/java/rmi/activation/ActivationException.java
+++ b/libjava/java/rmi/activation/ActivationException.java
@@ -94,7 +94,7 @@ public class ActivationException extends Exception
* This method returns a message indicating what went wrong, in this
* format:
* super.getMessage() + (detail == null ? ""
- * : "; nested exception is:\n\t" + detail).
+ * : "; nested exception is:\n\t" + detail).
*
* @return the chained message
*/
diff --git a/libjava/java/rmi/server/ServerCloneException.java b/libjava/java/rmi/server/ServerCloneException.java
index faf43c8e29c..3334c8d95b2 100644
--- a/libjava/java/rmi/server/ServerCloneException.java
+++ b/libjava/java/rmi/server/ServerCloneException.java
@@ -89,7 +89,7 @@ public class ServerCloneException extends CloneNotSupportedException
* This method returns a message indicating what went wrong, in this
* format:
* super.getMessage() + (detail == null ? ""
- * : "; nested exception is:\n\t" + detail) object via a call to
+ * .
+ * : "; nested exception is:\n\t" + detail).
*
* @return the chained message
*/
diff --git a/libjava/java/security/AccessController.java b/libjava/java/security/AccessController.java
index 41ca1cec5fb..66aed9e3898 100644
--- a/libjava/java/security/AccessController.java
+++ b/libjava/java/security/AccessController.java
@@ -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 PrivilegedAction whose run()
* should be be called.
- * @returns the result of the action.run() method.
+ * @return the result of the action.run() method.
*/
public static Object doPrivileged(PrivilegedAction action)
{
@@ -110,7 +110,7 @@ public final class AccessController
* should be be called.
* @param context the AccessControlContext whose protection
* domains should be added to the protection domain of the calling class.
- * @returns the result of the action.run() method.
+ * @return the result of the action.run() method.
*/
public static Object doPrivileged(PrivilegedAction action,
AccessControlContext context)
@@ -130,7 +130,7 @@ public final class AccessController
*
* @param action the PrivilegedExceptionAction whose
* run() should be be called.
- * @returns the result of the action.run() method.
+ * @return the result of the action.run() method.
* @exception PrivilegedActionException wrapped around any exception that
* is thrown in the run() method.
*/
@@ -162,7 +162,7 @@ public final class AccessController
* run() should be be called.
* @param context the AccessControlContext whose protection
* domains should be added to the protection domain of the calling class.
- * @returns the result of the action.run() method.
+ * @return the result of the action.run() method.
* @exception PrivilegedActionException wrapped around any exception that
* is thrown in the run() method.
*/
diff --git a/libjava/java/security/AlgorithmParameterGenerator.java b/libjava/java/security/AlgorithmParameterGenerator.java
index 26a7790d37a..034302504f0 100644
--- a/libjava/java/security/AlgorithmParameterGenerator.java
+++ b/libjava/java/security/AlgorithmParameterGenerator.java
@@ -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.
- *
+ *
*
* AlgorithmParameterGenerator (via a call to an init()
diff --git a/libjava/java/security/AlgorithmParameters.java b/libjava/java/security/AlgorithmParameters.java
index 07d76bb7bab..86298b9ea93 100644
--- a/libjava/java/security/AlgorithmParameters.java
+++ b/libjava/java/security/AlgorithmParameters.java
@@ -71,7 +71,7 @@ import gnu.java.security.Engine;
* parameter specification or parameter encoding.AlgorithmParameters object via a call to
* getParameterSpec(), and a byte encoding of the parameters is
* obtained via a call to getEncoded().
null.null location, then
- * the following addtional tests must be passed.null
* location.For example, each of these locations imply the location - * "http://java.sun.com/classes/foo.jar":
* http:
* http://*.sun.com/classes/*
* http://java.sun.com/classes/-
* http://java.sun.com/classes/foo.jar
*
- * Note that the code source with null location and null certificates implies
- * all other code sources.
+ *
+ * Note that the code source with null location and null certificates implies + * all other code sources.
* * @param cs theCodeSource to test against this object
* @return true if this specified CodeSource is implied
@@ -245,7 +252,7 @@ public class CodeSource implements Serializable
/**
* This method returns a String that represents this object.
* The result is in the format "(" + getLocation() followed
- * by a space separated list of certificates (or "")".
*
* @return a String for this object
diff --git a/libjava/java/security/Identity.java b/libjava/java/security/Identity.java
index 57ccc83e056..2e9ddea1a29 100644
--- a/libjava/java/security/Identity.java
+++ b/libjava/java/security/Identity.java
@@ -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
- * checkSecurityAccess() method doesn't allow setting the public
+ * checkSecurityAccess() method doesn't allow setting the public
* key.
* @see #getPublicKey()
* @see SecurityManager#checkSecurityAccess(String)
diff --git a/libjava/java/security/IdentityScope.java b/libjava/java/security/IdentityScope.java
index 88e00fc81c0..5965a00a122 100644
--- a/libjava/java/security/IdentityScope.java
+++ b/libjava/java/security/IdentityScope.java
@@ -123,7 +123,7 @@ public abstract class IdentityScope extends Identity
}
/**
- * Sets the system's identity scope.
+ * Sets the system's identity scope.
*
* First, if there is a security manager, its checkSecurityAccess()
* method is called with "setSystemScope" 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
- * checkSecurityAccess() method doesn't allow setting the
+ * checkSecurityAccess() method doesn't allow setting the
* identity scope.
* @see #getSystemScope()
* @see SecurityManager#checkSecurityAccess(String)
diff --git a/libjava/java/security/KeyPairGenerator.java b/libjava/java/security/KeyPairGenerator.java
index b9b07852aa4..9a3a04d4ef8 100644
--- a/libjava/java/security/KeyPairGenerator.java
+++ b/libjava/java/security/KeyPairGenerator.java
@@ -56,43 +56,42 @@ import gnu.java.security.Engine;
* two is the initialization of the object:
*
*
- * - Algorithm-Independent Initialization
- * All key pair generators share the concepts of a keysize and a
- * source of randomness. The keysize is interpreted differently
- * for different algorithms (e.g., in the case of the DSA algorithm,
- * the keysize corresponds to the length of the modulus). There is an
- * initialize() method in this KeyPairGenerator
- * class that takes these two universally shared types of arguments. There
- * is also one that takes just a keysize argument, and 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.)
+ * - Algorithm-Independent Initialization
+ * All key pair generators share the concepts of a keysize and a
+ * source of randomness. The keysize is interpreted differently
+ * for different algorithms (e.g., in the case of the DSA algorithm,
+ * the keysize corresponds to the length of the modulus). There is an
+ * initialize() method in this KeyPairGenerator
+ * class that takes these two universally shared types of arguments. There
+ * is also one that takes just a keysize argument, and 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.)
*
- * 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.
+ * 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.
*
- * If the algorithm is the DSA algorithm, and the keysize
- * (modulus size) is 512, 768, or 1024,
- * then the GNU provider uses a set of precomputed values for the
- * p, q, and g parameters. If the
- * modulus size is not one of the above values, the GNU
- * 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.
- *
- * - Algorithm-Specific Initialization
- * For situations where a set of algorithm-specific parameters already
- * exists (e.g., so-called community parameters in DSA), 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.)
+ * If the algorithm is the DSA algorithm, and the keysize
+ * (modulus size) is 512, 768, or 1024,
+ * then the GNU provider uses a set of precomputed values for the
+ * p, q, and g parameters. If the
+ * modulus size is not one of the above values, the GNU
+ * 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.
+ * - Algorithm-Specific Initialization
+ * For situations where a set of algorithm-specific parameters already
+ * exists (e.g., so-called community parameters in DSA), 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.)
*
*
* In case the client does not explicitly initialize the
diff --git a/libjava/java/security/KeyStore.java b/libjava/java/security/KeyStore.java
index 5f0c159d7d2..4ca16a2290e 100644
--- a/libjava/java/security/KeyStore.java
+++ b/libjava/java/security/KeyStore.java
@@ -208,7 +208,7 @@ public class KeyStore
/**
* Returns the default KeyStore type. This method looks up the
- * type in /lib/security/java.security with the
+ * type in <JAVA_HOME>/lib/security/java.security with the
* property "keystore.type" or if that fails then "jks" .
*/
public static final String getDefaultType()
diff --git a/libjava/java/security/Security.java b/libjava/java/security/Security.java
index ef716150ab4..d7edf20656f 100644
--- a/libjava/java/security/Security.java
+++ b/libjava/java/security/Security.java
@@ -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
*/
-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
diff --git a/libjava/java/security/Signature.java b/libjava/java/security/Signature.java
index 1e99a7bb3e0..bf614e388b3 100644
--- a/libjava/java/security/Signature.java
+++ b/libjava/java/security/Signature.java
@@ -83,20 +83,20 @@ import gnu.java.security.Engine;
* either signing data or verifying a signature:
*
*
- * - Initialization, with either
- *
- * - a public key, which initializes the signature for verification
- * (see
initVerify()), or
- * - 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)}
- * ).
- *
- * - Updating
- * Depending on the type of initialization, this will update the bytes to
- * be signed or verified. See the update methods.
- * - Signing or Verifying a signature on all updated bytes. See the
- *
sign() methods and the verify() method.
+ * - Initialization, with either
+ *
+ * - a public key, which initializes the signature for verification
+ * (see
initVerify()), or
+ * - 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)}
+ * ).
+ *
+ * - Updating
+ * Depending on the type of initialization, this will update the bytes to
+ * be signed or verified. See the update methods.
+ * - Signing or Verifying a signature on all updated bytes. See the
+ *
sign() methods and the verify() method.
*
*
* 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
+ * @author Mark Benvenuto (ivymccough@worldnet.att.net)
*/
public abstract class Signature extends SignatureSpi
{
diff --git a/libjava/java/security/SignatureSpi.java b/libjava/java/security/SignatureSpi.java
index 7deafd6b041..bf2382d8e40 100644
--- a/libjava/java/security/SignatureSpi.java
+++ b/libjava/java/security/SignatureSpi.java
@@ -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 null
* if there is none.
- * @throws InvalidParameterException if param is an invalid
+ * @throws InvalidParameterException if param is an invalid
* parameter for this engine, or another exception occurs while trying to get
* this parameter.
* @deprecated
diff --git a/libjava/java/security/SignedObject.java b/libjava/java/security/SignedObject.java
index 270936ba686..0d9f733e70d 100644
--- a/libjava/java/security/SignedObject.java
+++ b/libjava/java/security/SignedObject.java
@@ -98,7 +98,7 @@ import java.io.Serializable;
* The signature algorithm can be, among others, the NIST standard DSS,
* using DSA and SHA-1. The algorithm is specified using the same
* convention as that for signatures. The DSA algorithm using the
- * SHA-1 message digest algorithm can be specified, for example, as
+ * SHA-1 message digest algorithm can be specified, for example, as
* "SHA/DSA" or "SHA-1/DSA" (they are equivalent). In
* the case of RSA, there are multiple choices for the message digest
* algorithm, so the signing algorithm could be specified as, for example,
diff --git a/libjava/java/security/spec/DSAParameterSpec.java b/libjava/java/security/spec/DSAParameterSpec.java
index fa0ebce7a7a..5c7911f7420 100644
--- a/libjava/java/security/spec/DSAParameterSpec.java
+++ b/libjava/java/security/spec/DSAParameterSpec.java
@@ -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;
diff --git a/libjava/java/security/spec/DSAPrivateKeySpec.java b/libjava/java/security/spec/DSAPrivateKeySpec.java
index b4025d61cb3..c148481ca50 100644
--- a/libjava/java/security/spec/DSAPrivateKeySpec.java
+++ b/libjava/java/security/spec/DSAPrivateKeySpec.java
@@ -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;
diff --git a/libjava/java/security/spec/DSAPublicKeySpec.java b/libjava/java/security/spec/DSAPublicKeySpec.java
index ef73371188a..687f8dd10fd 100644
--- a/libjava/java/security/spec/DSAPublicKeySpec.java
+++ b/libjava/java/security/spec/DSAPublicKeySpec.java
@@ -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;
diff --git a/libjava/java/sql/Array.java b/libjava/java/sql/Array.java
index 0bb84cbe3d1..3246c86f8e8 100644
--- a/libjava/java/sql/Array.java
+++ b/libjava/java/sql/Array.java
@@ -165,13 +165,13 @@ public interface Array
/**
* This method returns a portion of the array as a ResultSet.
* The returned portion will start at index into the
- * array and up to count
elements will be returned.
- *
- * Each row of the result set will have two columns. The first will be
+ * array and up to count elements will be returned.
+ *
+ *
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 Map
* will be used to override selected default mappings of SQL types to
- * Java classes.
+ * Java classes.
*
* @param offset The index into the array to start returning elements from.
* @param length The requested number of elements to return.
diff --git a/libjava/java/sql/DatabaseMetaData.java b/libjava/java/sql/DatabaseMetaData.java
index d3cfd7c2e54..cd20691b7d7 100644
--- a/libjava/java/sql/DatabaseMetaData.java
+++ b/libjava/java/sql/DatabaseMetaData.java
@@ -412,7 +412,7 @@ public interface DatabaseMetaData
* each table.
*
* @return true if the database uses a separate file for each
- * table
false otherwise.
+ * table false 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 true if the database treats all identifiers as
- * upper case, false otherwise.
+ * @return true if the database treats all identifiers as
+ * upper case, false 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 true if the database treats all identifiers as
- * lower case, false otherwise.
+ * @return true if the database treats all identifiers as
+ * lower case, false 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 true if the database treats all quoted identifiers
- * as upper case, false otherwise.
+ * @return true if the database treats all quoted identifiers
+ * as upper case, false 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 true if the database treats all quoted identifiers
- * as lower case, false otherwise.
+ * @return true if the database treats all quoted identifiers
+ * as lower case, false otherwise.
* @exception SQLException If an error occurs.
*/
boolean storesLowerCaseQuotedIdentifiers() throws SQLException;
@@ -1377,18 +1377,18 @@ public interface DatabaseMetaData
* *
null.
+ * null.null.
- * null.procedureResultUnknown, procedureNoResult, or
- * procedureReturnsResult).
+ * procedureReturnsResult).*
null.
+ * null.null.
- * null.procedureColumnUnknown,
* procedureColumnIn, procedureColumnInOut,
* procedureColumnOut, procedureColumnReturn,
- * or procedureColumnResult).
+ * or procedureColumnResult).Types.
- * Types.procedureNoNulls,
- * procedureNullable, or procedureNullableUnknown)
- * procedureNullable, or procedureNullableUnknown)ResultSet with the following columns:
- * + * *
null.
- * null.
- * null.null.getTableTypes() method.
- * getTableTypes() method.*
null.
+ * null.null.
- * null.Types.
- * Types.tableNoNulls,
- * tableNullable, or tableNullableUnknown)
- * null.
- * tableNullable, or tableNullableUnknown)null.ResultSet
* with the following columns:
- * + * *
null.
+ * null.null.
- * null.null if unknown.
+ * others, "NO" if not, and null if unknown.ResultSet
* with the following columns:
- * + * *
null.
+ * null.null.
- * null.null if unknown.
+ * others, "NO" if not, and null if unknown.ResultSet with
* the following columns:
- * + * *
bestRowTemporary,
- * bestRowTransaction, or bestRowSession).
- * bestRowTransaction, or bestRowSession).Types.
- * Types.bestRowUnknown, bestRowNotPseudo, or
- * bestRowPseudo).
+ * bestRowPseudo).ResultSet with the following columns:
- * + * *
Types.
- * Types.versionRowUnknown, versionRowNotPseudo, or
- * versionRowPseudo).
+ * versionRowPseudo).ResultSet with the following columns.
- * + * *
null.
- * null.
- * null.
+ * null.null.null.ResultSet with the following columns:
- * + * *
importedNoAction, importedKeyCascade,
* importedKeySetNull, importedKeySetDefault, or
- * importedKeyRestrict).
+ * importedKeyRestrict).importedNoAction, importedKeyCascade,
- * importedKeySetNull, or importedKeySetDefault)
- * importedKeySetNull, or importedKeySetDefault)importedKeyInitiallyDeferred,
* importedKeyInitiallyImmediate, or
- * importedKeyNotDeferrable).
+ * importedKeyNotDeferrable).ResultSet with the following columns:
- * + * *
importedNoAction, importedKeyCascade,
* importedKeySetNull, importedKeySetDefault, or
- * importedKeyRestrict).
+ * importedKeyRestrict).importedNoAction, importedKeyCascade,
- * importedKeySetNull, or importedKeySetDefault)
- * importedKeySetNull, or importedKeySetDefault)importedKeyInitiallyDeferred,
* importedKeyInitiallyImmediate, or
- * importedKeyNotDeferrable).
+ * importedKeyNotDeferrable).ResultSet with the following columns:
- * + * *
importedNoAction, importedKeyCascade,
* importedKeySetNull, importedKeySetDefault, or
- * importedKeyRestrict).
+ * importedKeyRestrict).importedNoAction, importedKeyCascade,
- * importedKeySetNull, or importedKeySetDefault)
- * importedKeySetNull, or importedKeySetDefault)importedKeyInitiallyDeferred,
* importedKeyInitiallyImmediate, or
- * importedKeyNotDeferrable).
+ * importedKeyNotDeferrable).ResultSet
* with the following columns:
- * + * *
Types for this
- * type.
- * null.
+ * null.null.
+ * null.null.
+ * null.typeNoNulls, typeNullable, or
- * typeNullableUnknown).
- * typeNullableUnknown).typePredNone, typePredChar,
- * typePredBasic, or typeSearchable).
- * typePredBasic, or typeSearchable).ResultSet 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 ResultSet with the following columns:
- * + * *
null.
- * null.
- * null
- * null.null.nulltableIndexStatistic,
* tableIndexClustered, tableIndexHashed, or
- * tableIndexOther).
+ * tableIndexOther).tableIndexStatistic.
- * tableIndexStatistic.null if a sort sequence is not
- * supported.
+ * supported.tableIndexStatistic.
+ * of rows in the table if the index type is tableIndexStatistic.tableIndexStatistic.
+ * in the table if the index type is tableIndexStatistic.null.
+ * null.ResultSet with the following columns:
- * + * *
null.
- * null.
- * null.null.Types for this type.
* This will be one of JAVA_OBJECT, STRUCT, or
- * DISTINCT.
- * DISTINCT.Statement
- * This class models a cursor, which can be stepped through one row at a
+ * execution methods in the Statement.
+ *
+ * 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.
- *
- * Note that a result set is invalidated if the statement that returned
- * it is closed.
+ * index.
+ *
+ * Note that a result set is invalidated if the statement that returned
+ * it is closed.
*
* @author Aaron M. Renn (arenn@urbanophile.com)
*/
diff --git a/libjava/java/text/ChoiceFormat.java b/libjava/java/text/ChoiceFormat.java
index f7bdde1e294..f23bd128a5e 100644
--- a/libjava/java/text/ChoiceFormat.java
+++ b/libjava/java/text/ChoiceFormat.java
@@ -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
* i will be selected for value X if
- * terminator[i] <= X < limit[i + 1]. If the value X is not
+ * terminator[i] <= X < limit[i + 1]. 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.
*
@@ -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:
*
- * - The specified object is not
null.
- * - The specified object is an instance of
ChoiceFormat.
+ * - The specified object is not
null.
+ * - The specified object is an instance of
ChoiceFormat.
* - The termination ranges and format strings are identical to
- * this object's.
+ * this object's.
*
*
* @param obj The object to test for equality against.
diff --git a/libjava/java/text/CollationElementIterator.java b/libjava/java/text/CollationElementIterator.java
index 691d943d21b..2377a09548b 100644
--- a/libjava/java/text/CollationElementIterator.java
+++ b/libjava/java/text/CollationElementIterator.java
@@ -129,7 +129,7 @@ public final class CollationElementIterator
/**
* This method resets the internal position pointer to read from the
- * beginning of the String again.
+ * beginning of the String again.
*/
public void reset()
{
diff --git a/libjava/java/text/CollationKey.java b/libjava/java/text/CollationKey.java
index 8859b320463..abc28b22ebb 100644
--- a/libjava/java/text/CollationKey.java
+++ b/libjava/java/text/CollationKey.java
@@ -140,12 +140,12 @@ public final class CollationKey implements Comparable
* this object. This will be true if and only if:
*
*
- * - The specified object must not be
null
- * - The specified object is an instance of
CollationKey.
+ * - The specified object must not be
null
+ * - The specified object is an instance of
CollationKey.
* - The specified object was created from the same
Collator
- * as this object.
+ * as this object.
* - The specified object has the same source string and bit key as
- * this object.
+ * this object.
*
*
* @param obj The Object to test for equality.
diff --git a/libjava/java/text/Collator.java b/libjava/java/text/Collator.java
index bb5a3449139..907057eb0f9 100644
--- a/libjava/java/text/Collator.java
+++ b/libjava/java/text/Collator.java
@@ -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:
*
- * - The specified object is not
null.
- * - The specified object is an instance of
Collator.
+ * - The specified object is not
null.
+ * - The specified object is an instance of
Collator.
* - The specified object has the same strength and decomposition
- * settings as this object.
+ * settings as this object.
*
*
* @param obj The Object to test for equality against
diff --git a/libjava/java/text/DateFormat.java b/libjava/java/text/DateFormat.java
index 745a16b3ec2..0947b8058ad 100644
--- a/libjava/java/text/DateFormat.java
+++ b/libjava/java/text/DateFormat.java
@@ -196,9 +196,9 @@ public abstract class DateFormat extends Format implements Cloneable
* object:
*
*
- * - Is not
null.
- * - Is an instance of
DateFormat.
- * - Has the same numberFormat field value as this object.
+ *
- Is not
null.
+ * - Is an instance of
DateFormat.
+ * - Has the same numberFormat field value as this object.
*
*
* @param obj The object to test for equality against.
diff --git a/libjava/java/text/DateFormatSymbols.java b/libjava/java/text/DateFormatSymbols.java
index 526f7120bcc..33a541bd1b7 100644
--- a/libjava/java/text/DateFormatSymbols.java
+++ b/libjava/java/text/DateFormatSymbols.java
@@ -245,11 +245,12 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable
* the array contains five values:
*
*
- * - 0 - The non-localized time zone id string.
- *
- 1 - The long name of the time zone (standard time).
- *
- 2 - The short name of the time zone (standard time).
- *
- 3 - The long name of the time zone (daylight savings time).
- *
- 4 - the short name of the time zone (daylight savings time).
+ *
- 0 - The non-localized time zone id string.
+ * - 1 - The long name of the time zone (standard time).
+ * - 2 - The short name of the time zone (standard time).
+ * - 3 - The long name of the time zone (daylight savings time).
+ * - 4 - the short name of the time zone (daylight savings time).
+ *
*
* @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:
*
*
- * - 0 - The non-localized time zone id string.
- *
- 1 - The long name of the time zone (standard time).
- *
- 2 - The short name of the time zone (standard time).
- *
- 3 - The long name of the time zone (daylight savings time).
- *
- 4 - the short name of the time zone (daylight savings time).
+ *
- 0 - The non-localized time zone id string.
+ * - 1 - The long name of the time zone (standard time).
+ * - 2 - The short name of the time zone (standard time).
+ * - 3 - The long name of the time zone (daylight savings time).
+ * - 4 - the short name of the time zone (daylight savings time).
+ *
*
* @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:
*
*
- * - Is not
null.
- * - Is an instance of
DateFormatSymbols.
- * - Contains identical formatting symbols to this object.
+ *
- Is not
null.
+ * - Is an instance of
DateFormatSymbols.
+ * - Contains identical formatting symbols to this object.
*
*
* @param obj The Object to test for equality against.
*
* @return true if the specified object is equal to this one,
- * false otherwise.
+ * false otherwise.
*/
public boolean equals (Object obj)
{
diff --git a/libjava/java/text/DecimalFormatSymbols.java b/libjava/java/text/DecimalFormatSymbols.java
index 268fe2cf987..35e75311eb0 100644
--- a/libjava/java/text/DecimalFormatSymbols.java
+++ b/libjava/java/text/DecimalFormatSymbols.java
@@ -167,9 +167,9 @@ public final class DecimalFormatSymbols implements Cloneable, Serializable
* regard to the specified object:
* *
null.
- * DecimalFormatSymbols
- * null.DecimalFormatSymbols.true if the specified object is equal to this
diff --git a/libjava/java/text/Format.java b/libjava/java/text/Format.java
index f64951bb94c..d3b7fccce01 100644
--- a/libjava/java/text/Format.java
+++ b/libjava/java/text/Format.java
@@ -123,7 +123,7 @@ public abstract class Format implements Serializable, Cloneable
* This method parses a String and converts the parsed
* contents into an Object.
*
- * @param str The String to parse.
+ * @param str The String to parse.
*
* @return The resulting Object.
*
diff --git a/libjava/java/text/ParsePosition.java b/libjava/java/text/ParsePosition.java
index 83e92689fd5..c6dffed8f59 100644
--- a/libjava/java/text/ParsePosition.java
+++ b/libjava/java/text/ParsePosition.java
@@ -116,10 +116,10 @@ public class ParsePosition
* all of the following conditions are met.
*
*
- * - The specified object is not
null.
- * - The specified object is an instance of
ParsePosition.
+ * - The specified object is not
null.
+ * - The specified object is an instance of
ParsePosition.
* - The specified object has the same index and error index as
- * this object.
+ * this object.
*
*
* @param obj The Object to test for equality against
diff --git a/libjava/java/text/RuleBasedCollator.java b/libjava/java/text/RuleBasedCollator.java
index 5b1dc0cfbed..1c1feab4e3c 100644
--- a/libjava/java/text/RuleBasedCollator.java
+++ b/libjava/java/text/RuleBasedCollator.java
@@ -56,9 +56,9 @@ import java.util.Vector;
*
* Rules take the form of a String with the following syntax
*
- * - Modifier: '@'
- *
- Relation: '<' | ';' | ',' | '=' :
- * - Reset: '&' :
+ * - Modifier: '@'
+ * - Relation: '<' | ';' | ',' | '=' : <text>
+ * - Reset: '&' : <text>
*
* The modifier character indicates that accents sort backward as is the
* case with French. The modifier applies to all rules after
@@ -69,12 +69,12 @@ import java.util.Vector;
* the following meanings:
*
* - '<' - The text argument is greater than the prior term at the primary
- * difference level.
+ * difference level.
* - ';' - The text argument is greater than the prior term at the secondary
- * difference level.
+ * difference level.
* - ',' - The text argument is greater than the prior term at the tertiary
- * difference level.
- *
- '=' - The text argument is equal to the prior term
+ * difference level.
+ * - '=' - The text argument is equal to the prior term
*
*
* As for the text argument itself, this is any sequence of Unicode
@@ -131,15 +131,15 @@ import java.util.Vector;
* A ParseException will be thrown for any of the following
* conditions:
*
- * - Unquoted punctuation characters in a text argument.
- *
- A relational or reset operator not followed by a text argument
+ *
- Unquoted punctuation characters in a text argument.
+ * - A relational or reset operator not followed by a text argument
* - A reset operator where the text argument is not present in
- * the previous rule string section.
+ * the previous rule string section.
*
*
- * @author Aaron M. Renn
- * @author Tom Tromey
- * @author Guilhem Lavaux
+ * @author Aaron M. Renn (arenn@urbanophile.com)
+ * @author Tom Tromey (tromey@cygnus.com)
+ * @author Guilhem Lavaux (guilhem@kaffe.org)
*/
public class RuleBasedCollator extends Collator
{
diff --git a/libjava/java/text/SimpleDateFormat.java b/libjava/java/text/SimpleDateFormat.java
index 89f84dde5c6..69ce391db8d 100644
--- a/libjava/java/text/SimpleDateFormat.java
+++ b/libjava/java/text/SimpleDateFormat.java
@@ -358,13 +358,13 @@ public class SimpleDateFormat extends DateFormat
* object. This will be true if and only if the specified object:
*
*
- * - Is not
null.
- * - Is an instance of
SimpleDateFormat.
+ * - Is not
null.
+ * - Is an instance of
SimpleDateFormat.
* - Is equal to this object at the superclass (i.e.,
DateFormat)
- * level.
- * - Has the same formatting pattern.
- *
- Is using the same formatting symbols.
- *
- Is using the same century for two digit years.
+ * level.
+ * - Has the same formatting pattern.
+ * - Is using the same formatting symbols.
+ * - Is using the same century for two digit years.
*
*
* @param obj The object to compare for equality against.
diff --git a/libjava/java/text/StringCharacterIterator.java b/libjava/java/text/StringCharacterIterator.java
index 7b7f46e7f59..44bac6b74a3 100644
--- a/libjava/java/text/StringCharacterIterator.java
+++ b/libjava/java/text/StringCharacterIterator.java
@@ -314,10 +314,10 @@ public final class StringCharacterIterator implements CharacterIterator
* object. This will be true if and only if the specified object:
*
*
- * - is not
null.
- * - is an instance of
StringCharacterIterator
- * - has the same text as this object
- *
- has the same beginning, ending, and current index as this object.
+ *
- is not
null.
+ * - is an instance of
StringCharacterIterator
+ * - has the same text as this object
+ * - has the same beginning, ending, and current index as this object.
*
*
* @param obj The object to test for equality against.
diff --git a/libjava/java/util/Collections.java b/libjava/java/util/Collections.java
index 815afccc807..7e5ac6ec2c1 100644
--- a/libjava/java/util/Collections.java
+++ b/libjava/java/util/Collections.java
@@ -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,
- * Collections.singleton("").addAll(Collections.EMPTY_SET)
+ * Collections.singleton("").addAll(Collections.EMPTY_SET)
* 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.
diff --git a/libjava/java/util/PropertyResourceBundle.java b/libjava/java/util/PropertyResourceBundle.java
index d873e134e62..9d556f2e4b6 100644
--- a/libjava/java/util/PropertyResourceBundle.java
+++ b/libjava/java/util/PropertyResourceBundle.java
@@ -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. _de_de and the
* extension .properties. The file should have the same format
* as for Properties.load()
*
diff --git a/libjava/java/util/ResourceBundle.java b/libjava/java/util/ResourceBundle.java
index 7a4a282e773..6663bd4533e 100644
--- a/libjava/java/util/ResourceBundle.java
+++ b/libjava/java/util/ResourceBundle.java
@@ -51,7 +51,7 @@ import gnu.classpath.Configuration;
* getObject or getString on that bundle.
*
* When a bundle is demanded for a specific locale, the ResourceBundle
- * is searched in following order (def. language stands for the
+ * is searched in following order (def. language stands for the
* two letter ISO language code of the default locale (see
* Locale.getDefault()).
*
@@ -251,18 +251,22 @@ public abstract class ResourceBundle
*
*
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:
+ * locale, and the suffix 2 means the string from the default locale:
+ *
+ *
* - baseName + "_" + language1 + "_" + country1 + "_" + variant1
* - baseName + "_" + language1 + "_" + country1
* - baseName + "_" + language1
* - baseName + "_" + language2 + "_" + country2 + "_" + variant2
* - baseName + "_" + language2 + "_" + country2
- * - baseName + "_" + language2
-
+ *
- baseName + "_" + language2
* - baseName
*
*
* In the sequence, entries with an empty string are ignored. Next,
- * getBundle tries to instantiate the resource bundle:
+ * getBundle tries to instantiate the resource bundle:
+ *
+ *
* - 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.
@@ -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 setParent method (unless the first bundle already
- * has a parent).
+ * has a parent).
*
* 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").
*
* Calling getBundle with the shown locale argument values instantiates
- * resource bundles from the following sources:
+ * resource bundles from the following sources:
+ *
+ *
* - Locale("fr", "CH"): result MyResources_fr_CH.class, parent
* MyResources_fr.properties, parent MyResources.class
* - Locale("fr", "FR"): result MyResources_fr.properties, parent
@@ -301,8 +307,9 @@ public abstract class ResourceBundle
*
- Locale("es", "ES"): result MyResources_es_ES.class, parent
* MyResources.class
*
- * The file MyResources_fr_CH.properties is never used because it is hidden
- * by MyResources_fr_CH.class.
+ *
+ * The file MyResources_fr_CH.properties is never used because it is hidden
+ * by MyResources_fr_CH.class.
*
* @param baseName the name of the ResourceBundle
* @param locale A locale
diff --git a/libjava/java/util/StringTokenizer.java b/libjava/java/util/StringTokenizer.java
index e7fc6fd00d2..472d8951e5d 100644
--- a/libjava/java/util/StringTokenizer.java
+++ b/libjava/java/util/StringTokenizer.java
@@ -196,7 +196,7 @@ public class StringTokenizer implements Enumeration
/**
* This does the same as hasMoreTokens. This is the
- * EnumerationEnumeration
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
- * EnumerationEnumeration interface method.
*
* @return the next token with respect to the current delimiter characters
* @throws NoSuchElementException if there are no more tokens
diff --git a/libjava/java/util/jar/Attributes.java b/libjava/java/util/jar/Attributes.java
index ea203446eaa..06dc4f89fc5 100644
--- a/libjava/java/util/jar/Attributes.java
+++ b/libjava/java/util/jar/Attributes.java
@@ -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
- * - * The characters of a Name must obey the following restrictions: + * + *
The characters of a Name must obey the following restrictions:
+ * *
- * When comparing Names (with equals) all characters are
+ *
+ *
When comparing Names (with equals) all characters are
* converted to lowercase. But you can get the original case sensitive
- * string with the toString() method.
+ * string with the toString() method.
java.util.logging.ConsoleHandler.encoding - specifies
* the name of the character encoding. Default value:
- * the default platform encoding.
+ * the default platform encoding.java.util.logging.LogManager is initialized.
* The configuration process includes the subsequent steps:
*
- * java.util.logging.manager
* is set to the name of a subclass of
* java.util.logging.LogManager, an instance of
* that subclass is created and becomes the global LogManager.
* Otherwise, a new instance of LogManager is created.LogManager constructor tries to create
* a new instance of the class specified by the system
* property java.util.logging.config.class.
@@ -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 java.util.logging.config.file.java.util.logging.config.file
* 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 gnu.classpath.home.url.trueif logger was added,
+ * @return trueif logger was added,
* false otherwise.
*
- * @throws NullPointerException if name is
+ * @throws NullPointerException if name is
* null.
*/
public synchronized boolean addLogger(Logger logger)
diff --git a/libjava/java/util/logging/MemoryHandler.java b/libjava/java/util/logging/MemoryHandler.java
index 825a6fa86d6..3c18b527d18 100644
--- a/libjava/java/util/logging/MemoryHandler.java
+++ b/libjava/java/util/logging/MemoryHandler.java
@@ -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.
*
*
- *
* java.util.MemoryHandler.level - specifies
* the initial severity level threshold. Default value:
* Level.ALL.
- *
* java.util.MemoryHandler.filter - specifies
* the name of a Filter class. Default value: No Filter.
- *
* java.util.MemoryHandler.size - specifies the
* maximum number of log records that are kept in the circular
* buffer. Default value: 1000.
- *
* java.util.MemoryHandler.push - specifies the
* pushLevel. Default value:
* Level.SEVERE.
- *
* java.util.MemoryHandler.target - 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.
- *
*
*
* @author Sascha Brawer (brawer@acm.org)
diff --git a/libjava/java/util/logging/SocketHandler.java b/libjava/java/util/logging/SocketHandler.java
index d9939a0f780..d4fc6e603c1 100644
--- a/libjava/java/util/logging/SocketHandler.java
+++ b/libjava/java/util/logging/SocketHandler.java
@@ -68,7 +68,7 @@ package java.util.logging;
*
* java.util.SocketHandler.encoding - specifies
* the name of the character encoding. Default value:
- * the default platform encoding.
+ * the default platform encoding.
*
* java.util.SocketHandler.host - specifies
* the name of the host to which records are published.
diff --git a/libjava/javax/naming/NamingException.java b/libjava/javax/naming/NamingException.java
index 0cb2d5547cd..e0aef0a5e2f 100644
--- a/libjava/javax/naming/NamingException.java
+++ b/libjava/javax/naming/NamingException.java
@@ -93,7 +93,7 @@ public class NamingException extends Exception
/**
* Creates a new NamingException without a message. Does not set any of the
* rootException, resolvedName,
- * resolvedObj or remainingObject, fields.
+ * resolvedObj or remainingObject 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 rootException, resolvedName,
- * resolvedObj or remainingObject, fields.
+ * resolvedObj or remainingObject, fields.
* These fields can be set later.
*/
public NamingException (String msg)
--
2.30.2