--- old/src/share/classes/java/sql/Statement.java 2013-06-10 10:37:49.685879124 +0100
+++ new/src/share/classes/java/sql/Statement.java 2013-06-10 10:37:49.417879130 +0100
@@ -144,7 +144,7 @@
* @param max the new column size limit in bytes; zero means there is no limit
* @exception SQLException if a database access error occurs,
* this method is called on a closed Statement
- * or the condition max >= 0 is not satisfied
+ * or the condition {@code max >= 0} is not satisfied
* @see #getMaxFieldSize
*/
void setMaxFieldSize(int max) throws SQLException;
@@ -174,7 +174,7 @@
* @param max the new max rows limit; zero means there is no limit
* @exception SQLException if a database access error occurs,
* this method is called on a closed Statement
- * or the condition max >= 0 is not satisfied
+ * or the condition {@code max >= 0} is not satisfied
* @see #getMaxRows
*/
void setMaxRows(int max) throws SQLException;
@@ -240,7 +240,7 @@
* there is no limit
* @exception SQLException if a database access error occurs,
* this method is called on a closed Statement
- * or the condition seconds >= 0 is not satisfied
+ * or the condition {@code seconds >= 0} is not satisfied
* @see #getQueryTimeout
*/
void setQueryTimeout(int seconds) throws SQLException;
@@ -385,10 +385,10 @@
* object(s) obtained with the method getResultSet
.
*
*
There are no more results when the following is true: - *
+ ** * @return{@code * // stmt is a Statement object * ((stmt.getMoreResults() == false) && (stmt.getUpdateCount() == -1)) - *+ * }
true
if the next result is a ResultSet
* object; false
if it is an update count or there are
@@ -452,7 +452,7 @@
* @param rows the number of rows to fetch
* @exception SQLException if a database access error occurs,
* this method is called on a closed Statement
or the
- * condition rows >= 0
is not satisfied.
+ * condition {@code rows >= 0} is not satisfied.
* @since 1.2
* @see #getFetchSize
*/
@@ -665,10 +665,10 @@
* true
if the next result is a ResultSet
object.
*
* There are no more results when the following is true: - *
+ ** * @param current one of the following{@code * // stmt is a Statement object * ((stmt.getMoreResults(current) == false) && (stmt.getUpdateCount() == -1)) - *+ * }
Statement
* constants indicating what should happen to current
@@ -1107,7 +1107,7 @@
* @param max the new max rows limit; zero means there is no limit
* @exception SQLException if a database access error occurs,
* this method is called on a closed Statement
- * or the condition max >= 0 is not satisfied
+ * or the condition {@code max >= 0} is not satisfied
* @see #getMaxRows
* @since 1.8
*/