Changeset 8349 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2015-05-14T13:26:49+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java
r8347 r8349 138 138 "country-code", 139 139 "icon", 140 "tile-size", 140 141 }).contains(qName)) { 141 142 newState = State.ENTRY_ATTRIBUTE; … … 300 301 entry.setIcon(accumulator.toString()); 301 302 break; 303 case "tile-size": 304 Integer tileSize = null; 305 try { 306 tileSize = Integer.parseInt(accumulator.toString()); 307 } catch(NumberFormatException e) { 308 tileSize = null; 309 } 310 if (tileSize == null) { 311 skipEntry = true; 312 } else { 313 entry.setTileSize(tileSize.intValue()); 314 } 315 break; 302 316 } 303 317 break;
Note:
See TracChangeset
for help on using the changeset viewer.