阅读Oracle的Javadoc文档,我注意到作者没有关闭<p>标记.
/**
* The method used for creating the tree. Any structural
* modifications to the display of the Jtree should be done
* by overriding this method.
* <p>
* This method adds an anonymous TreeSelectionListener to
* the returned JTree. Upon receiving TreeSelectionEvents,
* this listener calls refresh with the selected node as a
* parameter.
*/
public JTree makeTree(AreaInfo ai){
}
Run Code Online (Sandbox Code Playgroud)
文件说明:
如果文档注释中有多个段落,请使用
<p>段落标记分隔段落,如图所示.
在Eclipse中,Javadoc格式正确,但仅仅因为它有效,它是否意味着它是"正确的"?
| 归档时间: |
|
| 查看次数: |
2226 次 |
| 最近记录: |