Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitakovaliov92 committed Aug 26, 2024
1 parent 9aad1a6 commit 3217981
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions xmp-core/src/main/java/org/verapdf/xmp/impl/XMPNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,14 @@ public void addChild(XMPNode node) throws XMPException
getChildren().add(node);
}


/**
* Adds a node as child to this node.
*
* @param index the index of the node <em>before</em> which the new one is inserted.
* <em>Note:</em> The node children are indexed from [1..size]!
* An index of size + 1 appends a node.
* @param node an XMPNode
*
* @throws XMPException occurs if the parsing fails for any reason.
* <em>Note:</em> The node children are indexed from [1..size]!
* An index of size + 1 appends a node.
* @param node an XMPNode
* @throws XMPException
*/
public void addChild(int index, XMPNode node) throws XMPException
{
Expand All @@ -178,7 +177,6 @@ public void replaceChild(int index, XMPNode node)
node.setParent(this);
getChildren().set(index - 1, node);
}



/**
Expand Down

0 comments on commit 3217981

Please sign in to comment.