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 2025/01/04 11:18:23 UTC

(maven) 01/01: Delete unused modes

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

elharo pushed a commit to branch apidoc
in repository https://gitbox.apache.org/repos/asf/maven.git

commit ce3c2a90a3c751f9b2faa72d864d43f2bb0807be
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Sat Jan 4 06:18:11 2025 -0500

    Delete unused modes
---
 .../src/main/java/org/apache/maven/api/xml/XmlNode.java   | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java b/api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
index 87ad7ae7e3..36dec28550 100644
--- a/api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
+++ b/api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
@@ -43,13 +43,6 @@ public interface XmlNode {
 
     String CHILDREN_COMBINATION_APPEND = "append";
 
-    /**
-     * This default mode for combining children DOMs during merge means that where element names match, the process will
-     * try to merge the element data, rather than putting the dominant and recessive elements (which share the same
-     * element name) as siblings in the resulting DOM.
-     */
-    String DEFAULT_CHILDREN_COMBINATION_MODE = CHILDREN_COMBINATION_MERGE;
-
     String SELF_COMBINATION_MODE_ATTRIBUTE = "combine.self";
 
     String SELF_COMBINATION_OVERRIDE = "override";
@@ -69,14 +62,6 @@ public interface XmlNode {
      */
     String KEYS_COMBINATION_MODE_ATTRIBUTE = "combine.keys";
 
-    /**
-     * This default mode for combining a DOM node during merge means that where element names match, the process will
-     * try to merge the element attributes and values, rather than overriding the recessive element completely with the
-     * dominant one. This means that wherever the dominant element doesn't provide the value or a particular attribute,
-     * that value or attribute will be set from the recessive DOM node.
-     */
-    String DEFAULT_SELF_COMBINATION_MODE = SELF_COMBINATION_MERGE;
-
     @Nonnull
     String getName();