From 085dd5f174caf0190c6ef07a9bfddbe0746426e1 Mon Sep 17 00:00:00 2001 From: Shrey Kumar Singh Date: Sun, 12 Apr 2020 16:37:34 +0530 Subject: [PATCH] Issue #7179: Update documentation of filters to reference targets of suppression --- .../filters/SeverityMatchFilter.java | 3 ++ .../filters/SuppressWarningsFilter.java | 4 ++ .../SuppressWithNearbyCommentFilter.java | 4 ++ .../SuppressWithPlainTextCommentFilter.java | 4 ++ .../filters/SuppressionCommentFilter.java | 3 ++ .../checkstyle/filters/SuppressionFilter.java | 3 ++ .../filters/SuppressionSingleFilter.java | 4 ++ .../filters/SuppressionXpathFilter.java | 3 ++ .../filters/SuppressionXpathSingleFilter.java | 3 ++ src/xdocs/config_filters.xml | 41 +++++++++++++++++++ 10 files changed, 72 insertions(+) diff --git a/src/main/java/com/puppycrawl/tools/checkstyle/filters/SeverityMatchFilter.java b/src/main/java/com/puppycrawl/tools/checkstyle/filters/SeverityMatchFilter.java index 6fbe31c0340..52cb3c3ac7c 100644 --- a/src/main/java/com/puppycrawl/tools/checkstyle/filters/SeverityMatchFilter.java +++ b/src/main/java/com/puppycrawl/tools/checkstyle/filters/SeverityMatchFilter.java @@ -29,6 +29,9 @@ * Filter {@code SeverityMatchFilter} decides audit events according to the * severity level of the event. *

+ *

+ * SeverityMatchFilter can suppress Checks that have Treewalker or Checker as parent module. + *

*