This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-validator.git
The following commit(s) were added to refs/heads/master by this push:
new 6fd7cd6a Javadoc
6fd7cd6a is described below
commit 6fd7cd6a8be65267e16b59f50cccf0d6469373f1
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Aug 2 17:13:19 2026 -0400
Javadoc
---
.../commons/validator/ValidatorResources.java | 24 +++++++++++-----------
.../validator/custom/CustomValidatorResources.java | 2 +-
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/main/java/org/apache/commons/validator/ValidatorResources.java
b/src/main/java/org/apache/commons/validator/ValidatorResources.java
index eb9183b3..a51e69d5 100644
--- a/src/main/java/org/apache/commons/validator/ValidatorResources.java
+++ b/src/main/java/org/apache/commons/validator/ValidatorResources.java
@@ -132,8 +132,8 @@ public class ValidatorResources implements Serializable {
*
* @param in InputStream to a validation.xml configuration file. It's the
client's
* responsibility to close this stream.
- * @throws SAXException if the validation XML files are not valid or
well-formed.
- * @throws IOException if an I/O error occurs processing the XML files
+ * @throws SAXException Thrown if the validation XML files are not valid
or well-formed.
+ * @throws IOException Thrown if an I/O error occurs processing the XML
files
* @since 1.1
*/
public ValidatorResources(final InputStream in) throws IOException,
SAXException {
@@ -146,8 +146,8 @@ public class ValidatorResources implements Serializable {
* @param streams An array of InputStreams to several validation.xml
* configuration files that will be read in order and merged into this
object.
* It's the client's responsibility to close these streams.
- * @throws SAXException if the validation XML files are not valid or
well-formed.
- * @throws IOException if an I/O error occurs processing the XML files
+ * @throws SAXException Thrown if the validation XML files are not valid
or well-formed.
+ * @throws IOException Thrown if an I/O error occurs processing the XML
files
* @since 1.1
*/
public ValidatorResources(final InputStream[] streams)
@@ -169,8 +169,8 @@ public class ValidatorResources implements Serializable {
* Create a ValidatorResources object from an uri
*
* @param uri The location of a validation.xml configuration file.
- * @throws SAXException if the validation XML files are not valid or
well-formed.
- * @throws IOException if an I/O error occurs processing the XML files
+ * @throws SAXException Thrown if the validation XML files are not valid
or well-formed.
+ * @throws IOException Thrown if an I/O error occurs processing the XML
files
* @since 1.2
*/
public ValidatorResources(final String uri) throws IOException,
SAXException {
@@ -182,8 +182,8 @@ public class ValidatorResources implements Serializable {
*
* @param uris An array of uris to several validation.xml
* configuration files that will be read in order and merged into this
object.
- * @throws SAXException if the validation XML files are not valid or
well-formed.
- * @throws IOException if an I/O error occurs processing the XML files
+ * @throws SAXException Thrown if the validation XML files are not valid
or well-formed.
+ * @throws IOException Thrown if an I/O error occurs processing the XML
files
* @since 1.2
*/
public ValidatorResources(final String... uris)
@@ -203,8 +203,8 @@ public class ValidatorResources implements Serializable {
*
* @param url The URL for the validation.xml
* configuration file that will be read into this object.
- * @throws SAXException if the validation XML file are not valid or
well-formed.
- * @throws IOException if an I/O error occurs processing the XML files
+ * @throws SAXException Thrown if the validation XML file are not valid or
well-formed.
+ * @throws IOException Thrown if an I/O error occurs processing the XML
files
* @since 1.3.1
*/
public ValidatorResources(final URL url)
@@ -217,8 +217,8 @@ public class ValidatorResources implements Serializable {
*
* @param urls An array of URL to several validation.xml
* configuration files that will be read in order and merged into this
object.
- * @throws SAXException if the validation XML files are not valid or
well-formed.
- * @throws IOException if an I/O error occurs processing the XML files
+ * @throws SAXException Thrown if the validation XML files are not valid
or well-formed.
+ * @throws IOException Thrown if an I/O error occurs processing the XML
files
* @since 1.3.1
*/
public ValidatorResources(final URL[] urls)
diff --git
a/src/test/java/org/apache/commons/validator/custom/CustomValidatorResources.java
b/src/test/java/org/apache/commons/validator/custom/CustomValidatorResources.java
index 89b2e204..4cfb71d4 100644
---
a/src/test/java/org/apache/commons/validator/custom/CustomValidatorResources.java
+++
b/src/test/java/org/apache/commons/validator/custom/CustomValidatorResources.java
@@ -33,7 +33,7 @@ public class CustomValidatorResources extends
ValidatorResources {
* Create a custom ValidatorResources object from an uri
*
* @param in InputStream for the validation.xml configuration file.
- * @throws SAXException if the validation XML files are not valid or well
formed.
+ * @throws SAXException Thrown if the validation XML files are not valid
or well formed.
* @throws IOException if an I/O error occurs processing the XML files
*/
public CustomValidatorResources(final InputStream in) throws IOException,
SAXException {