Changeset 15878 in josm for trunk/scripts
- Timestamp:
- 2020-02-17T19:34:34+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/SyncEditorLayerIndex.java
r15851 r15878 286 286 return skip.get(s); 287 287 for (Entry<String, String> str : skipStart.entrySet()) { 288 if (s.startsWith(str.getKey())) 288 if (s.startsWith(str.getKey())) { 289 skipStart.remove(str.getKey()); 289 290 return str.getValue(); 291 } 290 292 } 291 293 return null; … … 331 333 myprintln("+++ Obsolete skip entry: " + s); 332 334 } 335 for (String s : skipStart.keySet()) { 336 myprintln("+++ Obsolete skip entry: " + s + "..."); 337 } 333 338 if (optionXhtml) { 334 339 myprintlnfinal("</body></html>\n"); … … 344 349 String url = getUrlStripped(e); 345 350 if (url.contains("{z}")) { 346 myprintln("+++ ELI-URL uses {z} instead of {zoom}: "+ url);351 myprintln("+++ ELI-URL uses {z} instead of {zoom}: "+getDescription(e)); 347 352 url = url.replace("{z}", "{zoom}"); 348 353 } … … 507 512 String url = getUrlStripped(e); 508 513 if (url.contains("{z}")) { 509 myprintln("+++ JOSM-URL uses {z} instead of {zoom}: "+ url);514 myprintln("+++ JOSM-URL uses {z} instead of {zoom}: "+getDescription(e)); 510 515 url = url.replace("{z}", "{zoom}"); 511 516 } … … 1494 1499 cc = "["+cc+"] "; 1495 1500 } 1496 String d = cc + getName(o) + " - " + getUrl(o); 1501 String name = getName(o); 1502 String id = getId(o); 1503 String d = cc; 1504 if(name != null && !name.isEmpty()) { 1505 d += name; 1506 if(id != null && !id.isEmpty()) 1507 d += " ["+id+"]"; 1508 } 1509 else if(url != null && !url.isEmpty()) 1510 d += url; 1497 1511 if (optionShorten) { 1498 1512 if (d.length() > MAXLEN) d = d.substring(0, MAXLEN-1) + "...";
Note:
See TracChangeset
for help on using the changeset viewer.