return count Checkstyle rule/latest eclipse checkstyle plugin

Tom Zeller tzeller at dragonacea.biz
Mon Jul 11 15:27:04 EDT 2016


> Since the complaint is about a return count of 2, I assume we need to
> add maxForVoid[1,2], e.g. :
>
>     <module name="ReturnCount">
>       <property name="max" value="8"/>
>       <property name="maxForVoid" value="8"/>
>     </module>
>
> But doing so does not help, at least for me.

I misspoke, indeed we do need "maxForVoid" for Checkstyle 6.19+. Looks
like 6.18 does not complain about "maxForVoid" if it is present in
checkstyle.xml.

https://issues.shibboleth.net/jira/browse/JPAR-90


More information about the dev mailing list