diff options
author | Roman Ivanov <ivanov-jr@mail.ru> | 2016-10-23 10:48:32 -0700 |
---|---|---|
committer | Roman Ivanov <ivanov-jr@mail.ru> | 2016-10-23 10:48:32 -0700 |
commit | 27b03291ce489297527b536a855a9b8f8c3d2482 (patch) | |
tree | 92864150b90f15aae554460a1592c44b90785a8d /config/checkstyle_checks.xml | |
parent | 0e7beca9fce63ed9146d448f69574b9ba2031469 (diff) | |
download | checkstyle-27b03291ce489297527b536a855a9b8f8c3d2482.tar.gz |
Issue #3033: BeforeExecutionExclusionFileFilter filter java9 modules in our cofig
Diffstat (limited to 'config/checkstyle_checks.xml')
-rw-r--r-- | config/checkstyle_checks.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/checkstyle_checks.xml b/config/checkstyle_checks.xml index 0529f55ce..4fa447b25 100644 --- a/config/checkstyle_checks.xml +++ b/config/checkstyle_checks.xml @@ -18,8 +18,10 @@ <property name="fileExtensions" value="java, properties, xml, g, g4"/> - <!-- BeforeExecutionFileFilters --> - <module name="BeforeExecutionExclusionFileFilter" /> + <!-- BeforeExecutionFileFilters is required for sources that are based on java9 --> + <module name="BeforeExecutionExclusionFileFilter"> + <property name="fileNamePattern" value="module\-info\.java$" /> + </module> <!-- Filters --> <module name="SeverityMatchFilter"> |