Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell11
提交
ae646656
D
dragonwell11
项目概览
openanolis
/
dragonwell11
通知
7
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell11
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
ae646656
编写于
9月 09, 2009
作者:
L
lancea
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6737212: Fixed javadoc warning messages in RowSet classes
Reviewed-by: darcy
上级
23703a9c
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
34 addition
and
35 deletion
+34
-35
jdk/src/share/classes/com/sun/rowset/JdbcRowSetResourceBundle.java
...hare/classes/com/sun/rowset/JdbcRowSetResourceBundle.java
+2
-2
jdk/src/share/classes/com/sun/rowset/JoinRowSetImpl.java
jdk/src/share/classes/com/sun/rowset/JoinRowSetImpl.java
+0
-1
jdk/src/share/classes/com/sun/rowset/internal/WebRowSetXmlReader.java
...e/classes/com/sun/rowset/internal/WebRowSetXmlReader.java
+11
-11
jdk/src/share/classes/javax/sql/rowset/BaseRowSet.java
jdk/src/share/classes/javax/sql/rowset/BaseRowSet.java
+21
-21
未找到文件。
jdk/src/share/classes/com/sun/rowset/JdbcRowSetResourceBundle.java
浏览文件 @
ae646656
...
@@ -133,7 +133,7 @@ public class JdbcRowSetResourceBundle implements Serializable {
...
@@ -133,7 +133,7 @@ public class JdbcRowSetResourceBundle implements Serializable {
* This method returns an enumerated handle of the keys
* This method returns an enumerated handle of the keys
* which correspond to values translated to various locales.
* which correspond to values translated to various locales.
*
*
* @return
s an enumerated
keys which have messages tranlated to
* @return
an enumeration of
keys which have messages tranlated to
* corresponding locales.
* corresponding locales.
*/
*/
public
Enumeration
getKeys
()
{
public
Enumeration
getKeys
()
{
...
@@ -146,7 +146,7 @@ public class JdbcRowSetResourceBundle implements Serializable {
...
@@ -146,7 +146,7 @@ public class JdbcRowSetResourceBundle implements Serializable {
* returns the corresponding value reading it
* returns the corresponding value reading it
* from the Resource Bundle loaded earlier.
* from the Resource Bundle loaded earlier.
*
*
* @return
s
value in locale specific language
* @return value in locale specific language
* according to the key passed.
* according to the key passed.
*/
*/
public
Object
handleGetObject
(
String
key
)
{
public
Object
handleGetObject
(
String
key
)
{
...
...
jdk/src/share/classes/com/sun/rowset/JoinRowSetImpl.java
浏览文件 @
ae646656
...
@@ -3737,7 +3737,6 @@ public class JoinRowSetImpl extends WebRowSetImpl implements JoinRowSet {
...
@@ -3737,7 +3737,6 @@ public class JoinRowSetImpl extends WebRowSetImpl implements JoinRowSet {
* Returns a result set containing the original value of the current
* Returns a result set containing the original value of the current
* row only.
* row only.
*
*
* @return the original result set of the row
* @throws SQLException if there is no current row
* @throws SQLException if there is no current row
* @see #setOriginalRow
* @see #setOriginalRow
*/
*/
...
...
jdk/src/share/classes/com/sun/rowset/internal/WebRowSetXmlReader.java
浏览文件 @
ae646656
...
@@ -46,6 +46,17 @@ import javax.sql.rowset.spi.*;
...
@@ -46,6 +46,17 @@ import javax.sql.rowset.spi.*;
*/
*/
public
class
WebRowSetXmlReader
implements
XmlReader
,
Serializable
{
public
class
WebRowSetXmlReader
implements
XmlReader
,
Serializable
{
private
JdbcRowSetResourceBundle
resBundle
;
public
WebRowSetXmlReader
(){
try
{
resBundle
=
JdbcRowSetResourceBundle
.
getJdbcRowSetResourceBundle
();
}
catch
(
IOException
ioe
)
{
throw
new
RuntimeException
(
ioe
);
}
}
/**
/**
* Parses the given <code>WebRowSet</code> object, getting its input from
* Parses the given <code>WebRowSet</code> object, getting its input from
* the given <code>java.io.Reader</code> object. The parser will send
* the given <code>java.io.Reader</code> object. The parser will send
...
@@ -69,17 +80,6 @@ public class WebRowSetXmlReader implements XmlReader, Serializable {
...
@@ -69,17 +80,6 @@ public class WebRowSetXmlReader implements XmlReader, Serializable {
* reader for the given rowset
* reader for the given rowset
* @see XmlReaderContentHandler
* @see XmlReaderContentHandler
*/
*/
private
JdbcRowSetResourceBundle
resBundle
;
public
WebRowSetXmlReader
(){
try
{
resBundle
=
JdbcRowSetResourceBundle
.
getJdbcRowSetResourceBundle
();
}
catch
(
IOException
ioe
)
{
throw
new
RuntimeException
(
ioe
);
}
}
public
void
readXML
(
WebRowSet
caller
,
java
.
io
.
Reader
reader
)
throws
SQLException
{
public
void
readXML
(
WebRowSet
caller
,
java
.
io
.
Reader
reader
)
throws
SQLException
{
try
{
try
{
// Crimson Parser(as in J2SE 1.4.1 is NOT able to handle
// Crimson Parser(as in J2SE 1.4.1 is NOT able to handle
...
...
jdk/src/share/classes/javax/sql/rowset/BaseRowSet.java
浏览文件 @
ae646656
...
@@ -168,8 +168,8 @@ import javax.sql.rowset.serial.*;
...
@@ -168,8 +168,8 @@ import javax.sql.rowset.serial.*;
* The majority of methods for setting placeholder parameters take two parameters,
* The majority of methods for setting placeholder parameters take two parameters,
* with the first parameter
* with the first parameter
* indicating which placeholder parameter is to be set, and the second parameter
* indicating which placeholder parameter is to be set, and the second parameter
* giving the value to be set. Methods such as <code>
g
etInt</code>,
* giving the value to be set. Methods such as <code>
s
etInt</code>,
* <code>
getString</code>, <code>getBoolean</code>, and <code>g
etLong</code> fall into
* <code>
setString</code>, <code>setBoolean</code>, and <code>s
etLong</code> fall into
* this category. After these methods have been called, a call to the method
* this category. After these methods have been called, a call to the method
* <code>getParams</code> will return an array with the values that have been set. Each
* <code>getParams</code> will return an array with the values that have been set. Each
* element in the array is an <code>Object</code> instance representing the
* element in the array is an <code>Object</code> instance representing the
...
@@ -3259,9 +3259,9 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -3259,9 +3259,9 @@ public static final int ASCII_STREAM_PARAM = 2;
* @param x the parameter value
* @param x the parameter value
* @exception SQLException if a database access error occurs or
* @exception SQLException if a database access error occurs or
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @see #getBoolean
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #getParams
* @since 1.4
* @since 1.4
*/
*/
public
void
setBoolean
(
String
parameterName
,
boolean
x
)
throws
SQLException
{
public
void
setBoolean
(
String
parameterName
,
boolean
x
)
throws
SQLException
{
...
@@ -3281,7 +3281,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -3281,7 +3281,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
Byte
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setByte
(
String
parameterName
,
byte
x
)
throws
SQLException
{
public
void
setByte
(
String
parameterName
,
byte
x
)
throws
SQLException
{
...
@@ -3301,7 +3301,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -3301,7 +3301,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
Short
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setShort
(
String
parameterName
,
short
x
)
throws
SQLException
{
public
void
setShort
(
String
parameterName
,
short
x
)
throws
SQLException
{
...
@@ -3320,7 +3320,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -3320,7 +3320,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
Int
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setInt
(
String
parameterName
,
int
x
)
throws
SQLException
{
public
void
setInt
(
String
parameterName
,
int
x
)
throws
SQLException
{
...
@@ -3339,7 +3339,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -3339,7 +3339,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
Long
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setLong
(
String
parameterName
,
long
x
)
throws
SQLException
{
public
void
setLong
(
String
parameterName
,
long
x
)
throws
SQLException
{
...
@@ -3358,7 +3358,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -3358,7 +3358,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
Float
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setFloat
(
String
parameterName
,
float
x
)
throws
SQLException
{
public
void
setFloat
(
String
parameterName
,
float
x
)
throws
SQLException
{
...
@@ -3377,7 +3377,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -3377,7 +3377,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
Double
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setDouble
(
String
parameterName
,
double
x
)
throws
SQLException
{
public
void
setDouble
(
String
parameterName
,
double
x
)
throws
SQLException
{
...
@@ -3398,7 +3398,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -3398,7 +3398,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
BigDecimal
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setBigDecimal
(
String
parameterName
,
BigDecimal
x
)
throws
SQLException
{
public
void
setBigDecimal
(
String
parameterName
,
BigDecimal
x
)
throws
SQLException
{
...
@@ -3421,7 +3421,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -3421,7 +3421,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
String
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setString
(
String
parameterName
,
String
x
)
throws
SQLException
{
public
void
setString
(
String
parameterName
,
String
x
)
throws
SQLException
{
...
@@ -3443,7 +3443,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -3443,7 +3443,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
Byte
s
* @see #get
Param
s
* @since 1.4
* @since 1.4
*/
*/
public
void
setBytes
(
String
parameterName
,
byte
x
[])
throws
SQLException
{
public
void
setBytes
(
String
parameterName
,
byte
x
[])
throws
SQLException
{
...
@@ -3464,7 +3464,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -3464,7 +3464,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
Timestamp
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setTimestamp
(
String
parameterName
,
java
.
sql
.
Timestamp
x
)
public
void
setTimestamp
(
String
parameterName
,
java
.
sql
.
Timestamp
x
)
...
@@ -3712,7 +3712,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -3712,7 +3712,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* or <code>STRUCT</code> data type and the JDBC driver does not support
* or <code>STRUCT</code> data type and the JDBC driver does not support
* this data type
* this data type
* @see Types
* @see Types
* @see #get
Object
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setObject
(
String
parameterName
,
Object
x
,
int
targetSqlType
,
int
scale
)
public
void
setObject
(
String
parameterName
,
Object
x
,
int
targetSqlType
,
int
scale
)
...
@@ -3740,7 +3740,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -3740,7 +3740,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* <code>REF</code>, <code>ROWID</code>, <code>SQLXML</code>
* <code>REF</code>, <code>ROWID</code>, <code>SQLXML</code>
* or <code>STRUCT</code> data type and the JDBC driver does not support
* or <code>STRUCT</code> data type and the JDBC driver does not support
* this data type
* this data type
* @see #get
Object
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setObject
(
String
parameterName
,
Object
x
,
int
targetSqlType
)
public
void
setObject
(
String
parameterName
,
Object
x
,
int
targetSqlType
)
...
@@ -3782,7 +3782,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -3782,7 +3782,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* <code>Object</code> parameter is ambiguous
* <code>Object</code> parameter is ambiguous
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
Object
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setObject
(
String
parameterName
,
Object
x
)
throws
SQLException
{
public
void
setObject
(
String
parameterName
,
Object
x
)
throws
SQLException
{
...
@@ -4064,7 +4064,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -4064,7 +4064,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
Date
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setDate
(
String
parameterName
,
java
.
sql
.
Date
x
)
public
void
setDate
(
String
parameterName
,
java
.
sql
.
Date
x
)
...
@@ -4091,7 +4091,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -4091,7 +4091,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
Date
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setDate
(
String
parameterName
,
java
.
sql
.
Date
x
,
Calendar
cal
)
public
void
setDate
(
String
parameterName
,
java
.
sql
.
Date
x
,
Calendar
cal
)
...
@@ -4111,7 +4111,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -4111,7 +4111,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
Time
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setTime
(
String
parameterName
,
java
.
sql
.
Time
x
)
public
void
setTime
(
String
parameterName
,
java
.
sql
.
Time
x
)
...
@@ -4138,7 +4138,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -4138,7 +4138,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
Time
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setTime
(
String
parameterName
,
java
.
sql
.
Time
x
,
Calendar
cal
)
public
void
setTime
(
String
parameterName
,
java
.
sql
.
Time
x
,
Calendar
cal
)
...
@@ -4165,7 +4165,7 @@ public static final int ASCII_STREAM_PARAM = 2;
...
@@ -4165,7 +4165,7 @@ public static final int ASCII_STREAM_PARAM = 2;
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* @exception SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* this method
* @see #get
Timestamp
* @see #get
Params
* @since 1.4
* @since 1.4
*/
*/
public
void
setTimestamp
(
String
parameterName
,
java
.
sql
.
Timestamp
x
,
Calendar
cal
)
public
void
setTimestamp
(
String
parameterName
,
java
.
sql
.
Timestamp
x
,
Calendar
cal
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录