Changeset 8344 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2015-05-10T13:27:54+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java
r8287 r8344 6 6 import java.util.ArrayList; 7 7 import java.util.Arrays; 8 import java.util.HashMap; 8 9 import java.util.List; 10 import java.util.Map; 9 11 import java.util.Objects; 10 12 import java.util.Stack; … … 39 41 BOUNDS, 40 42 SHAPE, 43 NO_TILE, 41 44 UNKNOWN, // element is not recognized in the current context 42 45 } … … 84 87 private String lang; 85 88 private List<String> projections; 89 private Map<String, String> noTileHeaders; 86 90 87 91 @Override … … 95 99 bounds = null; 96 100 projections = null; 101 noTileHeaders = null; 97 102 } 98 103 … … 150 155 projections = new ArrayList<>(); 151 156 newState = State.PROJECTIONS; 157 } else if ("no-tile-header".equals(qName)) { 158 noTileHeaders = new HashMap<>(); 159 noTileHeaders.put(atts.getValue("name"), atts.getValue("value")); 160 newState = State.NO_TILE; 152 161 } 153 162 break; … … 308 317 projections = null; 309 318 break; 319 case NO_TILE: 320 entry.setNoTileHeaders(noTileHeaders); 321 noTileHeaders = null; 322 break; 323 310 324 } 311 325 }
Note:
See TracChangeset
for help on using the changeset viewer.