Skip to content

Commit 7dbd50c

Browse files
committed
Upgrade version of checkstyle and remove non-existent property scope from checkstyle.xml
1 parent 9275c8b commit 7dbd50c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

checkstyle.xml

-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@
159159
<property name="target" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
160160
</module>
161161
<module name="JavadocMethod">
162-
<property name="scope" value="public"/>
163162
<property name="allowMissingParamTags" value="true"/>
164163
<property name="allowMissingReturnTag" value="true"/>
165164
<property name="allowedAnnotations" value="Override, Test"/>

pom.xml

+7
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,13 @@
157157
<groupId>org.apache.maven.plugins</groupId>
158158
<artifactId>maven-checkstyle-plugin</artifactId>
159159
<version>3.1.2</version>
160+
<dependencies>
161+
<dependency>
162+
<groupId>com.puppycrawl.tools</groupId>
163+
<artifactId>checkstyle</artifactId>
164+
<version>8.45</version>
165+
</dependency>
166+
</dependencies>
160167
<configuration>
161168
<configLocation>checkstyle.xml</configLocation>
162169
<encoding>UTF-8</encoding>

0 commit comments

Comments
 (0)