diff options
author | lan <1728209643@qq.com> | 2021-01-17 20:20:43 +0000 |
---|---|---|
committer | Damien Diederen <ddiederen@apache.org> | 2021-01-17 20:20:43 +0000 |
commit | e8dc2b3210b001094b6179e0deacdb2cebded31f (patch) | |
tree | c9121cbd7f068b1d1607235c6c98f978d1b0a1d1 /pom.xml | |
parent | 86fcb5a00fbe2756100d78fe8bb7bb5f0a730bc9 (diff) | |
download | zookeeper-e8dc2b3210b001094b6179e0deacdb2cebded31f.tar.gz |
ZOOKEEPER-4058: Update checkstyle to the latest version 8.39
1.update checkstyle to latest version 8.39
See [https://checkstyle.sourceforge.io/config_javadoc.html](https://checkstyle.sourceforge.io/config_javadoc.html)
- JavadocMethod: remove properties `allowMissingJavadoc,allowMissingThrowsTags,allowThrowsTagsForSubclasses,allowUndeclaredRTE`
- LineLength: change it's parent to Checker
2.update XML dtd: `checkstyle-strict.xml, checkstyle-simple.xml, checkstyleSuppressions.xml`
3.fix code style:
- `QuorumPeer.java, PemReader.java`. Operators like + and ? appear at newlines rather than at the end of the previous line.
- license of `TestApacheCuratorCompatibility.java`. Checkstyle JavadocParagraph:`<p>` tag should be placed immediately before the first word.
Author: lan <1728209643@qq.com>
Reviewers: Enrico Olivelli <eolivelli@apache.org>, Damien Diederen <ddiederen@apache.org>
Closes #1579 from lanicc/ZOOKEEPER-4058
Diffstat (limited to 'pom.xml')
-rwxr-xr-x | pom.xml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -447,7 +447,7 @@ <commons-collections.version>4.4</commons-collections.version> <dropwizard.version>4.1.12.1</dropwizard.version> <spotbugsannotations.version>4.0.2</spotbugsannotations.version> - <checkstyle.version>8.17</checkstyle.version> + <checkstyle.version>8.39</checkstyle.version> <enforcer.version>3.0.0-M3</enforcer.version> <!-- parameters to pass to C client build --> @@ -760,7 +760,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> - <version>3.1.0</version> + <version>3.1.1</version> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> |