- Timestamp:
- 2020-11-21T14:56:29+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/SyncEditorLayerIndex.java
r17328 r17329 580 580 if (ide.equals(idj) && Objects.equals(getType(j), getType(e))) { 581 581 if(getType(j).equals("wms") && unifyWMS(urle).equals(unifyWMS(urlj))) { 582 myprintln("# WMS-URL for id "+idj+" modified: "+getDescription(j));582 myprintln("# WMS-URL for id "+idj+" modified: "+getDescription(j)); 583 583 } else { 584 myprintln("* URL for id "+idj+" differs ("+urle+"): "+getDescription(j));584 myprintln("* URL for id "+idj+" differs ("+urle+"): "+getDescription(j)); 585 585 } 586 586 le.remove(urle); … … 590 590 eliUrls.put(urlj, e); 591 591 break; 592 } 593 Collection<String> old = ((ImageryInfo)j).getOldIds(); 594 if(old != null) { 595 for (String oidj : old) { 596 if (ide.equals(oidj) && Objects.equals(getType(j), getType(e))) { 597 if(getType(j).equals("wms") && unifyWMS(urle).equals(unifyWMS(urlj))) { 598 myprintln("# WMS-URL for oldid "+idj+" modified: "+getDescription(j)); 599 } else { 600 myprintln("* URL for oldid "+idj+" differs ("+urle+"): "+getDescription(j)); 601 } 602 le.remove(urle); 603 lj.remove(urlj); 604 // replace key for this entry with JOSM URL 605 eliUrls.remove(urle); 606 eliUrls.put(urlj, e); 607 break; 608 } 609 } 592 610 } 593 611 }
Note:
See TracChangeset
for help on using the changeset viewer.