Changeset 8846 in josm for trunk/src/org/openstreetmap/josm/io/session/ImagerySessionImporter.java
- Timestamp:
- 2015-10-10T01:40:42+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/session/ImagerySessionImporter.java
r8803 r8846 49 49 AbstractTileSourceLayer tsLayer = (AbstractTileSourceLayer) layer; 50 50 if (attributes.containsKey("automatic-downloading")) { 51 tsLayer.autoLoad = Boolean. valueOf(attributes.get("automatic-downloading"));51 tsLayer.autoLoad = Boolean.parseBoolean(attributes.get("automatic-downloading")); 52 52 } 53 53 54 54 if (attributes.containsKey("automatically-change-resolution")) { 55 tsLayer.autoZoom = Boolean. valueOf(attributes.get("automatically-change-resolution"));55 tsLayer.autoZoom = Boolean.parseBoolean(attributes.get("automatically-change-resolution")); 56 56 } 57 57 58 58 if (attributes.containsKey("show-errors")) { 59 tsLayer.showErrors = Boolean. valueOf(attributes.get("show-errors"));59 tsLayer.showErrors = Boolean.parseBoolean(attributes.get("show-errors")); 60 60 } 61 61 }
Note:
See TracChangeset
for help on using the changeset viewer.