Changeset 15586 in josm for trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java
- Timestamp:
- 2019-12-13T00:48:33+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java
r15562 r15586 290 290 291 291 // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search 292 private static final String[] INFRASTRUCTURE_TLDS = new String[]{292 private static final String[] INFRASTRUCTURE_TLDS = { 293 293 "arpa", // internet infrastructure 294 294 }; 295 295 296 296 // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search 297 private static final String[] GENERIC_TLDS = new String[]{297 private static final String[] GENERIC_TLDS = { 298 298 // Taken from Version 2019120700, Last Updated Sat Dec 7 07:07:01 2019 UTC 299 299 "aaa", // aaa American Automobile Association, Inc. … … 1524 1524 1525 1525 // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search 1526 private static final String[] COUNTRY_CODE_TLDS = new String[]{1526 private static final String[] COUNTRY_CODE_TLDS = { 1527 1527 "ac", // Ascension Island 1528 1528 "ad", // Andorra … … 1822 1822 1823 1823 // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search 1824 private static final String[] LOCAL_TLDS = new String[]{1824 private static final String[] LOCAL_TLDS = { 1825 1825 "localdomain", // Also widely used as localhost.localdomain 1826 1826 "localhost", // RFC2606 defined
Note:
See TracChangeset
for help on using the changeset viewer.