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

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git


The following commit(s) were added to refs/heads/master by this push:
     new c292567c9 Suppress PMD false positive
c292567c9 is described below

commit c292567c96daa9a48ae0eb7a33fbd907497457d5
Author: Sebb <[email protected]>
AuthorDate: Sun Dec 28 14:05:09 2025 +0000

    Suppress PMD false positive
---
 src/main/java/org/apache/commons/collections4/IterableUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/collections4/IterableUtils.java 
b/src/main/java/org/apache/commons/collections4/IterableUtils.java
index d36a1317a..5a06d3fb0 100644
--- a/src/main/java/org/apache/commons/collections4/IterableUtils.java
+++ b/src/main/java/org/apache/commons/collections4/IterableUtils.java
@@ -624,7 +624,7 @@ public class IterableUtils {
                 return new LazyIteratorChain<E>() {
                     @Override
                     protected Iterator<? extends E> nextIterator(final int 
count) {
-                        if (IterableUtils.isEmpty(iterable)) {
+                        if (IterableUtils.isEmpty(iterable)) { //NOPMD: 
qualifier is needed here
                             return null;
                         }
                         return iterable.iterator();

Reply via email to