Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
e0ece442
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
e0ece442
编写于
1月 21, 2013
作者:
L
lancea
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8006642: Fix javadoc warnings due to Integer.MAX_VALUE
Reviewed-by: alanb
上级
3debf484
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
12 deletion
+11
-12
src/share/classes/java/sql/BatchUpdateException.java
src/share/classes/java/sql/BatchUpdateException.java
+2
-2
src/share/classes/java/sql/PreparedStatement.java
src/share/classes/java/sql/PreparedStatement.java
+1
-1
src/share/classes/java/sql/Statement.java
src/share/classes/java/sql/Statement.java
+8
-9
未找到文件。
src/share/classes/java/sql/BatchUpdateException.java
浏览文件 @
e0ece442
...
@@ -409,7 +409,7 @@ public class BatchUpdateException extends SQLException {
...
@@ -409,7 +409,7 @@ public class BatchUpdateException extends SQLException {
* <code>cause</code> and <code>updateCounts</code>.
* <code>cause</code> and <code>updateCounts</code>.
* <p>
* <p>
* This constructor should be used when the returned update count may exceed
* This constructor should be used when the returned update count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
* <p>
* <p>
* @param reason a description of the error
* @param reason a description of the error
* @param SQLState an XOPEN or SQL:2003 code identifying the exception
* @param SQLState an XOPEN or SQL:2003 code identifying the exception
...
@@ -447,7 +447,7 @@ public class BatchUpdateException extends SQLException {
...
@@ -447,7 +447,7 @@ public class BatchUpdateException extends SQLException {
* the <code>BatchUpdateException</code> was thrown.
* the <code>BatchUpdateException</code> was thrown.
* <p>
* <p>
* This method should be used when {@code Statement.executeLargeBatch} is
* 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>
* <p>
* @return an array of <code>long</code> containing the update counts
* @return an array of <code>long</code> containing the update counts
* for the updates that were executed successfully before this error
* for the updates that were executed successfully before this error
...
...
src/share/classes/java/sql/PreparedStatement.java
浏览文件 @
e0ece442
...
@@ -1300,7 +1300,7 @@ public interface PreparedStatement extends Statement {
...
@@ -1300,7 +1300,7 @@ public interface PreparedStatement extends Statement {
* such as a DDL statement.
* such as a DDL statement.
* <p>
* <p>
* This method should be used when the returned row count may exceed
* This method should be used when the returned row count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
* <p>
* <p>
* The default implementation will throw {@code UnsupportedOperationException}
* The default implementation will throw {@code UnsupportedOperationException}
*
*
...
...
src/share/classes/java/sql/Statement.java
浏览文件 @
e0ece442
...
@@ -1077,7 +1077,7 @@ public interface Statement extends Wrapper, AutoCloseable {
...
@@ -1077,7 +1077,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* is returned. This method should be called only once per result.
* is returned. This method should be called only once per result.
* <p>
* <p>
* This method should be used when the returned row count may exceed
* This method should be used when the returned row count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
*<p>
*<p>
* The default implementation will throw {@code UnsupportedOperationException}
* The default implementation will throw {@code UnsupportedOperationException}
*
*
...
@@ -1100,7 +1100,7 @@ public interface Statement extends Wrapper, AutoCloseable {
...
@@ -1100,7 +1100,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* rows are silently dropped.
* rows are silently dropped.
* <p>
* <p>
* This method should be used when the row limit may exceed
* This method should be used when the row limit may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
*<p>
*<p>
* The default implementation will throw {@code UnsupportedOperationException}
* The default implementation will throw {@code UnsupportedOperationException}
*
*
...
@@ -1122,7 +1122,7 @@ public interface Statement extends Wrapper, AutoCloseable {
...
@@ -1122,7 +1122,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* the excess rows are silently dropped.
* the excess rows are silently dropped.
* <p>
* <p>
* This method should be used when the returned row limit may exceed
* This method should be used when the returned row limit may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
*<p>
*<p>
* The default implementation will return {@code 0}
* The default implementation will return {@code 0}
*
*
...
@@ -1172,7 +1172,7 @@ public interface Statement extends Wrapper, AutoCloseable {
...
@@ -1172,7 +1172,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* </OL>
* </OL>
* <p>
* <p>
* This method should be used when the returned row count may exceed
* This method should be used when the returned row count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
*<p>
*<p>
* The default implementation will throw {@code UnsupportedOperationException}
* The default implementation will throw {@code UnsupportedOperationException}
*
*
...
@@ -1203,7 +1203,7 @@ public interface Statement extends Wrapper, AutoCloseable {
...
@@ -1203,7 +1203,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* SQL statement that returns nothing, such as an SQL DDL statement.
* SQL statement that returns nothing, such as an SQL DDL statement.
* <p>
* <p>
* This method should be used when the returned row count may exceed
* This method should be used when the returned row count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
* <p>
* <p>
* <strong>Note:</strong>This method cannot be called on a
* <strong>Note:</strong>This method cannot be called on a
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
...
@@ -1242,7 +1242,7 @@ public interface Statement extends Wrapper, AutoCloseable {
...
@@ -1242,7 +1242,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* auto-generated keys (the list of such statements is vendor-specific).
* auto-generated keys (the list of such statements is vendor-specific).
* <p>
* <p>
* This method should be used when the returned row count may exceed
* This method should be used when the returned row count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
* <p>
* <p>
* <strong>Note:</strong>This method cannot be called on a
* <strong>Note:</strong>This method cannot be called on a
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
...
@@ -1290,7 +1290,7 @@ public interface Statement extends Wrapper, AutoCloseable {
...
@@ -1290,7 +1290,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* auto-generated keys (the list of such statements is vendor-specific).
* auto-generated keys (the list of such statements is vendor-specific).
* <p>
* <p>
* This method should be used when the returned row count may exceed
* This method should be used when the returned row count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
* <p>
* <p>
* <strong>Note:</strong>This method cannot be called on a
* <strong>Note:</strong>This method cannot be called on a
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
...
@@ -1334,7 +1334,7 @@ public interface Statement extends Wrapper, AutoCloseable {
...
@@ -1334,7 +1334,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* auto-generated keys (the list of such statements is vendor-specific).
* auto-generated keys (the list of such statements is vendor-specific).
* <p>
* <p>
* This method should be used when the returned row count may exceed
* This method should be used when the returned row count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
* <p>
* <p>
* <strong>Note:</strong>This method cannot be called on a
* <strong>Note:</strong>This method cannot be called on a
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
...
@@ -1368,4 +1368,3 @@ public interface Statement extends Wrapper, AutoCloseable {
...
@@ -1368,4 +1368,3 @@ public interface Statement extends Wrapper, AutoCloseable {
throw
new
SQLFeatureNotSupportedException
(
"executeLargeUpdate not implemented"
);
throw
new
SQLFeatureNotSupportedException
(
"executeLargeUpdate not implemented"
);
}
}
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录