Skip to content

Commit d691488

Browse files
csviriferenc-csaky
authored andcommitted
[FLINK-38293] Update Checkstyle version and related rules in Kubernetes Operator
(cherry picked from commit acaa3e6)
1 parent d26d69b commit d691488

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

pom.xml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -281,15 +281,7 @@ under the License.
281281
<plugin>
282282
<groupId>org.apache.maven.plugins</groupId>
283283
<artifactId>maven-checkstyle-plugin</artifactId>
284-
<version>2.17</version>
285-
<dependencies>
286-
<dependency>
287-
<groupId>com.puppycrawl.tools</groupId>
288-
<artifactId>checkstyle</artifactId>
289-
<!-- Note: match version with docs/flinkDev/ide_setup.md -->
290-
<version>8.14</version>
291-
</dependency>
292-
</dependencies>
284+
<version>3.6.0</version>
293285
<executions>
294286
<execution>
295287
<id>validate</id>

tools/maven/checkstyle.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -276,16 +276,9 @@ This file is based on the checkstyle file of Apache Beam.
276276
<!-- Checks for Javadoc comments. -->
277277
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
278278
<module name="JavadocMethod">
279-
<property name="scope" value="protected"/>
280279
<property name="severity" value="error"/>
281-
<property name="allowMissingJavadoc" value="true"/>
282280
<property name="allowMissingParamTags" value="true"/>
283281
<property name="allowMissingReturnTag" value="true"/>
284-
<property name="allowMissingThrowsTags" value="true"/>
285-
<property name="allowThrowsTagsForSubclasses" value="true"/>
286-
<property name="allowUndeclaredRTE" value="true"/>
287-
<!-- This check sometimes failed for with "Unable to get class information for @throws tag" for custom exceptions -->
288-
<property name="suppressLoadErrors" value="true"/>
289282
</module>
290283

291284
<!-- Check that paragraph tags are used correctly in Javadoc. -->

0 commit comments

Comments
 (0)