Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_langtools
提交
13aed9b5
D
dragonwell8_langtools
项目概览
openanolis
/
dragonwell8_langtools
通知
0
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_langtools
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
13aed9b5
编写于
10月 30, 2012
作者:
J
jjg
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8001929: fix doclint errors in langtools doc comments
Reviewed-by: darcy
上级
33e96c31
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
7 addition
and
25 deletion
+7
-25
src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java
.../com/sun/tools/doclets/formats/html/HtmlDocletWriter.java
+1
-2
src/share/classes/com/sun/tools/doclets/formats/html/SplitIndexWriter.java
.../com/sun/tools/doclets/formats/html/SplitIndexWriter.java
+0
-2
src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java
.../sun/tools/doclets/formats/html/markup/HtmlDocWriter.java
+0
-10
src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlWriter.java
...com/sun/tools/doclets/formats/html/markup/HtmlWriter.java
+1
-3
src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DocPath.java
.../com/sun/tools/doclets/internal/toolkit/util/DocPath.java
+2
-2
src/share/classes/com/sun/tools/doclets/internal/toolkit/util/SourcePath.java
...m/sun/tools/doclets/internal/toolkit/util/SourcePath.java
+1
-1
src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Util.java
...ses/com/sun/tools/doclets/internal/toolkit/util/Util.java
+1
-3
src/share/classes/com/sun/tools/javac/code/TypeTag.java
src/share/classes/com/sun/tools/javac/code/TypeTag.java
+1
-1
src/share/classes/com/sun/tools/javac/comp/Attr.java
src/share/classes/com/sun/tools/javac/comp/Attr.java
+0
-1
未找到文件。
src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java
浏览文件 @
13aed9b5
...
@@ -860,8 +860,7 @@ public class HtmlDocletWriter extends HtmlDocWriter {
...
@@ -860,8 +860,7 @@ public class HtmlDocletWriter extends HtmlDocWriter {
}
}
/**
/**
* Return the path to the class page for a classdoc. Works same as
* Return the path to the class page for a classdoc.
* {@link #pathToClass(ClassDoc)}.
*
*
* @param cd Class to which the path is requested.
* @param cd Class to which the path is requested.
* @param name Name of the file(doesn't include path).
* @param name Name of the file(doesn't include path).
...
...
src/share/classes/com/sun/tools/doclets/formats/html/SplitIndexWriter.java
浏览文件 @
13aed9b5
...
@@ -62,8 +62,6 @@ public class SplitIndexWriter extends AbstractIndexWriter {
...
@@ -62,8 +62,6 @@ public class SplitIndexWriter extends AbstractIndexWriter {
* from this file.
* from this file.
*
*
* @param path Path to the file which is getting generated.
* @param path Path to the file which is getting generated.
* @param filename Name of the file which is getting genrated.
* @param relpath Relative path from this file to the current directory.
* @param indexbuilder Unicode based Index from {@link IndexBuilder}
* @param indexbuilder Unicode based Index from {@link IndexBuilder}
*/
*/
public
SplitIndexWriter
(
ConfigurationImpl
configuration
,
public
SplitIndexWriter
(
ConfigurationImpl
configuration
,
...
...
src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java
浏览文件 @
13aed9b5
...
@@ -75,8 +75,6 @@ public abstract class HtmlDocWriter extends HtmlWriter {
...
@@ -75,8 +75,6 @@ public abstract class HtmlDocWriter extends HtmlWriter {
* Return Html Hyper Link string.
* Return Html Hyper Link string.
*
*
* @param link String name of the file.
* @param link String name of the file.
* @param where Position of the link in the file. Character '#' is not
* needed.
* @param label Tag for the link.
* @param label Tag for the link.
* @param strong Boolean that sets label to strong.
* @param strong Boolean that sets label to strong.
* @return String Hyper Link.
* @return String Hyper Link.
...
@@ -95,8 +93,6 @@ public abstract class HtmlDocWriter extends HtmlWriter {
...
@@ -95,8 +93,6 @@ public abstract class HtmlDocWriter extends HtmlWriter {
* Get Html Hyper Link string.
* Get Html Hyper Link string.
*
*
* @param link String name of the file.
* @param link String name of the file.
* @param where Position of the link in the file. Character '#' is not
* needed.
* @param label Tag for the link.
* @param label Tag for the link.
* @param strong Boolean that sets label to strong.
* @param strong Boolean that sets label to strong.
* @param stylename String style of text defined in style sheet.
* @param stylename String style of text defined in style sheet.
...
@@ -131,8 +127,6 @@ public abstract class HtmlDocWriter extends HtmlWriter {
...
@@ -131,8 +127,6 @@ public abstract class HtmlDocWriter extends HtmlWriter {
* Get Html Hyper Link string.
* Get Html Hyper Link string.
*
*
* @param link String name of the file.
* @param link String name of the file.
* @param where Position of the link in the file. Character '#' is not
* needed.
* @param label Tag for the link.
* @param label Tag for the link.
* @return a content tree for the hyper link
* @return a content tree for the hyper link
*/
*/
...
@@ -150,8 +144,6 @@ public abstract class HtmlDocWriter extends HtmlWriter {
...
@@ -150,8 +144,6 @@ public abstract class HtmlDocWriter extends HtmlWriter {
* Get Html Hyper Link string.
* Get Html Hyper Link string.
*
*
* @param link String name of the file.
* @param link String name of the file.
* @param where Position of the link in the file. Character '#' is not
* needed.
* @param label Tag for the link.
* @param label Tag for the link.
* @param strong Boolean that sets label to strong.
* @param strong Boolean that sets label to strong.
* @param stylename String style of text defined in style sheet.
* @param stylename String style of text defined in style sheet.
...
@@ -201,8 +193,6 @@ public abstract class HtmlDocWriter extends HtmlWriter {
...
@@ -201,8 +193,6 @@ public abstract class HtmlDocWriter extends HtmlWriter {
* Get Html Hyper Link.
* Get Html Hyper Link.
*
*
* @param link String name of the file.
* @param link String name of the file.
* @param where Position of the link in the file. Character '#' is not
* needed.
* @param label Tag for the link.
* @param label Tag for the link.
* @param title String that describes the link's content for accessibility.
* @param title String that describes the link's content for accessibility.
* @param target Target frame.
* @param target Target frame.
...
...
src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlWriter.java
浏览文件 @
13aed9b5
...
@@ -149,14 +149,12 @@ public class HtmlWriter {
...
@@ -149,14 +149,12 @@ public class HtmlWriter {
*
*
* @param path The directory path to be created for this file
* @param path The directory path to be created for this file
* or null if none to be created.
* or null if none to be created.
* @param filename File Name to which the PrintWriter will
* do the Output.
* @exception IOException Exception raised by the FileWriter is passed on
* @exception IOException Exception raised by the FileWriter is passed on
* to next level.
* to next level.
* @exception UnsupportedEncodingException Exception raised by the
* @exception UnsupportedEncodingException Exception raised by the
* OutputStreamWriter is passed on to next level.
* OutputStreamWriter is passed on to next level.
*/
*/
public
HtmlWriter
(
Configuration
configuration
,
DocPath
path
)
public
HtmlWriter
(
Configuration
configuration
,
DocPath
path
)
throws
IOException
,
UnsupportedEncodingException
{
throws
IOException
,
UnsupportedEncodingException
{
writer
=
Util
.
genWriter
(
configuration
,
path
);
writer
=
Util
.
genWriter
(
configuration
,
path
);
this
.
configuration
=
configuration
;
this
.
configuration
=
configuration
;
...
...
src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DocPath.java
浏览文件 @
13aed9b5
...
@@ -114,13 +114,13 @@ public class DocPath {
...
@@ -114,13 +114,13 @@ public class DocPath {
path
=
(
p
.
endsWith
(
"/"
)
?
p
.
substring
(
0
,
p
.
length
()
-
1
)
:
p
);
path
=
(
p
.
endsWith
(
"/"
)
?
p
.
substring
(
0
,
p
.
length
()
-
1
)
:
p
);
}
}
/**
@inheritDoc
*/
/**
{@inheritDoc}
*/
@Override
@Override
public
boolean
equals
(
Object
other
)
{
public
boolean
equals
(
Object
other
)
{
return
(
other
instanceof
DocPath
)
&&
path
.
equals
(((
DocPath
)
other
).
path
);
return
(
other
instanceof
DocPath
)
&&
path
.
equals
(((
DocPath
)
other
).
path
);
}
}
/**
@inheritDoc
*/
/**
{@inheritDoc}
*/
@Override
@Override
public
int
hashCode
()
{
public
int
hashCode
()
{
return
path
.
hashCode
();
return
path
.
hashCode
();
...
...
src/share/classes/com/sun/tools/doclets/internal/toolkit/util/SourcePath.java
浏览文件 @
13aed9b5
...
@@ -110,7 +110,7 @@ public class SourcePath {
...
@@ -110,7 +110,7 @@ public class SourcePath {
/**
/**
* Find the specified directory in the source path.
* Find the specified directory in the source path.
*
*
* @param
name
Name of the directory to be searched for in the source path.
* @param
p
Name of the directory to be searched for in the source path.
* @return File Return the directory if found else return null.
* @return File Return the directory if found else return null.
*/
*/
public
File
getDirectory
(
DocPath
p
)
{
public
File
getDirectory
(
DocPath
p
)
{
...
...
src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Util.java
浏览文件 @
13aed9b5
...
@@ -397,7 +397,7 @@ public class Util {
...
@@ -397,7 +397,7 @@ public class Util {
* "java" and then "java/applet" if they don't exist. The file separator
* "java" and then "java/applet" if they don't exist. The file separator
* string "/" is platform dependent system property.
* string "/" is platform dependent system property.
*
*
* @param
path
Directory path string.
* @param
dir
Directory path string.
*/
*/
public
static
void
createDirectory
(
Configuration
configuration
,
File
dir
)
{
public
static
void
createDirectory
(
Configuration
configuration
,
File
dir
)
{
if
(
dir
==
null
)
{
if
(
dir
==
null
)
{
...
@@ -643,8 +643,6 @@ public class Util {
...
@@ -643,8 +643,6 @@ public class Util {
* FileOutputStream and OutputStreamWriter depending upon docencoding.
* FileOutputStream and OutputStreamWriter depending upon docencoding.
*
*
* @param path The directory path to be created for this file.
* @param path The directory path to be created for this file.
* @param filename File Name to which the PrintWriter will do the Output.
* @param docencoding Encoding to be used for this file.
* @exception IOException Exception raised by the FileWriter is passed on
* @exception IOException Exception raised by the FileWriter is passed on
* to next level.
* to next level.
* @exception UnsupportedEncodingException Exception raised by the
* @exception UnsupportedEncodingException Exception raised by the
...
...
src/share/classes/com/sun/tools/javac/code/TypeTag.java
浏览文件 @
13aed9b5
...
@@ -106,7 +106,7 @@ public enum TypeTag {
...
@@ -106,7 +106,7 @@ public enum TypeTag {
*/
*/
DEFERRED
,
DEFERRED
,
/** The tag of the bottom type
<null>
.
/** The tag of the bottom type
{@code <null>}
.
*/
*/
BOT
,
BOT
,
...
...
src/share/classes/com/sun/tools/javac/comp/Attr.java
浏览文件 @
13aed9b5
...
@@ -227,7 +227,6 @@ public class Attr extends JCTree.Visitor {
...
@@ -227,7 +227,6 @@ public class Attr extends JCTree.Visitor {
* are correct.
* are correct.
*
*
* @param tree The tree whose kind and type is checked
* @param tree The tree whose kind and type is checked
* @param owntype The computed type of the tree
* @param ownkind The computed kind of the tree
* @param ownkind The computed kind of the tree
* @param resultInfo The expected result of the tree
* @param resultInfo The expected result of the tree
*/
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录