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 e893aec Unnecessary -- done by isValidxxxTld methods
e893aec is described below
commit e893aecf888db2d36a69d7100c44512330226e51
Author: Sebb <[email protected]>
AuthorDate: Wed Jun 24 17:19:40 2020 +0100
Unnecessary -- done by isValidxxxTld methods
---
src/main/java/org/apache/commons/validator/routines/DomainValidator.java | 1 -
1 file changed, 1 deletion(-)
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 59cdae7..8a6d594 100644
--- a/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
@@ -209,7 +209,6 @@ public class DomainValidator implements Serializable {
* @return true if the parameter is a TLD
*/
public boolean isValidTld(String tld) {
- tld = unicodeToASCII(tld);
if(allowLocal && isValidLocalTld(tld)) {
return true;
}