This is an automated email from the ASF dual-hosted git repository.
cbrisson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/velocity-tools.git
The following commit(s) were added to refs/heads/master by this push:
new 8c02ce7 [tools] Fix typos from previous commits
8c02ce7 is described below
commit 8c02ce783c173926f6049642814319e17cad3455
Author: Claude Brisson <[email protected]>
AuthorDate: Wed Dec 1 21:01:55 2021 +0100
[tools] Fix typos from previous commits
---
.../src/main/java/org/apache/velocity/tools/XmlUtils.java | 2 +-
.../java/org/apache/velocity/tools/config/CompoundConfiguration.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/velocity-tools-generic/src/main/java/org/apache/velocity/tools/XmlUtils.java
b/velocity-tools-generic/src/main/java/org/apache/velocity/tools/XmlUtils.java
index 99cb39e..87c9052 100644
---
a/velocity-tools-generic/src/main/java/org/apache/velocity/tools/XmlUtils.java
+++
b/velocity-tools-generic/src/main/java/org/apache/velocity/tools/XmlUtils.java
@@ -471,7 +471,7 @@ public final class XmlUtils
case Node.ATTRIBUTE_NODE:
parent = ((Attr) n).getOwnerElement();
break;
- case Node.COMMENT_MODE:
+ case Node.COMMENT_NODE:
case Node.ELEMENT_NODE:
case Node.DOCUMENT_NODE:
parent = n.getParentNode();
diff --git
a/velocity-tools-generic/src/main/java/org/apache/velocity/tools/config/CompoundConfiguration.java
b/velocity-tools-generic/src/main/java/org/apache/velocity/tools/config/CompoundConfiguration.java
index 94886ba..f66f2d0 100644
---
a/velocity-tools-generic/src/main/java/org/apache/velocity/tools/config/CompoundConfiguration.java
+++
b/velocity-tools-generic/src/main/java/org/apache/velocity/tools/config/CompoundConfiguration.java
@@ -80,7 +80,7 @@ public class CompoundConfiguration<C extends Configuration>
/**
* @deprecated use addChildren(collection)
- /**
+ **/
@Deprecated
protected void setChildren(Collection<C> kids)
{
@@ -93,7 +93,7 @@ public class CompoundConfiguration<C extends Configuration>
/**
* @since 3.2
- /**
+ **/
protected void addChildren(Collection<C> kids)
{
for (C kid : kids)