This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf-build-utils.git
The following commit(s) were added to refs/heads/main by this push:
new 42f6ba5 Move ReplaceJavaUtilCalendar and ReplaceJavaUtilDate to PMD's
category/java/errorprone.xml category
42f6ba5 is described below
commit 42f6ba5592c58f875e422b79d4a0df2fb9c11955
Author: Andriy Redko <[email protected]>
AuthorDate: Tue Jul 29 21:38:38 2025 -0400
Move ReplaceJavaUtilCalendar and ReplaceJavaUtilDate to PMD's
category/java/errorprone.xml category
---
buildtools/src/main/resources/cxf-pmd-ruleset.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/buildtools/src/main/resources/cxf-pmd-ruleset.xml
b/buildtools/src/main/resources/cxf-pmd-ruleset.xml
index c9bbecf..52b97ad 100644
--- a/buildtools/src/main/resources/cxf-pmd-ruleset.xml
+++ b/buildtools/src/main/resources/cxf-pmd-ruleset.xml
@@ -76,8 +76,6 @@
<exclude name="UseTryWithResources" />
<exclude name="UseVarargs" />
<exclude name="ImplicitFunctionalInterface" />
- <exclude name="ReplaceJavaUtilDate" />
- <exclude name="ReplaceJavaUtilCalendar" />
</rule>
<rule ref="category/java/design.xml" >
<exclude name="AvoidCatchingGenericException" />
@@ -144,6 +142,8 @@
<exclude name="TestClassWithoutTestCases" />
<exclude name="UseLocaleWithCaseConversions" />
<exclude name="UseProperClassLoader" />
+ <exclude name="ReplaceJavaUtilDate" />
+ <exclude name="ReplaceJavaUtilCalendar" />
</rule>
<rule ref="category/java/multithreading.xml">
<exclude name="AvoidUsingVolatile" />