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-validator.git

commit cc98234cd17e8f4ebaffc9a13d20fd54d03df5b4
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Dec 1 08:05:13 2023 -0500

    Javadoc
---
 src/main/java/org/apache/commons/validator/ValidatorAction.java | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/main/java/org/apache/commons/validator/ValidatorAction.java 
b/src/main/java/org/apache/commons/validator/ValidatorAction.java
index 445b2abd..81893a0d 100644
--- a/src/main/java/org/apache/commons/validator/ValidatorAction.java
+++ b/src/main/java/org/apache/commons/validator/ValidatorAction.java
@@ -427,6 +427,15 @@ public class ValidatorAction implements Serializable {
         }
     }
 
+    /**
+     * Opens an input stream for reading the specified resource.
+     * <p>
+     * The search order is described in the documentation for {@link 
ClassLoader#getResource(String)}.
+     * </p>
+     *
+     * @param name 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, 
ClassLoader classLoader) {
         InputStream is = null;
         if (classLoader != null) {

Reply via email to