You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by yx...@apache.org on 2023/03/27 16:19:14 UTC
[shardingsphere] branch master updated: Update checkstyle template (#24868)
This is an automated email from the ASF dual-hosted git repository.
yx9o pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 8fecb5ae53f Update checkstyle template (#24868)
8fecb5ae53f is described below
commit 8fecb5ae53f2a3f41dc4344f681afeb04a3522af
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Tue Mar 28 00:19:05 2023 +0800
Update checkstyle template (#24868)
---
src/resources/checkstyle.xml | 2 +-
src/resources/checkstyle_ci.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/resources/checkstyle.xml b/src/resources/checkstyle.xml
index 98362ddf5af..0a948a0eae3 100644
--- a/src/resources/checkstyle.xml
+++ b/src/resources/checkstyle.xml
@@ -248,7 +248,7 @@
-->
<module name="JavadocMethod">
<property name="scope" value="public" />
- <property name="allowedAnnotations" value="Override, Test, Before, After, BeforeClass, AfterClass, Parameterized, Parameters, BeforeEach, AfterEach, BeforeAll, AfterAll, ParameterizedTest" />
+ <property name="allowedAnnotations" value="Override, Test, BeforeEach, AfterEach, BeforeAll, AfterAll, ParameterizedTest" />
<property name="ignoreMethodNamesRegex" value="^assert.*$|^verify.*$" />
<property name="tokens" value="METHOD_DEF, ANNOTATION_FIELD_DEF" />
</module>
diff --git a/src/resources/checkstyle_ci.xml b/src/resources/checkstyle_ci.xml
index d2acbe7961e..a14b7f11056 100644
--- a/src/resources/checkstyle_ci.xml
+++ b/src/resources/checkstyle_ci.xml
@@ -229,7 +229,7 @@
<module name="JavadocMethod">
<property name="scope" value="public" />
- <property name="allowedAnnotations" value="Override, Test, Before, After, BeforeClass, AfterClass, Parameterized, Parameters, BeforeEach, AfterEach, BeforeAll, AfterAll, ParameterizedTest" />
+ <property name="allowedAnnotations" value="Override, Test, BeforeEach, AfterEach, BeforeAll, AfterAll, ParameterizedTest" />
<property name="ignoreMethodNamesRegex" value="^assert.*$|^verify.*$" />
<property name="tokens" value="METHOD_DEF, ANNOTATION_FIELD_DEF" />
</module>