Changeset 11621 in josm for trunk/test/unit/org/openstreetmap/josm/data/validation/routines/DomainValidatorTestIT.java
- Timestamp:
- 2017-02-25T21:21:27+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/routines/DomainValidatorTestIT.java
r10756 r11621 189 189 final Map<String, String[]> info = new HashMap<>(); 190 190 191 // <td><span class="domain tld"><a href="/domains/root/db/ax.html">.ax</a></span></td>192 191 final Pattern domain = Pattern.compile(".*<a href=\"/domains/root/db/([^.]+)\\.html"); 193 // <td>country-code</td>194 192 final Pattern type = Pattern.compile("\\s+<td>([^<]+)</td>"); 195 // <!-- <td>Åland Islands<br/><span class="tld-table-so">Ålands landskapsregering</span></td> </td> -->196 // <td>Ålands landskapsregering</td>197 193 final Pattern comment = Pattern.compile("\\s+<td>([^<]+)</td>"); 198 194 … … 228 224 } 229 225 // Don't save unused entries 230 if (com.contains("Not assigned") || com.contains("Retired") || typ.equals("test")) { 231 // System.out.println("Ignored: " + typ + " " + dom + " " +com); 232 } else { 226 if (!com.contains("Not assigned") && !com.contains("Retired") && !typ.equals("test")) { 233 227 info.put(dom.toLowerCase(Locale.ENGLISH), new String[]{typ, com}); 234 // System.out.println("Storing: " + typ + " " + dom + " " +com);235 228 } 236 229 } else {
Note:
See TracChangeset
for help on using the changeset viewer.