aboutsummaryrefslogtreecommitdiff
path: root/config/checkstyle_checks.xml
diff options
context:
space:
mode:
authorRoman Ivanov <ivanov-jr@mail.ru>2016-10-23 10:48:32 -0700
committerRoman Ivanov <ivanov-jr@mail.ru>2016-10-23 10:48:32 -0700
commit27b03291ce489297527b536a855a9b8f8c3d2482 (patch)
tree92864150b90f15aae554460a1592c44b90785a8d /config/checkstyle_checks.xml
parent0e7beca9fce63ed9146d448f69574b9ba2031469 (diff)
downloadcheckstyle-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.xml6
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">