This is an automated email from the ASF dual-hosted git repository.

sebb 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 8bb4a4c  Javadoc
8bb4a4c is described below

commit 8bb4a4c7b16266462cfe0aeb5dcdb85012917482
Author: Sebb <s...@apache.org>
AuthorDate: Wed Jun 24 17:18:17 2020 +0100

    Javadoc
---
 .../java/org/apache/commons/validator/routines/DomainValidator.java   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/src/main/java/org/apache/commons/validator/routines/DomainValidator.java 
b/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
index 4034c18..59cdae7 100644
--- a/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
@@ -201,6 +201,10 @@ public class DomainValidator implements Serializable {
      * Returns true if the specified <code>String</code> matches any
      * IANA-defined top-level domain. Leading dots are ignored if present.
      * The search is case-insensitive.
+     * <p>
+     * If allowLocal is true, the TLD is checked using {@link 
#isValidLocalTld(String)}.
+     * The TLD is then checked against {@link 
#isValidInfrastructureTld(String)},
+     * {@link #isValidGenericTld(String)} and {@link 
#isValidCountryCodeTld(String)}
      * @param tld the parameter to check for TLD status, not null
      * @return true if the parameter is a TLD
      */

Reply via email to