commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1695801 - /commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
Date Thu, 13 Aug 2015 23:51:35 GMT
Author: sebb
Date: Thu Aug 13 23:51:35 2015
New Revision: 1695801

URL: http://svn.apache.org/r1695801
Log:
Typo

Modified:
    commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java

Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java?rev=1695801&r1=1695800&r2=1695801&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
(original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
Thu Aug 13 23:51:35 2015
@@ -268,12 +268,12 @@ public class DomainValidator implements
     // .bl  country-code    Not assigned
     // .um  country-code    Not assigned
 
-    // WARNING: this array MUST be sorted, others it cannot be searched reliably using binary
search
+    // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using
binary search
     private static final String[] INFRASTRUCTURE_TLDS = new String[] {
         "arpa",               // internet infrastructure
     };
 
-    // WARNING: this array MUST be sorted, others it cannot be searched reliably using binary
search
+    // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using
binary search
     private static final String[] GENERIC_TLDS = new String[] {
         // Taken from Version 2015081201, Last Updated Thu Aug 13 07:07:01 2015 UTC
         "abb", // abb ABB Ltd
@@ -1034,7 +1034,7 @@ public class DomainValidator implements
         "zuerich", // zuerich Kanton Zürich (Canton of Zurich)
     };
 
-    // WARNING: this array MUST be sorted, others it cannot be searched reliably using binary
search
+    // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using
binary search
     private static final String[] COUNTRY_CODE_TLDS = new String[] {
         "ac",                 // Ascension Island
         "ad",                 // Andorra
@@ -1328,7 +1328,7 @@ public class DomainValidator implements
         "zw",                 // Zimbabwe
     };
 
-    // WARNING: this array MUST be sorted, others it cannot be searched reliably using binary
search
+    // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using
binary search
     private static final String[] LOCAL_TLDS = new String[] {
        "localdomain",         // Also widely used as localhost.localdomain
        "localhost",           // RFC2606 defined



Mime
View raw message