Checkstyle throwsindent属性不可用

时间:2014-04-29 11:19:25

标签: checkstyle

我的checkstyle缩进模块没有“throwsIndent”属性。这个房产有没有其他选择?

Checkstyle doc存在“throwsIndent”的地方 - http://checkstyle.sourceforge.net/config_misc.html

1 个答案:

答案 0 :(得分:1)

Indentation检查的throwsIndent属性添加了Checkstyle 5.7,这是撰写本文时的最新版本。据我所知,对于5.7之前的Checkstyle版本,此属性没有解决方法。

所以你最好的选择是升级你的Checkstyle版本。如果您使用的是Eclipse,则可以升级到最新版本的Eclipse-CS插件,其中还包括最新的Checkstyle。对于CheckStyle-IDEA,IntelliJ IDEA的Checkstyle插件也是如此。

相关问题