-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #11460: Fixed the default behavior of SuppressoinXpathSingleFilter
- Loading branch information
1 parent
b9e8362
commit 45c8df0
Showing
8 changed files
with
199 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...s/suppressionxpathsinglefilter/InputSuppressionXpathSingleFilterAllNullConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
SuppressionXpathSingleFilter | ||
files = (default)(null) | ||
checks = (default)(null) | ||
message = (default)(null) | ||
id = (default)(null) | ||
query = (default)(null) | ||
com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck | ||
scope = (default)public | ||
excludeScope = (default)(null) | ||
skipAnnotations = (default)Generated | ||
tokens = CLASS_DEF | ||
*/ | ||
package com.puppycrawl.tools.checkstyle.filters.suppressionxpathsinglefilter; | ||
|
||
public class InputSuppressionXpathSingleFilterAllNullConfiguration { // violation | ||
} |
20 changes: 20 additions & 0 deletions
20
.../filters/suppressionxpathsinglefilter/InputSuppressionXpathSingleFilterDecideByCheck.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
SuppressionXpathSingleFilter | ||
files = (default)(null) | ||
checks = MissingJavadocTypeCheck | ||
message = (default)(null) | ||
id = (default)(null) | ||
query = (default)(null) | ||
com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck | ||
scope = (default)public | ||
excludeScope = (default)(null) | ||
skipAnnotations = (default)Generated | ||
tokens = CLASS_DEF | ||
*/ | ||
package com.puppycrawl.tools.checkstyle.filters.suppressionxpathsinglefilter; | ||
|
||
public class InputSuppressionXpathSingleFilterDecideByCheck { // filtered violation | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
...yle/filters/suppressionxpathsinglefilter/InputSuppressionXpathSingleFilterDecideById.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
SuppressionXpathSingleFilter | ||
files = (default)(null) | ||
checks = (default)(null) | ||
message = (default)(null) | ||
id = 007 | ||
query = (default)(null) | ||
com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck | ||
id = 007 | ||
scope = (default)public | ||
excludeScope = (default)(null) | ||
skipAnnotations = (default)Generated | ||
tokens = CLASS_DEF | ||
*/ | ||
package com.puppycrawl.tools.checkstyle.filters.suppressionxpathsinglefilter; | ||
|
||
public class InputSuppressionXpathSingleFilterDecideById { // filtered violation | ||
|
||
} |
22 changes: 22 additions & 0 deletions
22
...uppressionxpathsinglefilter/InputSuppressionXpathSingleFilterDecideByIdAndExpression.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
SuppressionXpathSingleFilter | ||
files = (default)(null) | ||
checks = (default)(null) | ||
message = (default)(null) | ||
id = 007 | ||
query = /COMPILATION_UNIT/CLASS_DEF \ | ||
[./IDENT[@text='InputSuppressionXpathSingleFilterDecideByIdAndExpression']] | ||
com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck | ||
id = 007 | ||
scope = (default)public | ||
excludeScope = (default)(null) | ||
skipAnnotations = (default)Generated | ||
tokens = CLASS_DEF | ||
*/ | ||
package com.puppycrawl.tools.checkstyle.filters.suppressionxpathsinglefilter; | ||
|
||
public class InputSuppressionXpathSingleFilterDecideByIdAndExpression { // filtered violation | ||
|
||
} |
22 changes: 22 additions & 0 deletions
22
...rs/suppressionxpathsinglefilter/InputSuppressionXpathSingleFilterDefaultFileProperty.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
SuppressionXpathSingleFilter | ||
files = (default)(null) | ||
checks = MissingJavadocTypeCheck | ||
message = Missing a Javadoc comment | ||
id = 007 | ||
query = /COMPILATION_UNIT/CLASS_DEF \ | ||
[./IDENT[@text='InputSuppressionXpathSingleFilterDefaultFileProperty']] | ||
com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck | ||
id = 007 | ||
scope = (default)public | ||
excludeScope = (default)(null) | ||
skipAnnotations = (default)Generated | ||
tokens = CLASS_DEF | ||
*/ | ||
package com.puppycrawl.tools.checkstyle.filters.suppressionxpathsinglefilter; | ||
|
||
public class InputSuppressionXpathSingleFilterDefaultFileProperty { // filtered violation | ||
|
||
} |