Changeset 19355 in josm for trunk/test


Ignore:
Timestamp:
2025-03-22T13:08:04+01:00 (4 days ago)
Author:
stoecker
Message:

hopefully now get the output I want

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/validation/routines/DomainValidatorTestIT.java

    r19351 r19355  
    121121                        unicodeTld = asciiTld;
    122122                    }
    123                     if (!dv.isValidTld(asciiTld)) {
    124                         String[] info = htmlInfo.get(asciiTld);
     123                    String[] info = htmlInfo.get(asciiTld);
     124                    if (info != null) {
    125125                        String type = info[0];
    126126                        String comment = info[1];
     
    136136                            }
    137137                        }
    138                         if (info != null) {
     138                        if (!dv.isValidTld(asciiTld)) {
    139139                            if ("country-code".equals(type)) { // Which list to use?
    140140                                missingCC.put(asciiTld, unicodeTld + " " + comment);
Note: See TracChangeset for help on using the changeset viewer.