Skip to content

Commit 7925293

Browse files
committed
Fix exception message typo in XmlStringLookup.XmlStringLookup(Map,
Path...)
1 parent fcda003 commit 7925293

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/changes/changes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ The <action> type attribute can be add,update,fix,remove.
4747
<body>
4848
<release version="1.14.1" date="YYYY-MM-DD" description="This is a feature and maintenance release. Java 8 or later is required.">
4949
<!-- FIX -->
50+
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix exception message typo in XmlStringLookup.XmlStringLookup(Map, Path...).</action>
5051
<!-- ADD -->
5152
<action type="add" dev="ggregory" due-to="Piotr P. Karwasz, Gary Gregory">Add experimental CycloneDX VEX file #683.</action>
5253
<!-- UPDATE -->

src/main/java/org/apache/commons/text/lookup/XmlStringLookup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ final class XmlStringLookup extends AbstractPathFencedLookup {
7272
*/
7373
XmlStringLookup(final Map<String, Boolean> xPathFactoryFeatures, final Path... fences) {
7474
super(fences);
75-
this.xPathFactoryFeatures = Objects.requireNonNull(xPathFactoryFeatures, "xPathFfactoryFeatures");
75+
this.xPathFactoryFeatures = Objects.requireNonNull(xPathFactoryFeatures, "xPathFactoryFeatures");
7676
}
7777

7878
/**

0 commit comments

Comments
 (0)