checkstyle常见错误解释
2011-10-13 13:46
246 查看
序号 输出内容意义
1 Type is missing a javadoc commentClass 缺少类型说明
2 “{” should be on the previous line “{” 应该位于前一行
3 Methos is missing a javadoc comment 方法前面缺少javadoc注释
4 Expected @throws tag for “Exception”在注释中希望有@throws的说明
5 “.” Is preceeded with whitespace “.” 前面不能有空格
6 “.” Is followed by whitespace“.” 后面不能有空格
7 “=” is not preceeded with whitespace“=” 前面缺少空格
8 “=” is not followed with whitespace“=” 后面缺少空格
9 “}” should be on the same line“}” 应该与下条语句位于同一行
10 Unused @param tag for “unused” 没有参数“unused”,不需注释
11 Variable “CA” missing javadoc 变量“CA”缺少javadoc注释
12 Line longer than 80characters 行长度超过80
13 Line contains a tab character 行含有”tab” 字符
14 Redundant “Public” modifier 冗余的“public” modifier
15 Final modifier out of order with the JSL suggestionFinalmodifier的顺序错误
16 Avoid using the “.*” form of importImport 格式避免使用“.*”
17 Redundant import from the same package 从同一个包中Import内容
18 Unused import-java.util.list Import进来的java.util.list没有被使用
19 Duplicate import to line 13 重复Import同一个内容
20 Import from illegal package 从非法包中 Import内容
21 “while” construct must use “{}” “while” 语句缺少“{}”
22 Variable “sTest1” must be private and have accessormethod 变量“sTest1”应该是private的,并且有调用它的方法
23 Variable “ABC” must match pattern“^[a-z][a-zA-Z0-9]*$” 变量“ABC”不符合命名规则“^[a-z][a-zA-Z0-9]*$”
24 “(” is followed by whitespace“(” 后面不能有空格
25 “)” is proceeded bywhitespace“)” 前面不能有空格
1 Type is missing a javadoc commentClass 缺少类型说明
2 “{” should be on the previous line “{” 应该位于前一行
3 Methos is missing a javadoc comment 方法前面缺少javadoc注释
4 Expected @throws tag for “Exception”在注释中希望有@throws的说明
5 “.” Is preceeded with whitespace “.” 前面不能有空格
6 “.” Is followed by whitespace“.” 后面不能有空格
7 “=” is not preceeded with whitespace“=” 前面缺少空格
8 “=” is not followed with whitespace“=” 后面缺少空格
9 “}” should be on the same line“}” 应该与下条语句位于同一行
10 Unused @param tag for “unused” 没有参数“unused”,不需注释
11 Variable “CA” missing javadoc 变量“CA”缺少javadoc注释
12 Line longer than 80characters 行长度超过80
13 Line contains a tab character 行含有”tab” 字符
14 Redundant “Public” modifier 冗余的“public” modifier
15 Final modifier out of order with the JSL suggestionFinalmodifier的顺序错误
16 Avoid using the “.*” form of importImport 格式避免使用“.*”
17 Redundant import from the same package 从同一个包中Import内容
18 Unused import-java.util.list Import进来的java.util.list没有被使用
19 Duplicate import to line 13 重复Import同一个内容
20 Import from illegal package 从非法包中 Import内容
21 “while” construct must use “{}” “while” 语句缺少“{}”
22 Variable “sTest1” must be private and have accessormethod 变量“sTest1”应该是private的,并且有调用它的方法
23 Variable “ABC” must match pattern“^[a-z][a-zA-Z0-9]*$” 变量“ABC”不符合命名规则“^[a-z][a-zA-Z0-9]*$”
24 “(” is followed by whitespace“(” 后面不能有空格
25 “)” is proceeded bywhitespace“)” 前面不能有空格
相关文章推荐
- checkstyle常见错误解释
- mysql常见错误代码解释
- Winsock编程中常见错误解释
- checkstyle常见错误
- Finereport常见的数据集报错错误代码和解释
- checkstyle常见错误
- Windows2KServer的系统日志中的常见错误收集和解释
- Mysql5.7 的错误日志中最常见的note级别日志解释
- 常见网络错误代码解释
- javascript常见错误解释
- Windows2KServer的系统日志中的常见错误收集和解释
- 邮件系统常见错误代码解释
- 返回时遇见的常见的错误解释
- DB2 常见错误号 解释
- 【转】puppet 常见错误解释及解决方法
- 邮件系统常见错误代码解释
- javascript常见错误解释
- GetMessage第二个参数常见错误的解释
- android adb install 安装软件常见错误列表解释
- Delphi常见错误代码及中文解释