From cdc0125b8d7c9af0dcc557de853c2ff2a0a436ee Mon Sep 17 00:00:00 2001
From: Emmanuel Bourg
Date: Mon, 18 Nov 2024 13:32:14 +0100
Subject: [PATCH] Fixed Javadoc errors
---
.../java/org/apache/commons/validator/ValidatorAction.java | 2 +-
.../org/apache/commons/validator/routines/package-info.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/validator/ValidatorAction.java b/src/main/java/org/apache/commons/validator/ValidatorAction.java
index 315499fdd..d08edb8bf 100644
--- a/src/main/java/org/apache/commons/validator/ValidatorAction.java
+++ b/src/main/java/org/apache/commons/validator/ValidatorAction.java
@@ -555,7 +555,7 @@ private boolean onlyReturnErrors(final Map params) {
* The search order is described in the documentation for {@link ClassLoader#getResource(String)}.
*
*
- * @param name The resource name
+ * @param javaScriptFileName The resource name
* @return An input stream for reading the resource, or {@code null} if the resource could not be found
*/
private InputStream openInputStream(final String javaScriptFileName, final ClassLoader classLoader) {
diff --git a/src/main/java/org/apache/commons/validator/routines/package-info.java b/src/main/java/org/apache/commons/validator/routines/package-info.java
index c5d4ff116..a0d8239cd 100644
--- a/src/main/java/org/apache/commons/validator/routines/package-info.java
+++ b/src/main/java/org/apache/commons/validator/routines/package-info.java
@@ -411,10 +411,10 @@
*
* - {@code isValid()} methods return true/false to indicate
* whether validation was successful.
- * - {@code validate()} methods return a {@link String}
+ *
- {@code validate()} methods return a {@link java.lang.String}
* value of the matched groups aggregated together or
* {@code null} if invalid.
- * - {@code match()} methods return a {@link String} array
+ *
- {@code match()} methods return a {@link java.lang.String} array
* of the matched groups or {@code null} if invalid.
*
*