Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SuppressionFilter: add suppression by message #2804
I would like an option in the "suppression.xml" to suppress specific messages of a check.
Currently I am trying to extend my javadoc collection. I know alot of them don't exist, but I still want to validate the ones that do exist. Most of the javadoc checks, like JavadocTypeCheck, report multiple errors including that the javadoc is missing. To prevent my console from being flooded with missing errors, I would like to suppress them, however "suppressions.xml" only supports suppressing the check as a whole and not the individual errors it reports.
My example suppressing javadoc is missing message from all checks:
With this suppression and my config containing "JavadocTypeCheck", I expect to see no errors reporting my javadoc is missing (javadoc.missing), and expect to see other errors like a tag is missing (type.missingTag).
update need to be done for XML structure http://checkstyle.sourceforge.net/config.html#XML_Structure "Suppressions XML Document" .
This is issue is blocked by #1571