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 /checkstyle-simple.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 'checkstyle-simple.xml')
-rw-r--r-- | checkstyle-simple.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checkstyle-simple.xml b/checkstyle-simple.xml index 204937026..004cd68e4 100644 --- a/checkstyle-simple.xml +++ b/checkstyle-simple.xml @@ -16,8 +16,8 @@ limitations under the License. --> <!DOCTYPE module PUBLIC - "-//Puppy Crawl//DTD Check Configuration 1.3//EN" - "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> + "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" + "https://checkstyle.org/dtds/configuration_1_3.dtd"> <!-- This is a checkstyle configuration file. For descriptions of what the following rules do, please see the checkstyle configuration |