Detected at https://github.com/checkstyle/checkstyle/pull/18802/changes
In that PR we did big progress, but still missed main reason for users to see in html pages java snippet that has some header and it slightly not matching to what is required.
What we should do:
Update src/xdocs-examples/resources/com/puppycrawl/tools/checkstyle/checks/header/multifileregexpheader/Example4.java to have no comments of any kind in place where header is required.
Update verifyWithExternalXmlConfig to allow example file to have ability to have no requirements for // xdoc section -- start if such comments does not exists.
Remove // xdoc section -- start from all examples of multifileregexpheader.
Detected at https://github.com/checkstyle/checkstyle/pull/18802/changes
In that PR we did big progress, but still missed main reason for users to see in html pages java snippet that has some header and it slightly not matching to what is required.
What we should do:
Update src/xdocs-examples/resources/com/puppycrawl/tools/checkstyle/checks/header/multifileregexpheader/Example4.java to have no comments of any kind in place where header is required.
Update verifyWithExternalXmlConfig to allow example file to have ability to have no requirements for
// xdoc section -- startif such comments does not exists.Remove
// xdoc section -- startfrom all examples of multifileregexpheader.