return count Checkstyle rule/latest eclipse checkstyle plugin
Tom Zeller
tzeller at dragonacea.biz
Mon Jul 11 14:49:52 EDT 2016
>> you might want to avoid this update.
Confirming the issue with the latest Checkstyle plugin for Eclipse.
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. So ... I plan on changing
the parent-v3 POM to pin/lock the Checkstyle version, at least for
Maven[3], but that won't help Eclipse of course.
[1] http://checkstyle.sourceforge.net/config_coding.html#ReturnCount
[2] https://github.com/checkstyle/checkstyle/issues/3143
[3] https://issues.shibboleth.net/jira/browse/JPAR-77
More information about the dev
mailing list