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.
*
*