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 116e50b Add ReplaceJavaUtilCalendar and ReplaceJavaUtilDate to PMD
exclusions (#170)
116e50b is described below
commit 116e50b8b5182e1288b3f54b2eb94335b1293d20
Author: Andriy Redko <[email protected]>
AuthorDate: Tue Jul 29 21:33:27 2025 -0400
Add ReplaceJavaUtilCalendar and ReplaceJavaUtilDate to PMD exclusions (#170)
---
buildtools/src/main/resources/cxf-pmd-ruleset.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/buildtools/src/main/resources/cxf-pmd-ruleset.xml
b/buildtools/src/main/resources/cxf-pmd-ruleset.xml
index 78520e0..c9bbecf 100644
--- a/buildtools/src/main/resources/cxf-pmd-ruleset.xml
+++ b/buildtools/src/main/resources/cxf-pmd-ruleset.xml
@@ -76,6 +76,8 @@
<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" />