Changeset 12061 in josm for trunk/scripts
- Timestamp:
- 2017-05-05T09:04:01+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/SyncEditorLayerIndex.groovy
r12008 r12061 116 116 117 117 void loadSkip() { 118 FileReader fr = new FileReader(ignoreInputFile)118 def fr = new InputStreamReader(new FileInputStream(ignoreInputFile), "UTF-8") 119 119 def line 120 120 … … 225 225 return res 226 226 } 227 227 228 228 void printentries(def entries, def stream) { 229 229 DecimalFormat df = new DecimalFormat("#.#######") … … 359 359 if (!josmUrls.containsKey(url)) continue 360 360 def j = josmUrls.get(url) 361 def ename = getName(e).replace("'"," ’")362 def jname = getName(j).replace("'"," ’")361 def ename = getName(e).replace("'","\u2019") 362 def jname = getName(j).replace("'","\u2019") 363 363 if (!ename.equals(jname)) { 364 364 myprintln "* Name differs ('${getName(e)}' != '${getName(j)}'): $url"
Note:
See TracChangeset
for help on using the changeset viewer.