--- old/src/share/classes/java/security/cert/CollectionCertStoreParameters.java 2013-06-21 18:29:59.009762683 -0700
+++ new/src/share/classes/java/security/cert/CollectionCertStoreParameters.java 2013-06-21 18:29:58.849762686 -0700
@@ -30,13 +30,13 @@
import java.util.Collections;
/**
- * Parameters used as input for the Collection CertStore
+ * Parameters used as input for the Collection {@code CertStore}
* algorithm.
*
* This class is used to provide necessary configuration parameters
- * to implementations of the Collection CertStore
+ * to implementations of the Collection {@code CertStore}
* algorithm. The only parameter included in this class is the
- * Collection
from which the CertStore
will
+ * {@code Collection} from which the {@code CertStore} will
* retrieve certificates and CRLs.
*
* Concurrent Access
@@ -58,30 +58,30 @@
private Collection> coll;
/**
- * Creates an instance of CollectionCertStoreParameters
+ * Creates an instance of {@code CollectionCertStoreParameters}
* which will allow certificates and CRLs to be retrieved from the
- * specified Collection
. If the specified
- * Collection
contains an object that is not a
- * Certificate
or CRL
, that object will be
- * ignored by the Collection CertStore
.
+ * specified {@code Collection}. If the specified
+ * {@code Collection} contains an object that is not a
+ * {@code Certificate} or {@code CRL}, that object will be
+ * ignored by the Collection {@code CertStore}.
*
- * The Collection
is not copied. Instead, a
+ * The {@code Collection} is not copied. Instead, a
* reference is used. This allows the caller to subsequently add or
- * remove Certificates
or CRL
s from the
- * Collection
, thus changing the set of
- * Certificates
or CRL
s available to the
- * Collection CertStore
. The Collection CertStore
- * will not modify the contents of the Collection
.
+ * remove {@code Certificates} or {@code CRL}s from the
+ * {@code Collection}, thus changing the set of
+ * {@code Certificates} or {@code CRL}s available to the
+ * Collection {@code CertStore}. The Collection {@code CertStore}
+ * will not modify the contents of the {@code Collection}.
*
- * If the Collection
will be modified by one thread while
- * another thread is calling a method of a Collection CertStore
- * that has been initialized with this Collection
, the
- * Collection
must have fail-fast iterators.
+ * If the {@code Collection} will be modified by one thread while
+ * another thread is calling a method of a Collection {@code CertStore}
+ * that has been initialized with this {@code Collection}, the
+ * {@code Collection} must have fail-fast iterators.
*
- * @param collection a Collection
of
- * Certificate
s and CRL
s
- * @exception NullPointerException if collection
is
- * null
+ * @param collection a {@code Collection} of
+ * {@code Certificate}s and {@code CRL}s
+ * @exception NullPointerException if {@code collection} is
+ * {@code null}
*/
public CollectionCertStoreParameters(Collection> collection) {
if (collection == null)
@@ -90,22 +90,22 @@
}
/**
- * Creates an instance of CollectionCertStoreParameters
with
+ * Creates an instance of {@code CollectionCertStoreParameters} with
* the default parameter values (an empty and immutable
- * Collection
).
+ * {@code Collection}).
*/
public CollectionCertStoreParameters() {
coll = Collections.EMPTY_SET;
}
/**
- * Returns the Collection
from which Certificate
s
- * and CRL
s are retrieved. This is not a copy of the
- * Collection
, it is a reference. This allows the caller to
- * subsequently add or remove Certificates
or
- * CRL
s from the Collection
.
+ * Returns the {@code Collection} from which {@code Certificate}s
+ * and {@code CRL}s are retrieved. This is not a copy of the
+ * {@code Collection}, it is a reference. This allows the caller to
+ * subsequently add or remove {@code Certificates} or
+ * {@code CRL}s from the {@code Collection}.
*
- * @return the Collection
(never null)
+ * @return the {@code Collection} (never null)
*/
public Collection> getCollection() {
return coll;
@@ -113,7 +113,7 @@
/**
* Returns a copy of this object. Note that only a reference to the
- * Collection
is copied, and not the contents.
+ * {@code Collection} is copied, and not the contents.
*
* @return the copy
*/