You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2026/02/04 12:38:23 UTC
(maven-shared-utils) branch red created (now ba1bc32)
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a change to branch red
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git
at ba1bc32 Remove redundant argument
This branch includes the following new commits:
new ba1bc32 Remove redundant argument
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(maven-shared-utils) 01/01: Remove redundant argument
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch red
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git
commit ba1bc322800165e5b57378e685addda6e8c41be5
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Wed Feb 4 07:38:13 2026 -0500
Remove redundant argument
---
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 48be8ba..d371d91 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
@@ -220,7 +220,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;
}
/**