Changeset 19358 in josm
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java
r19357 r19358 899 899 "media", // media Binky Moon, LLC 900 900 "meet", // meet Charleston Road Registry Inc. 901 "melbourne", // melbourne The Crown in right of the State of Victoria, represented by itsDepartment of State Development, Business and Innovation901 "melbourne", // melbourne The Crown in right of the State of Victoria, Department of State Development, Business and Innovation 902 902 "meme", // meme Charleston Road Registry Inc. 903 903 "memorial", // memorial Dog Beach, LLC -
trunk/test/unit/org/openstreetmap/josm/data/validation/routines/DomainValidatorTestIT.java
r19357 r19358 126 126 String comment = info[1].replaceAll(""","\"").replaceAll("'","'").replaceAll("&","&"); 127 127 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 } 131 133 } 132 134 } else {
Note:
See TracChangeset
for help on using the changeset viewer.