Java程序中的Checkstyle修复 [英] Checkstyle fixes in java programme
本文介绍了Java程序中的Checkstyle修复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在修复项目的Java程序中的checkstyle错误和警告,
但是我在解决上述
修补程序方面遇到问题
1.关于可执行语句计数
2.返回计数为5(最多允许4个)
3.条件逻辑可以在if语句中删除
我没有收到有关checkstyle插件的信息.我可以得到它的解决方案吗?
谢谢,
Amol
Hi ,
I m fixing the checkstyle errors & warning from the my java programmes of my projects,
but i m having problems to solve above fixes like
1.About Executable statement count
2.Return count is 5 (max 4 is allowed)
3.Conditional logic can be removed in if statement
I not getting stuff about the checkstyle plug in. can I get its solution?
Thanks,
Amol
推荐答案
您可以
-解决问题
为了帮助您,我们需要查看这些警告周围的代码.
-更改Checkstyle设置
对于Eclipse: Checkstyle配置教程 [
you can
- fix the problems
To help you with that we would need to see the code around those warnings.
- change the Checkstyle settings
for Eclipse: Checkstyle Config Tutorial[^]
这篇关于Java程序中的Checkstyle修复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文