Changeset 13578 in josm
- Timestamp:
- 2018-03-27T18:19:54+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/SyncEditorLayerIndex.groovy
r13554 r13578 548 548 et = getPermissionReferenceUrl(e) 549 549 jt = getPermissionReferenceUrl(j) 550 if (!jt) jt = getTermsOfUseUrl(j) 550 def jt2 = getTermsOfUseUrl(j) 551 if (!jt) jt = jt2 551 552 if (!et.equals(jt)) { 552 553 if (!jt) { … … 554 555 } else if (et) { 555 556 def ethttps = et.replace("http:","https:") 556 if(jt.equals(ethttps) || jt.equals(et+"/") || jt.equals(ethttps+"/")) { 557 myprintln "+ License URL differs ('${et}' != '${jt}'): ${getDescription(j)}" 558 } else { 559 myprintln "* License URL differs ('${et}' != '${jt}'): ${getDescription(j)}" 557 if(!jt2 || !(jt2.equals(ethttps) || jt2.equals(et+"/") || jt2.equals(ethttps+"/"))) { 558 if(jt.equals(ethttps) || jt.equals(et+"/") || jt.equals(ethttps+"/")) { 559 myprintln "+ License URL differs ('${et}' != '${jt}'): ${getDescription(j)}" 560 } else { 561 myprintln "* License URL differs ('${et}' != '${jt}'): ${getDescription(j)}" 562 } 560 563 } 561 564 } else if (!options.nomissingeli) {
Note:
See TracChangeset
for help on using the changeset viewer.