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 4e94f49ebb942090dfdacd90ccb3db42bed7f9f8 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Jul 21 11:09:47 2024 -0400 Javadoc --- .../java/org/apache/commons/validator/routines/UrlValidator.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/validator/routines/UrlValidator.java b/src/main/java/org/apache/commons/validator/routines/UrlValidator.java index 03c12c6f..f61c3d54 100644 --- a/src/main/java/org/apache/commons/validator/routines/UrlValidator.java +++ b/src/main/java/org/apache/commons/validator/routines/UrlValidator.java @@ -198,17 +198,20 @@ public class UrlValidator implements Serializable { */ private final RegexValidator authorityValidator; + /** + * The domain validator. + */ private final DomainValidator domainValidator; /** - * Create a UrlValidator with default properties. + * Constructs a new instance with default properties. */ public UrlValidator() { this(null); } /** - * Initialize a UrlValidator with the given validation options. + * Constructs a new instance with the given validation options. * @param options The options should be set using the public constants declared in * this class. To set multiple options you simply add them together. For example, * ALLOW_2_SLASHES + NO_FRAGMENTS enables both of those options. @@ -218,7 +221,7 @@ public class UrlValidator implements Serializable { } /** - * Initialize a UrlValidator with the given validation options. + * Constructs a new instance with the given validation options. * @param authorityValidator Regular expression validator used to validate the authority part * This allows the user to override the standard set of domains. * @param options Validation options. Set using the public constants of this class.