changeset 6413:de30e46250c5

8006642: Fix javadoc warnings due to Integer.MAX_VALUE Reviewed-by: alanb
author lancea
date Mon, 21 Jan 2013 14:08:39 -0500
parents f21a3c273fb2
children 7f4e3da76ec1
files src/share/classes/java/sql/BatchUpdateException.java src/share/classes/java/sql/PreparedStatement.java src/share/classes/java/sql/Statement.java
diffstat 3 files changed, 11 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/sql/BatchUpdateException.java	Mon Jan 21 13:50:05 2013 +0000
+++ b/src/share/classes/java/sql/BatchUpdateException.java	Mon Jan 21 14:08:39 2013 -0500
@@ -409,7 +409,7 @@
    * <code>cause</code> and <code>updateCounts</code>.
    * <p>
    * This constructor should be used when the returned update count may exceed
-   * {@link Integer.MAX_VALUE}.
+   * {@link Integer#MAX_VALUE}.
    * <p>
    * @param reason a description of the error
    * @param SQLState an XOPEN or SQL:2003 code identifying the exception
@@ -447,7 +447,7 @@
    * the <code>BatchUpdateException</code> was thrown.
    * <p>
    * This method should be used when {@code Statement.executeLargeBatch} is
-   * invoked and the returned update count may exceed {@link Integer.MAX_VALUE}.
+   * invoked and the returned update count may exceed {@link Integer#MAX_VALUE}.
    * <p>
    * @return an array of <code>long</code> containing the update counts
    * for the updates that were executed successfully before this error
--- a/src/share/classes/java/sql/PreparedStatement.java	Mon Jan 21 13:50:05 2013 +0000
+++ b/src/share/classes/java/sql/PreparedStatement.java	Mon Jan 21 14:08:39 2013 -0500
@@ -1300,7 +1300,7 @@
      * such as a DDL statement.
      * <p>
      * This method should be used when the returned row count may exceed
-     * {@link Integer.MAX_VALUE}.
+     * {@link Integer#MAX_VALUE}.
      * <p>
      * The default implementation will throw {@code UnsupportedOperationException}
      *
--- a/src/share/classes/java/sql/Statement.java	Mon Jan 21 13:50:05 2013 +0000
+++ b/src/share/classes/java/sql/Statement.java	Mon Jan 21 14:08:39 2013 -0500
@@ -1077,7 +1077,7 @@
      *  is returned. This method should be called only once per result.
      * <p>
      * This method should be used when the returned row count may exceed
-     * {@link Integer.MAX_VALUE}.
+     * {@link Integer#MAX_VALUE}.
      *<p>
      * The default implementation will throw {@code UnsupportedOperationException}
      *
@@ -1100,7 +1100,7 @@
      * rows are silently dropped.
      * <p>
      * This method should be used when the row limit may exceed
-     * {@link Integer.MAX_VALUE}.
+     * {@link Integer#MAX_VALUE}.
      *<p>
      * The default implementation will throw {@code UnsupportedOperationException}
      *
@@ -1122,7 +1122,7 @@
      * the excess rows are silently dropped.
      * <p>
      * This method should be used when the returned row limit may exceed
-     * {@link Integer.MAX_VALUE}.
+     * {@link Integer#MAX_VALUE}.
      *<p>
      * The default implementation will return {@code 0}
      *
@@ -1172,7 +1172,7 @@
      * </OL>
      * <p>
      * This method should be used when the returned row count may exceed
-     * {@link Integer.MAX_VALUE}.
+     * {@link Integer#MAX_VALUE}.
      *<p>
      * The default implementation will throw {@code UnsupportedOperationException}
      *
@@ -1203,7 +1203,7 @@
      * SQL statement that returns nothing, such as an SQL DDL statement.
      * <p>
      * This method should be used when the returned row count may exceed
-     * {@link Integer.MAX_VALUE}.
+     * {@link Integer#MAX_VALUE}.
      * <p>
      * <strong>Note:</strong>This method cannot be called on a
      * <code>PreparedStatement</code> or <code>CallableStatement</code>.
@@ -1242,7 +1242,7 @@
      * auto-generated keys (the list of such statements is vendor-specific).
      * <p>
      * This method should be used when the returned row count may exceed
-     * {@link Integer.MAX_VALUE}.
+     * {@link Integer#MAX_VALUE}.
      * <p>
      * <strong>Note:</strong>This method cannot be called on a
      * <code>PreparedStatement</code> or <code>CallableStatement</code>.
@@ -1290,7 +1290,7 @@
      * auto-generated keys (the list of such statements is vendor-specific).
      * <p>
      * This method should be used when the returned row count may exceed
-     * {@link Integer.MAX_VALUE}.
+     * {@link Integer#MAX_VALUE}.
      * <p>
      * <strong>Note:</strong>This method cannot be called on a
      * <code>PreparedStatement</code> or <code>CallableStatement</code>.
@@ -1334,7 +1334,7 @@
      * auto-generated keys (the list of such statements is vendor-specific).
      * <p>
      * This method should be used when the returned row count may exceed
-     * {@link Integer.MAX_VALUE}.
+     * {@link Integer#MAX_VALUE}.
      * <p>
      * <strong>Note:</strong>This method cannot be called on a
      * <code>PreparedStatement</code> or <code>CallableStatement</code>.
@@ -1368,4 +1368,3 @@
         throw new SQLFeatureNotSupportedException("executeLargeUpdate not implemented");
     }
 }
-