This is an automated email from the ASF dual-hosted git repository.
liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git
The following commit(s) were added to refs/heads/master by this push:
new 85de139df [SCB-2584] enable checkstyle RegexpSingleline (#3098)
85de139df is described below
commit 85de139df7a25ee4bdb6f9c920b3100fdf33fa5b
Author: TingTing Wang <[email protected]>
AuthorDate: Mon Jun 20 09:11:47 2022 +0800
[SCB-2584] enable checkstyle RegexpSingleline (#3098)
---
ci/checkstyle/checkstyle.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ci/checkstyle/checkstyle.xml b/ci/checkstyle/checkstyle.xml
index 5beaa3105..0b738858b 100644
--- a/ci/checkstyle/checkstyle.xml
+++ b/ci/checkstyle/checkstyle.xml
@@ -31,6 +31,11 @@
</module>
<module name="NewlineAtEndOfFile">
</module>
+ <module name="RegexpSingleline">
+ <property name="format" value="Throwables.propagate\("/>
+ <property name="message" value="Throwables.propagate is deprecated"/>
+ <property name="severity" value="error"/>
+ </module>
<module name="RegexpSingleline">
<property name="format" value="\s+$"/>
<property name="message" value="Trailing whitespace"/>