Changeset 13518 in josm for trunk/scripts/SyncEditorLayerIndex.groovy
- Timestamp:
- 2018-03-11T22:35:49+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/SyncEditorLayerIndex.groovy
r13517 r13518 334 334 List inOneButNotTheOther(Map m1, Map m2, String code, String https) { 335 335 def l = [] 336 for (def url : m1.keySet()) { 336 def k = new LinkedList<String>(m1.keySet()) 337 for (def url : k) { 337 338 if (!m2.containsKey(url)) { 338 339 String urlhttps = url.replace("http:","https:") … … 345 346 { 346 347 l += https+" Missing https: "+getDescription(m1.get(url)) 348 m1.put(urlhttps, m1.get(url)) 349 m1.remove(url) 347 350 } 348 351 } … … 521 524 myprintln "- Missing JOSM attribution URL (${et}): ${getDescription(j)}" 522 525 } else if (et) { 523 myprintln "* Attribution URL differs ('${et}' != '${jt}'): ${getDescription(j)}" 526 def ethttps = et.replace("http:","https:") 527 if(jt.equals(ethttps)) { 528 myprintln "+ Attribution URL differs ('${et}' != '${jt}'): ${getDescription(j)}" 529 } else { 530 myprintln "* Attribution URL differs ('${et}' != '${jt}'): ${getDescription(j)}" 531 } 524 532 } else if (!options.nomissingeli) { 525 533 myprintln "+ Missing ELI attribution URL ('${jt}'): ${getDescription(j)}"
Note:
See TracChangeset
for help on using the changeset viewer.