This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/commons-xml.git
The following commit(s) were added to refs/heads/main by this push:
new 70d7b61 Javadoc
70d7b61 is described below
commit 70d7b61af6c2ef576000a1bf02e70b00cd5e136d
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Aug 26 13:43:02 2026 -0400
Javadoc
---
src/main/java/org/apache/commons/xml/DocumentBuilderHardener.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/xml/DocumentBuilderHardener.java
b/src/main/java/org/apache/commons/xml/DocumentBuilderHardener.java
index 18f9a97..bdfef37 100644
--- a/src/main/java/org/apache/commons/xml/DocumentBuilderHardener.java
+++ b/src/main/java/org/apache/commons/xml/DocumentBuilderHardener.java
@@ -64,8 +64,8 @@ static DocumentBuilderFactory harden(final
DocumentBuilderFactory factory) {
* @param factory The factory to harden.
* @param feature The feature to set.
* @param value The value to set.
- * @throws HardeningException Thrown if this {@link XPathFactory} or the
{@code XPath}s it creates cannot support this feature or if {@code feature} is
- * {@code null}.
+ * @throws HardeningException Thrown if this {@link XPathFactory} or the
{@code XPath}s it creates cannot support this feature.
+ * @throws NullPointerException If the {@code feature} parameter is null.
*/
private static void setFeature(final DocumentBuilderFactory factory, final
String feature, final boolean value) {
try {