Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
65e7ace7
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看板
提交
65e7ace7
编写于
12月 09, 2009
作者:
M
malenkov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
4638075: DOC: Doc for java.beans.PropertyDescriptor.getPropertyType() is incorrect.
Reviewed-by: gsm
上级
34ffecb3
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
16 addition
and
11 deletion
+16
-11
src/share/classes/java/beans/IndexedPropertyDescriptor.java
src/share/classes/java/beans/IndexedPropertyDescriptor.java
+7
-4
src/share/classes/java/beans/PropertyDescriptor.java
src/share/classes/java/beans/PropertyDescriptor.java
+9
-7
未找到文件。
src/share/classes/java/beans/IndexedPropertyDescriptor.java
浏览文件 @
65e7ace7
...
@@ -313,11 +313,14 @@ perty.
...
@@ -313,11 +313,14 @@ perty.
}
}
/**
/**
* Gets the <code>Class</code> object of the indexed properties' type.
* Returns the Java type info for the indexed property.
* The returned <code>Class</code> may describe a primitive type such as <code>int</code>.
* Note that the {@code Class} object may describe
* primitive Java types such as {@code int}.
* This type is returned by the indexed read method
* or is used as the parameter type of the indexed write method.
*
*
* @return
The <code>Class</code> for the indexed properties' type; may return <code>null</code>
* @return
the {@code Class} object that represents the Java type info,
*
if the type cannot be determined.
*
or {@code null} if the type cannot be determined
*/
*/
public
synchronized
Class
<?>
getIndexedPropertyType
()
{
public
synchronized
Class
<?>
getIndexedPropertyType
()
{
Class
type
=
getIndexedPropertyType0
();
Class
type
=
getIndexedPropertyType0
();
...
...
src/share/classes/java/beans/PropertyDescriptor.java
浏览文件 @
65e7ace7
...
@@ -164,14 +164,16 @@ public class PropertyDescriptor extends FeatureDescriptor {
...
@@ -164,14 +164,16 @@ public class PropertyDescriptor extends FeatureDescriptor {
}
}
/**
/**
* Gets the Class object for the property.
* Returns the Java type info for the property.
* Note that the {@code Class} object may describe
* primitive Java types such as {@code int}.
* This type is returned by the read method
* or is used as the parameter type of the write method.
* Returns {@code null} if the type is an indexed property
* that does not support non-indexed access.
*
*
* @return The Java type info for the property. Note that
* @return the {@code Class} object that represents the Java type info,
* the "Class" object may describe a built-in Java type such as "int".
* or {@code null} if the type cannot be determined
* The result may be "null" if this is an indexed property that
* does not support non-indexed access.
* <p>
* This is the type that will be returned by the ReadMethod.
*/
*/
public
synchronized
Class
<?>
getPropertyType
()
{
public
synchronized
Class
<?>
getPropertyType
()
{
Class
type
=
getPropertyType0
();
Class
type
=
getPropertyType0
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录