won*_*t77 7 java checkstyle google-style-guide
我在eclipse luna的checkstyle插件中使用了谷歌java风格.在我的java文档中看到这个错误,但似乎无法找到如何解决它.这是次要的,但它困扰我.
我的javadoc:
/**
* This is a description of something
*
* @throws Exception
*/
Run Code Online (Sandbox Code Playgroud)
错误在@throws行上,错误:
At-clause should have a non-empty description
Run Code Online (Sandbox Code Playgroud)
Lou*_*man 11
通常,你应该写
* @throws Exception when this exceptional condition happens
Run Code Online (Sandbox Code Playgroud)
例如
* @throws IllegalArgumentException when num is negative
Run Code Online (Sandbox Code Playgroud)
......并且通常解释为什么会发生这种例外.
| 归档时间: |
|
| 查看次数: |
5710 次 |
| 最近记录: |