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

elharo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git


The following commit(s) were added to refs/heads/master by this push:
     new 0d45731  Remove redundant argument (#367)
0d45731 is described below

commit 0d45731440fe3b61c9e89c46effb89f546a1a475
Author: Elliotte Rusty Harold <[email protected]>
AuthorDate: Fri Feb 6 21:16:23 2026 +0000

    Remove redundant argument (#367)
---
 src/main/java/org/apache/maven/shared/utils/xml/Xpp3Dom.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/shared/utils/xml/Xpp3Dom.java 
b/src/main/java/org/apache/maven/shared/utils/xml/Xpp3Dom.java
index e05321d..e76c6b9 100644
--- a/src/main/java/org/apache/maven/shared/utils/xml/Xpp3Dom.java
+++ b/src/main/java/org/apache/maven/shared/utils/xml/Xpp3Dom.java
@@ -219,7 +219,7 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
 
     private List<Xpp3Dom> getChildrenList() {
         boolean isNothing = childList == null || childList.isEmpty();
-        return isNothing ? Collections.<Xpp3Dom>emptyList() : childList;
+        return isNothing ? Collections.emptyList() : childList;
     }
 
     /**

Reply via email to