I'm using Netbeans 8.2 and the google_checks.xml file to configure CheckStyle
This is the error that Netbeans is showing:
It seems to be this part of the file:
<module name="SeparatorWrap">
<property name="id" value="SeparatorWrapMethodRef"/>
<property name="tokens" value="METHOD_REF"/>
<property name="option" value="nl"/>
</module>
But according to the doc it is a valid value.
How can I fix this?
Update
According to this answer the problem is that the google_checks.xml
I downloaded is using a newer configuration of Checkstyle.
I'm using the Checkstyle Netbeans plugin version 8.1, where can I find the correct google_checks.xml
file for that version? I tried downloading the maven-checkstyle-plugin
jar from Maven and looking for the file in there but I can't find it.