changeset 23006:7cb4567eb213

8023022: Some more typos in javadoc Reviewed-by: lancea, alanb
author igerasim
date Mon, 17 Feb 2014 20:23:55 +0400
parents 22b4b386a639
children 5751a267f03c
files jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/SignatureAlgorithm.java jdk/src/share/classes/java/lang/Thread.java jdk/src/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java jdk/src/share/classes/javax/swing/JViewport.java jdk/src/share/classes/sun/font/GlyphList.java jdk/src/share/classes/sun/misc/SoftCache.java
diffstat 6 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/SignatureAlgorithm.java	Fri Feb 21 16:26:22 2014 +0100
+++ b/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/SignatureAlgorithm.java	Mon Feb 17 20:23:55 2014 +0400
@@ -296,7 +296,7 @@
      * which is executed on the internal {@link java.security.Signature} object.
      *
      * @param signature
-     * @return true if if the signature is valid.
+     * @return true if the signature is valid.
      *
      * @throws XMLSignatureException
      */
--- a/jdk/src/share/classes/java/lang/Thread.java	Fri Feb 21 16:26:22 2014 +0100
+++ b/jdk/src/share/classes/java/lang/Thread.java	Mon Feb 17 20:23:55 2014 +0400
@@ -973,7 +973,7 @@
      * @deprecated This method was originally designed to destroy this
      *     thread without any cleanup. Any monitors it held would have
      *     remained locked. However, the method was never implemented.
-     *     If if were to be implemented, it would be deadlock-prone in
+     *     If it were to be implemented, it would be deadlock-prone in
      *     much the manner of {@link #suspend}. If the target thread held
      *     a lock protecting a critical system resource when it was
      *     destroyed, no thread could ever access this resource again.
--- a/jdk/src/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java	Fri Feb 21 16:26:22 2014 +0100
+++ b/jdk/src/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java	Mon Feb 17 20:23:55 2014 +0400
@@ -579,7 +579,7 @@
      *
      * @param columnIndex the first column is 1, the second is 2, and so on;
      *        must be between <code>1</code> and the number of columns, inclusive
-     * @return <code>true</code> if if a value in the designated column is a signed
+     * @return <code>true</code> if a value in the designated column is a signed
      *         number; <code>false</code> otherwise
      * @throws SQLException if a database access error occurs
      *         or the given column number is out of bounds
--- a/jdk/src/share/classes/javax/swing/JViewport.java	Fri Feb 21 16:26:22 2014 +0100
+++ b/jdk/src/share/classes/javax/swing/JViewport.java	Mon Feb 17 20:23:55 2014 +0400
@@ -661,7 +661,7 @@
      * painting to originate from {@code JViewport}, or one of its
      * ancestors. Otherwise returns {@code false}.
      *
-     * @return true if if scroll mode is a {@code BACKINGSTORE_SCROLL_MODE}.
+     * @return true if scroll mode is a {@code BACKINGSTORE_SCROLL_MODE}.
      * @see JComponent#isPaintingOrigin()
      */
     protected boolean isPaintingOrigin() {
--- a/jdk/src/share/classes/sun/font/GlyphList.java	Fri Feb 21 16:26:22 2014 +0100
+++ b/jdk/src/share/classes/sun/font/GlyphList.java	Mon Feb 17 20:23:55 2014 +0400
@@ -148,7 +148,7 @@
      * throughput on a MP system. If for some reason the reusable
      * GlyphList is checked out for a long time (or never returned?) then
      * we would end up always creating new ones. That situation should not
-     * occur and if if did, it would just lead to some extra garbage being
+     * occur and if it did, it would just lead to some extra garbage being
      * created.
      */
     private static GlyphList reusableGL = new GlyphList();
--- a/jdk/src/share/classes/sun/misc/SoftCache.java	Fri Feb 21 16:26:22 2014 +0100
+++ b/jdk/src/share/classes/sun/misc/SoftCache.java	Mon Feb 17 20:23:55 2014 +0400
@@ -309,7 +309,7 @@
      *                mapped
      *
      * @return  The previous value to which this key was mapped, or
-     *          <code>null</code> if if there was no mapping for the key
+     *          <code>null</code> if there was no mapping for the key
      */
     public Object put(Object key, Object value) {
         processQueue();