Changeset 19358 in josm


Ignore:
Timestamp:
2025-03-23T12:42:21+01:00 (5 weeks ago)
Author:
stoecker
Message:

checkstyle line length

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java

    r19357 r19358  
    899899        "media", // media Binky Moon, LLC
    900900        "meet", // meet Charleston Road Registry Inc.
    901         "melbourne", // melbourne The Crown in right of the State of Victoria, represented by its Department of State Development, Business and Innovation
     901        "melbourne", // melbourne The Crown in right of the State of Victoria, Department of State Development, Business and Innovation
    902902        "meme", // meme Charleston Road Registry Inc.
    903903        "memorial", // memorial Dog Beach, LLC
  • trunk/test/unit/org/openstreetmap/josm/data/validation/routines/DomainValidatorTestIT.java

    r19357 r19358  
    126126                        String comment = info[1].replaceAll(""","\"").replaceAll("'","'").replaceAll("&","&");
    127127                        if ("country-code".equals(type)) { // Which list to use?
    128                             allCC.put(asciiTld, unicodeTld + " " + comment);
    129                             if (generateUnicodeTlds) {
    130                                 allCC.put(unicodeTld, asciiTld + " " + comment);
     128                            if (!dv.isValidInfrastructureTld(asciiTld)) {
     129                                allCC.put(asciiTld, unicodeTld + " " + comment);
     130                                if (generateUnicodeTlds) {
     131                                    allCC.put(unicodeTld, asciiTld + " " + comment);
     132                                }
    131133                            }
    132134                        } else {
Note: See TracChangeset for help on using the changeset viewer.