Skip to content

Commit 2c82f91

Browse files
committed
HV-1476 Updating checkstyle version and config
1 parent c45398d commit 2c82f91

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

build-config/src/main/resources/checkstyle.xml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
~ License: Apache License, Version 2.0
66
~ See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
77
-->
8-
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
9-
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
8+
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
9+
"http://checkstyle.sourceforge.net/dtds/configuration_1_3.dtd">
1010

1111
<module name="Checker">
1212

@@ -131,18 +131,14 @@
131131
<property name="option" value="space"/>
132132
</module>
133133

134-
<!-- Required to get SuppressionCommentFilter to work -->
135-
<module name="FileContentsHolder" />
136-
134+
<module name="SuppressionCommentFilter" />
137135
</module>
138136

139137
<module name="RegexpSingleline">
140138
<property name="format" value="\s+$" />
141139
<property name="message" value="White spaces at the end of line" />
142140
</module>
143141

144-
<module name="SuppressionCommentFilter" />
145-
146142
<module name="SuppressionFilter">
147143
<property name="file" value="/suppressions.xml" />
148144
</module>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
<apache.karaf.version>4.1.1</apache.karaf.version>
166166
<osgi-core.version>6.0.0</osgi-core.version>
167167

168-
<puppycrawl.checkstyle.version>7.6</puppycrawl.checkstyle.version>
168+
<puppycrawl.checkstyle.version>8.1</puppycrawl.checkstyle.version>
169169

170170
<groovy.version>2.4.12</groovy.version>
171171

0 commit comments

Comments
 (0)