/**
* for database operation.
* main execute class is {@link org.test.toolkit.database.DefaultDbClient}
*
* @author
*
*/
不生成语句:主执行类是....
/**
* for database operation,
* main execute class is {@link org.test.toolkit.database.DefaultDbClient}
*
* @author
*
*/
这会生成语句:main execute class is ....,
为什么?是 JavaDoc 错误还是 IDE 错误还是我的问题?唯一的区别是结尾是 .
或 ,
.
最佳答案
JavaDoc 使用 the first sentence的评论作为摘要。句子以句号 .
.
This sentence ends at the first period that is followed by a blank, tab, or line terminator, or at the first tag [...].
关于JavaDoc 不生成带句号的语句,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12275647/