8156661: Handful of typos in javadoc
authorigerasim
Tue, 10 May 2016 17:16:55 +0300
changeset 37880 60ec48925dc6
parent 37879 58764aa6c155
child 37881 fda31effa7b3
8156661: Handful of typos in javadoc Reviewed-by: prappo, rriggs
jdk/src/java.base/share/classes/java/lang/Integer.java
jdk/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java
jdk/src/java.base/share/classes/java/lang/reflect/Field.java
jdk/src/java.base/share/classes/java/lang/reflect/InaccessibleObjectException.java
jdk/src/java.base/share/classes/java/math/BigInteger.java
jdk/src/java.base/share/classes/java/net/InetSocketAddress.java
jdk/src/java.base/share/classes/java/net/URLDecoder.java
jdk/src/java.base/share/classes/java/net/URLEncoder.java
jdk/src/java.base/share/classes/java/security/InvalidAlgorithmParameterException.java
jdk/src/java.base/share/classes/java/security/InvalidKeyException.java
jdk/src/java.base/share/classes/java/security/ProtectionDomain.java
jdk/src/java.base/share/classes/java/security/Provider.java
jdk/src/java.base/share/classes/java/security/Security.java
jdk/src/java.base/share/classes/java/security/spec/InvalidKeySpecException.java
jdk/src/java.base/share/classes/java/time/Instant.java
jdk/src/java.base/share/classes/java/time/LocalDateTime.java
jdk/src/java.base/share/classes/java/time/LocalTime.java
jdk/src/java.base/share/classes/java/time/OffsetDateTime.java
jdk/src/java.base/share/classes/java/time/OffsetTime.java
jdk/src/java.base/share/classes/java/time/ZonedDateTime.java
jdk/src/java.base/share/classes/java/util/Comparator.java
jdk/src/java.base/share/classes/java/util/regex/Pattern.java
jdk/src/java.base/share/classes/javax/security/auth/callback/UnsupportedCallbackException.java
jdk/src/java.base/share/classes/sun/net/ftp/FtpClient.java
jdk/src/java.base/share/classes/sun/security/provider/certpath/OCSPNonceExtension.java
jdk/src/java.base/share/classes/sun/security/ssl/SSLSocketInputRecord.java
jdk/src/java.management/share/classes/javax/management/AttributeList.java
jdk/src/java.management/share/classes/javax/management/MBeanFeatureInfo.java
jdk/src/java.management/share/classes/javax/management/MBeanInfo.java
jdk/src/java.management/share/classes/sun/management/Sensor.java
jdk/src/java.management/share/classes/sun/management/counter/perf/InstrumentationException.java
jdk/src/java.naming/share/classes/com/sun/jndi/ldap/EventQueue.java
jdk/src/java.naming/share/classes/javax/naming/event/EventContext.java
jdk/src/java.naming/share/classes/javax/naming/event/NamingListener.java
jdk/src/java.naming/share/classes/javax/naming/ldap/UnsolicitedNotificationListener.java
jdk/src/java.security.jgss/share/classes/javax/security/auth/kerberos/EncryptionKey.java
jdk/src/java.sql.rowset/share/classes/com/sun/rowset/JdbcRowSetImpl.java
jdk/src/java.sql.rowset/share/classes/com/sun/rowset/internal/SyncResolverImpl.java
jdk/src/java.sql/share/classes/java/sql/CallableStatement.java
jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/encryption/AgreementMethod.java
jdk/src/jdk.jdi/share/classes/com/sun/jdi/InvalidModuleException.java
--- a/jdk/src/java.base/share/classes/java/lang/Integer.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/lang/Integer.java	Tue May 10 17:16:55 2016 +0300
@@ -1221,13 +1221,13 @@
     }
 
     /**
-     * Returns a hash code for a {@code int} value; compatible with
+     * Returns a hash code for an {@code int} value; compatible with
      * {@code Integer.hashCode()}.
      *
      * @param value the value to hash
      * @since 1.8
      *
-     * @return a hash code value for a {@code int} value.
+     * @return a hash code value for an {@code int} value.
      */
     public static int hashCode(int value) {
         return value;
@@ -1596,7 +1596,7 @@
     @Native public static final int SIZE = 32;
 
     /**
-     * The number of bytes used to represent a {@code int} value in two's
+     * The number of bytes used to represent an {@code int} value in two's
      * complement binary form.
      *
      * @since 1.8
--- a/jdk/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java	Tue May 10 17:16:55 2016 +0300
@@ -318,7 +318,7 @@
         /**
          * Tests this module export for equality with the given object.
          *
-         * <p> If the given object is not a {@code Exports} then this method
+         * <p> If the given object is not an {@code Exports} then this method
          * returns {@code false}. Two module exports objects are equal if the
          * package names are equal and the set of target module names is equal.
          * </p>
--- a/jdk/src/java.base/share/classes/java/lang/reflect/Field.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/lang/reflect/Field.java	Tue May 10 17:16:55 2016 +0300
@@ -903,7 +903,7 @@
      * Sets the value of a field as an {@code int} on the specified object.
      * This method is equivalent to
      * {@code set(obj, iObj)},
-     * where {@code iObj} is a {@code Integer} object and
+     * where {@code iObj} is an {@code Integer} object and
      * {@code iObj.intValue() == i}.
      *
      * @param obj the object whose field should be modified
--- a/jdk/src/java.base/share/classes/java/lang/reflect/InaccessibleObjectException.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/lang/reflect/InaccessibleObjectException.java	Tue May 10 17:16:55 2016 +0300
@@ -36,13 +36,13 @@
     private static final long serialVersionUID = 4158786093378140901L;
 
     /**
-     * Constructs a {@code InaccessibleObjectException} with no detail message.
+     * Constructs an {@code InaccessibleObjectException} with no detail message.
      */
     public InaccessibleObjectException() {
     }
 
     /**
-     * Constructs a {@code InaccessibleObjectException} with the given detail
+     * Constructs an {@code InaccessibleObjectException} with the given detail
      * message.
      *
      * @param msg
--- a/jdk/src/java.base/share/classes/java/math/BigInteger.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/math/BigInteger.java	Tue May 10 17:16:55 2016 +0300
@@ -4676,7 +4676,7 @@
      *
      * @return this {@code BigInteger} converted to an {@code int}.
      * @throws ArithmeticException if the value of {@code this} will
-     * not exactly fit in a {@code int}.
+     * not exactly fit in an {@code int}.
      * @see BigInteger#intValue
      * @since  1.8
      */
--- a/jdk/src/java.base/share/classes/java/net/InetSocketAddress.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/net/InetSocketAddress.java	Tue May 10 17:16:55 2016 +0300
@@ -246,7 +246,7 @@
      *                  the range of valid port values, or if the hostname
      *                  parameter is {@code null}.
      * @see     #isUnresolved()
-     * @return  a {@code InetSocketAddress} representing the unresolved
+     * @return  an {@code InetSocketAddress} representing the unresolved
      *          socket address
      * @since 1.5
      */
--- a/jdk/src/java.base/share/classes/java/net/URLDecoder.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/net/URLDecoder.java	Tue May 10 17:16:55 2016 +0300
@@ -106,8 +106,8 @@
     }
 
     /**
-     * Decodes a {@code application/x-www-form-urlencoded} string using a specific
-     * encoding scheme.
+     * Decodes an {@code application/x-www-form-urlencoded} string using
+     * a specific encoding scheme.
      * The supplied encoding is used to determine
      * what characters are represented by any consecutive sequences of the
      * form "<i>{@code %xy}</i>".
--- a/jdk/src/java.base/share/classes/java/net/URLEncoder.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/net/URLEncoder.java	Tue May 10 17:16:55 2016 +0300
@@ -225,7 +225,7 @@
                     /*
                      * If this character represents the start of a Unicode
                      * surrogate pair, then pass in two characters. It's not
-                     * clear what should be done if a bytes reserved in the
+                     * clear what should be done if a byte reserved in the
                      * surrogate pairs range occurs outside of a legal
                      * surrogate pair. For now, just treat it as if it were
                      * any other character.
--- a/jdk/src/java.base/share/classes/java/security/InvalidAlgorithmParameterException.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/security/InvalidAlgorithmParameterException.java	Tue May 10 17:16:55 2016 +0300
@@ -65,7 +65,7 @@
     }
 
     /**
-     * Creates a {@code InvalidAlgorithmParameterException} with the
+     * Creates an {@code InvalidAlgorithmParameterException} with the
      * specified detail message and cause.
      *
      * @param message the detail message (which is saved for later retrieval
@@ -80,7 +80,7 @@
     }
 
     /**
-     * Creates a {@code InvalidAlgorithmParameterException} with the
+     * Creates an {@code InvalidAlgorithmParameterException} with the
      * specified cause and a detail message of
      * {@code (cause==null ? null : cause.toString())}
      * (which typically contains the class and detail message of
--- a/jdk/src/java.base/share/classes/java/security/InvalidKeyException.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/security/InvalidKeyException.java	Tue May 10 17:16:55 2016 +0300
@@ -58,7 +58,7 @@
     }
 
     /**
-     * Creates a {@code InvalidKeyException} with the specified
+     * Creates an {@code InvalidKeyException} with the specified
      * detail message and cause.
      *
      * @param message the detail message (which is saved for later retrieval
@@ -73,7 +73,7 @@
     }
 
     /**
-     * Creates a {@code InvalidKeyException} with the specified cause
+     * Creates an {@code InvalidKeyException} with the specified cause
      * and a detail message of {@code (cause==null ? null : cause.toString())}
      * (which typically contains the class and detail message of
      * {@code cause}).
--- a/jdk/src/java.base/share/classes/java/security/ProtectionDomain.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/security/ProtectionDomain.java	Tue May 10 17:16:55 2016 +0300
@@ -144,7 +144,7 @@
     /**
      * Creates a new ProtectionDomain with the given CodeSource and
      * Permissions. If the permissions object is not null, then
-     *  {@code setReadOnly())} will be called on the passed in
+     *  {@code setReadOnly()} will be called on the passed in
      * Permissions object. The only permissions granted to this domain
      * are the ones specified; the current Policy will not be consulted.
      *
--- a/jdk/src/java.base/share/classes/java/security/Provider.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/security/Provider.java	Tue May 10 17:16:55 2016 +0300
@@ -1809,7 +1809,7 @@
         }
 
         /**
-         * Return whether this service has its Supported* properties for
+         * Return whether this service has its supported properties for
          * keys defined. Parses the attributes if not yet initialized.
          */
         private boolean hasKeyAttributes() {
--- a/jdk/src/java.base/share/classes/java/security/Security.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/security/Security.java	Tue May 10 17:16:55 2016 +0300
@@ -549,7 +549,7 @@
 
     /**
      * Returns an array containing all installed providers that satisfy the
-     * specified* selection criteria, or null if no such providers have been
+     * specified selection criteria, or null if no such providers have been
      * installed. The returned providers are ordered
      * according to their
      * {@linkplain #insertProviderAt(java.security.Provider, int)
--- a/jdk/src/java.base/share/classes/java/security/spec/InvalidKeySpecException.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/security/spec/InvalidKeySpecException.java	Tue May 10 17:16:55 2016 +0300
@@ -63,7 +63,7 @@
     }
 
     /**
-     * Creates a {@code InvalidKeySpecException} with the specified
+     * Creates an {@code InvalidKeySpecException} with the specified
      * detail message and cause.
      *
      * @param message the detail message (which is saved for later retrieval
@@ -78,7 +78,7 @@
     }
 
     /**
-     * Creates a {@code InvalidKeySpecException} with the specified cause
+     * Creates an {@code InvalidKeySpecException} with the specified cause
      * and a detail message of {@code (cause==null ? null : cause.toString())}
      * (which typically contains the class and detail message of
      * {@code cause}).
--- a/jdk/src/java.base/share/classes/java/time/Instant.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/time/Instant.java	Tue May 10 17:16:55 2016 +0300
@@ -799,33 +799,33 @@
      * The supported fields behave as follows:
      * <ul>
      * <li>{@code NANOS} -
-     *  Returns a {@code Instant} with the specified number of nanoseconds added.
+     *  Returns an {@code Instant} with the specified number of nanoseconds added.
      *  This is equivalent to {@link #plusNanos(long)}.
      * <li>{@code MICROS} -
-     *  Returns a {@code Instant} with the specified number of microseconds added.
+     *  Returns an {@code Instant} with the specified number of microseconds added.
      *  This is equivalent to {@link #plusNanos(long)} with the amount
      *  multiplied by 1,000.
      * <li>{@code MILLIS} -
-     *  Returns a {@code Instant} with the specified number of milliseconds added.
+     *  Returns an {@code Instant} with the specified number of milliseconds added.
      *  This is equivalent to {@link #plusNanos(long)} with the amount
      *  multiplied by 1,000,000.
      * <li>{@code SECONDS} -
-     *  Returns a {@code Instant} with the specified number of seconds added.
+     *  Returns an {@code Instant} with the specified number of seconds added.
      *  This is equivalent to {@link #plusSeconds(long)}.
      * <li>{@code MINUTES} -
-     *  Returns a {@code Instant} with the specified number of minutes added.
+     *  Returns an {@code Instant} with the specified number of minutes added.
      *  This is equivalent to {@link #plusSeconds(long)} with the amount
      *  multiplied by 60.
      * <li>{@code HOURS} -
-     *  Returns a {@code Instant} with the specified number of hours added.
+     *  Returns an {@code Instant} with the specified number of hours added.
      *  This is equivalent to {@link #plusSeconds(long)} with the amount
      *  multiplied by 3,600.
      * <li>{@code HALF_DAYS} -
-     *  Returns a {@code Instant} with the specified number of half-days added.
+     *  Returns an {@code Instant} with the specified number of half-days added.
      *  This is equivalent to {@link #plusSeconds(long)} with the amount
      *  multiplied by 43,200 (12 hours).
      * <li>{@code DAYS} -
-     *  Returns a {@code Instant} with the specified number of days added.
+     *  Returns an {@code Instant} with the specified number of days added.
      *  This is equivalent to {@link #plusSeconds(long)} with the amount
      *  multiplied by 86,400 (24 hours).
      * </ul>
@@ -958,7 +958,7 @@
     /**
      * Returns a copy of this instant with the specified amount subtracted.
      * <p>
-     * This returns a {@code Instant}, based on this one, with the amount
+     * This returns an {@code Instant}, based on this one, with the amount
      * in terms of the unit subtracted. If it is not possible to subtract the amount,
      * because the unit is not supported or for some other reason, an exception is thrown.
      * <p>
--- a/jdk/src/java.base/share/classes/java/time/LocalDateTime.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/time/LocalDateTime.java	Tue May 10 17:16:55 2016 +0300
@@ -665,7 +665,7 @@
      * The {@link #isSupported(TemporalField) supported fields} will return valid
      * values based on this date-time, except {@code NANO_OF_DAY}, {@code MICRO_OF_DAY},
      * {@code EPOCH_DAY} and {@code PROLEPTIC_MONTH} which are too large to fit in
-     * an {@code int} and throw a {@code UnsupportedTemporalTypeException}.
+     * an {@code int} and throw an {@code UnsupportedTemporalTypeException}.
      * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
      * <p>
      * If the field is not a {@code ChronoField}, then the result of this method
--- a/jdk/src/java.base/share/classes/java/time/LocalTime.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/time/LocalTime.java	Tue May 10 17:16:55 2016 +0300
@@ -619,7 +619,7 @@
      * If the field is a {@link ChronoField} then the query is implemented here.
      * The {@link #isSupported(TemporalField) supported fields} will return valid
      * values based on this time, except {@code NANO_OF_DAY} and {@code MICRO_OF_DAY}
-     * which are too large to fit in an {@code int} and throw a {@code UnsupportedTemporalTypeException}.
+     * which are too large to fit in an {@code int} and throw an {@code UnsupportedTemporalTypeException}.
      * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
      * <p>
      * If the field is not a {@code ChronoField}, then the result of this method
--- a/jdk/src/java.base/share/classes/java/time/OffsetDateTime.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/time/OffsetDateTime.java	Tue May 10 17:16:55 2016 +0300
@@ -576,7 +576,7 @@
      * The {@link #isSupported(TemporalField) supported fields} will return valid
      * values based on this date-time, except {@code NANO_OF_DAY}, {@code MICRO_OF_DAY},
      * {@code EPOCH_DAY}, {@code PROLEPTIC_MONTH} and {@code INSTANT_SECONDS} which are too
-     * large to fit in an {@code int} and throw a {@code UnsupportedTemporalTypeException}.
+     * large to fit in an {@code int} and throw an {@code UnsupportedTemporalTypeException}.
      * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
      * <p>
      * If the field is not a {@code ChronoField}, then the result of this method
--- a/jdk/src/java.base/share/classes/java/time/OffsetTime.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/time/OffsetTime.java	Tue May 10 17:16:55 2016 +0300
@@ -481,7 +481,7 @@
      * If the field is a {@link ChronoField} then the query is implemented here.
      * The {@link #isSupported(TemporalField) supported fields} will return valid
      * values based on this time, except {@code NANO_OF_DAY} and {@code MICRO_OF_DAY}
-     * which are too large to fit in an {@code int} and throw a {@code UnsupportedTemporalTypeException}.
+     * which are too large to fit in an {@code int} and throw an {@code UnsupportedTemporalTypeException}.
      * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
      * <p>
      * If the field is not a {@code ChronoField}, then the result of this method
--- a/jdk/src/java.base/share/classes/java/time/ZonedDateTime.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/time/ZonedDateTime.java	Tue May 10 17:16:55 2016 +0300
@@ -793,7 +793,7 @@
      * The {@link #isSupported(TemporalField) supported fields} will return valid
      * values based on this date-time, except {@code NANO_OF_DAY}, {@code MICRO_OF_DAY},
      * {@code EPOCH_DAY}, {@code PROLEPTIC_MONTH} and {@code INSTANT_SECONDS} which are too
-     * large to fit in an {@code int} and throw a {@code UnsupportedTemporalTypeException}.
+     * large to fit in an {@code int} and throw an {@code UnsupportedTemporalTypeException}.
      * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
      * <p>
      * If the field is not a {@code ChronoField}, then the result of this method
--- a/jdk/src/java.base/share/classes/java/util/Comparator.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/util/Comparator.java	Tue May 10 17:16:55 2016 +0300
@@ -267,7 +267,7 @@
 
     /**
      * Returns a lexicographic-order comparator with a function that
-     * extracts a {@code int} sort key.
+     * extracts an {@code int} sort key.
      *
      * @implSpec This default implementation behaves as if {@code
      *           thenComparing(comparingInt(keyExtractor))}.
--- a/jdk/src/java.base/share/classes/java/util/regex/Pattern.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/java/util/regex/Pattern.java	Tue May 10 17:16:55 2016 +0300
@@ -469,7 +469,7 @@
  *
  *   <li> A line-separator character&nbsp;(<code>'&#92;u2028'</code>), or
  *
- *   <li> A paragraph-separator character&nbsp;(<code>'&#92;u2029</code>).
+ *   <li> A paragraph-separator character&nbsp;(<code>'&#92;u2029'</code>).
  *
  * </ul>
  * <p>If {@link #UNIX_LINES} mode is activated, then the only line terminators
--- a/jdk/src/java.base/share/classes/javax/security/auth/callback/UnsupportedCallbackException.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/javax/security/auth/callback/UnsupportedCallbackException.java	Tue May 10 17:16:55 2016 +0300
@@ -40,7 +40,7 @@
     private Callback callback;
 
     /**
-     * Constructs a {@code UnsupportedCallbackException}
+     * Constructs an {@code UnsupportedCallbackException}
      * with no detail message.
      *
      * @param callback the unrecognized {@code Callback}.
--- a/jdk/src/java.base/share/classes/sun/net/ftp/FtpClient.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/sun/net/ftp/FtpClient.java	Tue May 10 17:16:55 2016 +0300
@@ -784,7 +784,7 @@
      *
      * @param path the pathname of the directory to list or {@code null}
      *        for the current working directoty.
-     * @return a {@code Iterator} of files or {@code null} if the
+     * @return an {@code Iterator} of files or {@code null} if the
      *         command failed.
      * @throws IOException if an error occurred during the transmission
      * @see #setDirParser(FtpDirParser)
--- a/jdk/src/java.base/share/classes/sun/security/provider/certpath/OCSPNonceExtension.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/sun/security/provider/certpath/OCSPNonceExtension.java	Tue May 10 17:16:55 2016 +0300
@@ -51,7 +51,7 @@
     private byte[] nonceData = null;
 
     /**
-     * Create a {@code OCSPNonceExtension} by providing the nonce length.
+     * Create an {@code OCSPNonceExtension} by providing the nonce length.
      * The criticality is set to false, and the OID for the extension will
      * be the value defined by "id-pkix-ocsp-nonce" from RFC 6960.
      *
@@ -66,7 +66,7 @@
     }
 
     /**
-     * Create a {@code OCSPNonceExtension} by providing the nonce length and
+     * Create an {@code OCSPNonceExtension} by providing the nonce length and
      * criticality setting.  The OID for the extension will
      * be the value defined by "id-pkix-ocsp-nonce" from RFC 6960.
      *
@@ -96,7 +96,7 @@
     }
 
     /**
-     * Create a {@code OCSPNonceExtension} by providing a nonce value.
+     * Create an {@code OCSPNonceExtension} by providing a nonce value.
      * The criticality is set to false, and the OID for the extension will
      * be the value defined by "id-pkix-ocsp-nonce" from RFC 6960.
      *
@@ -114,7 +114,7 @@
     }
 
     /**
-     * Create a {@code OCSPNonceExtension} by providing a nonce value and
+     * Create an {@code OCSPNonceExtension} by providing a nonce value and
      * criticality setting.  The OID for the extension will
      * be the value defined by "id-pkix-ocsp-nonce" from RFC 6960.
      *
--- a/jdk/src/java.base/share/classes/sun/security/ssl/SSLSocketInputRecord.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.base/share/classes/sun/security/ssl/SSLSocketInputRecord.java	Tue May 10 17:16:55 2016 +0300
@@ -123,7 +123,7 @@
                  */
                 //
                 // Short header is using here.  We reverse the code here
-                // in case it it used in the future.
+                // in case it is used in the future.
                 //
                 // int mask = (isShort ? 0x7F : 0x3F);
                 // len = ((byteZero & mask) << 8) +
--- a/jdk/src/java.management/share/classes/javax/management/AttributeList.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.management/share/classes/javax/management/AttributeList.java	Tue May 10 17:16:55 2016 +0300
@@ -148,7 +148,7 @@
      * <p>If this method has ever been called on a given
      * {@code AttributeList} instance, a subsequent attempt to add
      * an object to that instance which is not an {@code Attribute}
-     * will fail with a {@code IllegalArgumentException}. For compatibility
+     * will fail with an {@code IllegalArgumentException}. For compatibility
      * reasons, an {@code AttributeList} on which this method has never
      * been called does allow objects other than {@code Attribute}s to
      * be added.</p>
--- a/jdk/src/java.management/share/classes/javax/management/MBeanFeatureInfo.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.management/share/classes/javax/management/MBeanFeatureInfo.java	Tue May 10 17:16:55 2016 +0300
@@ -215,7 +215,7 @@
      *    <ul>
      *    <li>1. The method {@link ObjectInputStream#readObject readObject()}
      *       is called twice to obtain the field names (a {@code String[]}) and
-     *       the field values (a {@code Object[]}) of the {@code descriptor}.
+     *       the field values (an {@code Object[]}) of the {@code descriptor}.
      *       The two obtained values then are used to construct
      *       an {@link ImmutableDescriptor} instance for the field
      *       {@code descriptor};</li>
--- a/jdk/src/java.management/share/classes/javax/management/MBeanInfo.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.management/share/classes/javax/management/MBeanInfo.java	Tue May 10 17:16:55 2016 +0300
@@ -670,7 +670,7 @@
      *    <ul>
      *    <li>1. The method {@link ObjectInputStream#readObject readObject()}
      *       is called twice to obtain the field names (a {@code String[]}) and
-     *       the field values (a {@code Object[]}) of the {@code descriptor}.
+     *       the field values (an {@code Object[]}) of the {@code descriptor}.
      *       The two obtained values then are used to construct
      *       an {@link ImmutableDescriptor} instance for the field
      *       {@code descriptor};</li>
--- a/jdk/src/java.management/share/classes/sun/management/Sensor.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.management/share/classes/sun/management/Sensor.java	Tue May 10 17:16:55 2016 +0300
@@ -34,7 +34,7 @@
  * An abstract sensor.
  *
  * <p>
- * A {@code AbstractSensor} object consists of two attributes:
+ * An {@code AbstractSensor} object consists of two attributes:
  * <ul>
  *   <li>{@code on} is a boolean flag indicating if a sensor is
  *       triggered. This flag will be set or cleared by the
--- a/jdk/src/java.management/share/classes/sun/management/counter/perf/InstrumentationException.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.management/share/classes/sun/management/counter/perf/InstrumentationException.java	Tue May 10 17:16:55 2016 +0300
@@ -27,14 +27,14 @@
 
 public class InstrumentationException extends RuntimeException {
     /**
-     * Constructs a {@code InstrumentationException} with no
+     * Constructs an {@code InstrumentationException} with no
      * detail message.
      */
      public InstrumentationException() {
      }
 
     /**
-     * Constructs a {@code InstrumentationException} with a specified
+     * Constructs an {@code InstrumentationException} with a specified
      * detail message.
      *
      * @param message the detail message
--- a/jdk/src/java.naming/share/classes/com/sun/jndi/ldap/EventQueue.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.naming/share/classes/com/sun/jndi/ldap/EventQueue.java	Tue May 10 17:16:55 2016 +0300
@@ -78,7 +78,7 @@
      *        {@code UnsolicitedNotificationEvent}.
      * If it is a subclass of {@code NamingEvent}, all listeners must implement
      * the corresponding subinterface of {@code NamingListener}.
-     * For example, for a {@code ObjectAddedEvent}, all listeners <em>must</em>
+     * For example, for an {@code ObjectAddedEvent}, all listeners <em>must</em>
      * implement the {@code ObjectAddedListener} interface.
      * <em>The current implementation does not check this before dispatching
      * the event.</em>
--- a/jdk/src/java.naming/share/classes/javax/naming/event/EventContext.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.naming/share/classes/javax/naming/event/EventContext.java	Tue May 10 17:16:55 2016 +0300
@@ -56,7 +56,7 @@
  *{@code NameNotFoundException}).
  *<p>
  * An application can use the method {@code targetMustExist()} to check
- * whether a {@code EventContext} supports registration
+ * whether an {@code EventContext} supports registration
  * of nonexistent targets.
  *
  *<h1>Event Source</h1>
@@ -92,7 +92,7 @@
  * which it invoked {@code addNamingListener()} (just as
  * it needs to keep a reference to the listener in order to remove it
  * later). It cannot expect to do a {@code lookup()} and get another instance of
- * a {@code EventContext} on which to perform the deregistration.
+ * an {@code EventContext} on which to perform the deregistration.
  *<h1>Lifetime of Registration</h1>
  * A registered listener becomes deregistered when:
  *<ul>
@@ -102,7 +102,7 @@
  *<li>{@code Context.close()} is invoked on the {@code EventContext}
  * instance with which it has registered.
  </ul>
- * Until that point, a {@code EventContext} instance that has outstanding
+ * Until that point, an {@code EventContext} instance that has outstanding
  * listeners will continue to exist and be maintained by the service provider.
  *
  *<h1>Listener Implementations</h1>
--- a/jdk/src/java.naming/share/classes/javax/naming/event/NamingListener.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.naming/share/classes/javax/naming/event/NamingListener.java	Tue May 10 17:16:55 2016 +0300
@@ -40,7 +40,7 @@
   * from the {@code EventContext} with which it has registered.
   *<p>
   * For example, suppose a listener implements {@code ObjectChangeListener} and
-  * registers with a {@code EventContext}.
+  * registers with an {@code EventContext}.
   * Then, if the connection to the server is subsequently broken,
   * the listener will receive a {@code NamingExceptionEvent} and may
   * take some corrective action, such as notifying the user of the application.
--- a/jdk/src/java.naming/share/classes/javax/naming/ldap/UnsolicitedNotificationListener.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.naming/share/classes/javax/naming/ldap/UnsolicitedNotificationListener.java	Tue May 10 17:16:55 2016 +0300
@@ -32,7 +32,7 @@
  * "Unsolicited notification" is defined in
  * <A HREF="http://www.ietf.org/rfc/rfc2251.txt">RFC 2251</A>.
  * It allows the server to send unsolicited notifications to the client.
- * A {@code UnsolicitedNotificationListener} must:
+ * An {@code UnsolicitedNotificationListener} must:
  *<ol>
  * <li>Implement this interface and its method
  * <li>Implement {@code NamingListener.namingExceptionThrown()} so
@@ -41,7 +41,7 @@
  * <li>Register with the context using one of the {@code addNamingListener()}
  * methods from {@code EventContext} or {@code EventDirContext}.
  * Only the {@code NamingListener} argument of these methods are applicable;
- * the rest are ignored for a {@code UnsolicitedNotificationListener}.
+ * the rest are ignored for an {@code UnsolicitedNotificationListener}.
  * (These arguments might be applicable to the listener if it implements
  * other listener interfaces).
  *</ol>
--- a/jdk/src/java.security.jgss/share/classes/javax/security/auth/kerberos/EncryptionKey.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.security.jgss/share/classes/javax/security/auth/kerberos/EncryptionKey.java	Tue May 10 17:16:55 2016 +0300
@@ -61,7 +61,7 @@
     private transient boolean destroyed = false;
 
     /**
-     * Constructs a {@code EncryptionKey} from the given bytes and
+     * Constructs an {@code EncryptionKey} from the given bytes and
      * the key type.
      * <p>
      * The contents of the byte array are copied; subsequent modification of
--- a/jdk/src/java.sql.rowset/share/classes/com/sun/rowset/JdbcRowSetImpl.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.sql.rowset/share/classes/com/sun/rowset/JdbcRowSetImpl.java	Tue May 10 17:16:55 2016 +0300
@@ -3799,7 +3799,7 @@
      * Retrieves the column id as {@code int} array that was set using
      * {@code setMatchColumn(int [])} for this rowset.
      *
-     * @return a {@code int} array object that contains the column ids
+     * @return an {@code int} array object that contains the column ids
      *         for the rowset which has this as the match columns.
      *
      * @throws SQLException if an error occurs or column index is not set
@@ -6226,7 +6226,7 @@
 
 
    /**
-    * Sets the designated parameter to a {@code InputStream} object.  The inputstream must contain  the number
+    * Sets the designated parameter to an {@code InputStream} object.  The inputstream must contain  the number
     * of characters specified by length otherwise a {@code SQLException} will be
     * generated when the {@code PreparedStatement} is executed.
     * This method differs from the {@code setBinaryStream (int, InputStream, int)}
@@ -6256,7 +6256,7 @@
    }
 
  /**
-    * Sets the designated parameter to a {@code InputStream} object.
+    * Sets the designated parameter to an {@code InputStream} object.
     * This method differs from the {@code setBinaryStream (int, InputStream)}
     * This method differs from the {@code setBinaryStream (int, InputStream)}
     * method because it informs the driver that the parameter value should be
@@ -6287,7 +6287,7 @@
    }
 
    /**
-    * Sets the designated parameter to a {@code InputStream} object.  The {@code inputstream} must contain  the number
+    * Sets the designated parameter to an {@code InputStream} object.  The {@code inputstream} must contain  the number
     * of characters specified by length, otherwise a {@code SQLException} will be
     * generated when the {@code CallableStatement} is executed.
     * This method differs from the {@code setBinaryStream (int, InputStream, int)}
@@ -6336,7 +6336,7 @@
    }
 
    /**
-    * Sets the designated parameter to a {@code InputStream} object.
+    * Sets the designated parameter to an {@code InputStream} object.
     * This method differs from the {@code setBinaryStream (int, InputStream)}
     * method because it informs the driver that the parameter value should be
     * sent to the server as a {@code BLOB}.  When the {@code setBinaryStream} method is used,
--- a/jdk/src/java.sql.rowset/share/classes/com/sun/rowset/internal/SyncResolverImpl.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.sql.rowset/share/classes/com/sun/rowset/internal/SyncResolverImpl.java	Tue May 10 17:16:55 2016 +0300
@@ -4586,7 +4586,7 @@
      * Retrieves the column id as {@code int} array that was set using
      * {@code setMatchColumn(int [])} for this rowset.
      *
-     * @return a {@code int} array object that contains the column ids
+     * @return an {@code int} array object that contains the column ids
      *         for the rowset which has this as the match columns.
      *
      * @throws SQLException if an error occurs or column index is not set
--- a/jdk/src/java.sql/share/classes/java/sql/CallableStatement.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.sql/share/classes/java/sql/CallableStatement.java	Tue May 10 17:16:55 2016 +0300
@@ -1882,7 +1882,7 @@
        throws SQLException;
 
     /**
-     * Sets the designated parameter to a {@code InputStream} object.
+     * Sets the designated parameter to an {@code InputStream} object.
      * The <code>Inputstream</code> must contain the number
      * of characters specified by length, otherwise a <code>SQLException</code> will be
      * generated when the <code>CallableStatement</code> is executed.
@@ -2379,7 +2379,7 @@
        throws SQLException;
 
     /**
-     * Sets the designated parameter to a {@code InputStream} object.
+     * Sets the designated parameter to an {@code InputStream} object.
      * This method differs from the <code>setBinaryStream (int, InputStream)</code>
      * method because it informs the driver that the parameter value should be
      * sent to the server as a <code>BLOB</code>.  When the <code>setBinaryStream</code> method is used,
--- a/jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/encryption/AgreementMethod.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/encryption/AgreementMethod.java	Tue May 10 17:16:55 2016 +0300
@@ -101,7 +101,7 @@
     /**
      * Adds additional {@code AgreementMethod} information.
      *
-     * @param info a {@code Element} that represents additional information
+     * @param info an {@code Element} that represents additional information
      * specified by
      *   <pre>{@code
      *     <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
@@ -112,7 +112,7 @@
     /**
      * Removes additional {@code AgreementMethod} information.
      *
-     * @param info a {@code Element} that represents additional information
+     * @param info an {@code Element} that represents additional information
      * specified by
      *   <pre>{@code
      *     <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
--- a/jdk/src/jdk.jdi/share/classes/com/sun/jdi/InvalidModuleException.java	Tue May 10 14:52:31 2016 +0200
+++ b/jdk/src/jdk.jdi/share/classes/com/sun/jdi/InvalidModuleException.java	Tue May 10 17:16:55 2016 +0300
@@ -36,14 +36,14 @@
     private static final long serialVersionUID = 7907359387320658039L;
 
     /**
-     * Constructs a {@code InvalidModuleException} with no detail message.
+     * Constructs an {@code InvalidModuleException} with no detail message.
      */
     public InvalidModuleException() {
         super();
     }
 
     /**
-     * Constructs a {@code InvalidModuleException} with the given detail
+     * Constructs an {@code InvalidModuleException} with the given detail
      * message.
      *
      * @param msg