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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git


The following commit(s) were added to refs/heads/master by this push:
     new 79252937 Fix exception message typo in 
XmlStringLookup.XmlStringLookup(Map, Path...)
79252937 is described below

commit 79252937b136534d608258acab8ad883696ff5a5
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Aug 28 10:04:50 2025 -0400

    Fix exception message typo in XmlStringLookup.XmlStringLookup(Map,
    Path...)
---
 src/changes/changes.xml                                           | 1 +
 src/main/java/org/apache/commons/text/lookup/XmlStringLookup.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 66826b58..df97b651 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -47,6 +47,7 @@ The <action> type attribute can be add,update,fix,remove.
   <body>
   <release version="1.14.1" date="YYYY-MM-DD" description="This is a feature 
and maintenance release. Java 8 or later is required.">
       <!-- FIX -->
+      <action type="fix" dev="ggregory" due-to="Gary Gregory">Fix exception 
message typo in XmlStringLookup.XmlStringLookup(Map, Path...).</action>
       <!-- ADD -->
       <action type="add" dev="ggregory" due-to="Piotr P. Karwasz, Gary 
Gregory">Add experimental CycloneDX VEX file #683.</action>
       <!-- UPDATE -->
diff --git a/src/main/java/org/apache/commons/text/lookup/XmlStringLookup.java 
b/src/main/java/org/apache/commons/text/lookup/XmlStringLookup.java
index a476cc07..0f3663fd 100644
--- a/src/main/java/org/apache/commons/text/lookup/XmlStringLookup.java
+++ b/src/main/java/org/apache/commons/text/lookup/XmlStringLookup.java
@@ -72,7 +72,7 @@ final class XmlStringLookup extends AbstractPathFencedLookup {
      */
     XmlStringLookup(final Map<String, Boolean> xPathFactoryFeatures, final 
Path... fences) {
         super(fences);
-        this.xPathFactoryFeatures = 
Objects.requireNonNull(xPathFactoryFeatures, "xPathFfactoryFeatures");
+        this.xPathFactoryFeatures = 
Objects.requireNonNull(xPathFactoryFeatures, "xPathFactoryFeatures");
     }
 
     /**

Reply via email to