Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Checkstyle: cleanup closing tags for modules that have no child tags #807

Open
vivekscl opened this issue Jan 20, 2018 · 0 comments
Open

Comments

@vivekscl
Copy link
Contributor

For tags that have no child tags, there should be no closing tags. Instead, they should end with a slash after the opening tag and have the comment placed above it. For instance,

<module name="FileTabCharacter">
    <!-- Checks that there are no tab characters in the file. -->
  </module>

should be this

<!-- Checks that there are no tab characters in the file. -->
<module name="FileTabCharacter"/>

instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants