Changeset 19358 in josm for trunk/test/unit


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

checkstyle line length

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.