8190382: fix small typographic errors in comments

Reviewed-by: martin
This commit is contained in:
Christoph Dreis 2017-10-30 17:49:33 -07:00 committed by Stuart Marks
parent b366f4f349
commit 7f79fffba6
28 changed files with 34 additions and 34 deletions

View file

@ -2888,7 +2888,7 @@ public class HttpURLConnection extends java.net.HttpURLConnection {
/*
* If we have an input stream this means we received a response
* from the server. That stream may have been read to EOF and
* dependening on the stream type may already be closed or the
* depending on the stream type may already be closed or
* the http client may be returned to the keep-alive cache.
* If the http client has been returned to the keep-alive cache
* it may be closed (idle timeout) or may be allocated to

View file

@ -66,7 +66,7 @@ public class ParameterizedTypeImpl implements ParameterizedType {
/**
* Static factory. Given a (generic) class, actual type arguments
* and an owner type, creates a parameterized type.
* This class can be instantiated with a a raw type that does not
* This class can be instantiated with a raw type that does not
* represent a generic type, provided the list of actual type
* arguments is empty.
* If the ownerType argument is null, the declaring class of the

View file

@ -411,7 +411,7 @@ public class AuthPolicyFile extends javax.security.auth.Policy {
certs = null;
}
// only add if we had no signer or we had a
// only add if we had no signer or we had
// a signer and found the keys for it.
if (certs != null || pe.signedBy == null) {
Permission perm = new UnresolvedPermission(

View file

@ -789,7 +789,7 @@ public class PolicyFile extends java.security.Policy {
certs = null;
}
// only add if we had no signer or we had a
// only add if we had no signer or we had
// a signer and found the keys for it.
if (certs != null || pe.signedBy == null) {
Permission perm = new UnresolvedPermission(

View file

@ -154,7 +154,7 @@ class SubjectCodeSource extends CodeSource implements java.io.Serializable {
*
* @param codesource the <code>CodeSource</code> to compare against.
*
* @return true if this <code>SubjectCodeSource</code> implies the
* @return true if this <code>SubjectCodeSource</code> implies
* the specified <code>CodeSource</code>.
*/
public boolean implies(CodeSource codesource) {

View file

@ -539,7 +539,7 @@ final class DTLSInputRecord extends InputRecord implements DTLSRecord {
// Should be repacked for suitable fragment length.
//
// Note that the acquiring processes will reassemble the
// Note that the acquiring processes will reassemble
// the fragments later.
return compareToSequence(o.recordEpoch, o.recordSeq);
}

View file

@ -1485,7 +1485,7 @@ public class X509CertImpl extends X509Certificate implements DerEncoder {
}
/**
* Get the certificate constraints path length from the
* Get the certificate constraints path length from
* the critical BasicConstraints extension, (oid = 2.5.29.19).
* @return the length of the constraint.
*/

View file

@ -45,7 +45,7 @@ import jdk.internal.logger.LoggerWrapper;
*
* If the logging facility is not enabled, the platform loggers
* will output log messages per the default logging configuration
* (see below). In this implementation, it does not log the
* (see below). In this implementation, it does not log
* the stack frame information issuing the log message.
*
* When the logging facility is enabled (at startup or runtime),