checkstyle.xml line 92 configures AvoidNestedBlocks with a trailing space in the property name:
<module name="AvoidNestedBlocks">
<property name="allowInSwitchCase " value="true" />
</module>
It should be name="allowInSwitchCase". Checkstyle 9.3 (maven-checkstyle-plugin 3.6.0) does not fail on it, so the build is unaffected today, but the typo should not depend on that tolerance, and the setting may not be applied as intended.
Found while copying this file to ipmi-java (MetricsHub/ipmi-java#117), which ships the corrected line in MetricsHub/ipmi-java#119. Fixing it here keeps the two files byte-identical; the other MetricsHub projects that copy jawk's checkstyle.xml should pick up the fix too.
🤖 Generated with Claude Code
checkstyle.xmlline 92 configuresAvoidNestedBlockswith a trailing space in the property name:It should be
name="allowInSwitchCase". Checkstyle 9.3 (maven-checkstyle-plugin 3.6.0) does not fail on it, so the build is unaffected today, but the typo should not depend on that tolerance, and the setting may not be applied as intended.Found while copying this file to ipmi-java (MetricsHub/ipmi-java#117), which ships the corrected line in MetricsHub/ipmi-java#119. Fixing it here keeps the two files byte-identical; the other MetricsHub projects that copy jawk's
checkstyle.xmlshould pick up the fix too.🤖 Generated with Claude Code