This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-api.git


The following commit(s) were added to refs/heads/main by this push:
     new 1d6fafb  NIFI-14240 Upgraded PMD from 7.5.0 to 7.10.0 (#1)
1d6fafb is described below

commit 1d6fafb173c373a18b7012a1300df5c70d9b3fc0
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Wed Feb 5 14:01:29 2025 -0600

    NIFI-14240 Upgraded PMD from 7.5.0 to 7.10.0 (#1)
    
    Signed-off-by: David Handermann <[email protected]>
    Co-authored-by: dependabot[bot] 
<49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: David Handermann <[email protected]>
---
 pom.xml                                                              | 2 +-
 src/main/java/org/apache/nifi/processor/util/StandardValidators.java | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 438290a..7b92dde 100644
--- a/pom.xml
+++ b/pom.xml
@@ -82,7 +82,7 @@
         <jacoco.version>0.8.12</jacoco.version>
         <maven-pmd-plugin.version>3.25.0</maven-pmd-plugin.version>
         <mockito.version>5.13.0</mockito.version>
-        <pmd.version>7.5.0</pmd.version>
+        <pmd.version>7.10.0</pmd.version>
         <swagger-annotations.version>2.2.23</swagger-annotations.version>
     </properties>
 
diff --git 
a/src/main/java/org/apache/nifi/processor/util/StandardValidators.java 
b/src/main/java/org/apache/nifi/processor/util/StandardValidators.java
index 4ba2431..c9d8a70 100644
--- a/src/main/java/org/apache/nifi/processor/util/StandardValidators.java
+++ b/src/main/java/org/apache/nifi/processor/util/StandardValidators.java
@@ -279,6 +279,7 @@ public class StandardValidators {
         }
     };
 
+    @SuppressWarnings("PMD.UselessOperationOnImmutable")
     public static final Validator ISO8601_INSTANT_VALIDATOR = new Validator() {
         @Override
         public ValidationResult validate(final String subject, final String 
input, final ValidationContext context) {

Reply via email to