Changeset 13828 in josm for trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java
- Timestamp:
- 2018-05-24T23:53:37+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java
r13824 r13828 14 14 import java.util.Collection; 15 15 import java.util.Collections; 16 import java.util.Deque; 16 17 import java.util.LinkedHashSet; 18 import java.util.LinkedList; 17 19 import java.util.List; 18 20 import java.util.Map; … … 21 23 import java.util.Optional; 22 24 import java.util.SortedSet; 23 import java.util.Stack;24 25 import java.util.TreeSet; 25 26 import java.util.concurrent.ConcurrentHashMap; … … 252 253 253 254 /** 254 * Exception thrown when p raser doesn't find expected information in GetCapabilities document255 * Exception thrown when parser doesn't find expected information in GetCapabilities document 255 256 * 256 257 */ … … 258 259 259 260 /** 261 * Create WMTS exception 260 262 * @param cause description of cause 261 263 */ … … 265 267 266 268 /** 269 * Create WMTS exception 267 270 * @param cause description of cause 268 271 * @param t nested exception … … 373 376 374 377 /** 378 * Call remote server and parse response to WMTSCapabilities object 379 * 375 380 * @param url of the getCapabilities document 376 381 * @param headers HTTP headers to set when calling getCapabilities url … … 479 484 private static Layer parseLayer(XMLStreamReader reader) throws XMLStreamException { 480 485 Layer layer = new Layer(); 481 Stack<QName> tagStack = new Stack<>();486 Deque<QName> tagStack = new LinkedList<>(); 482 487 List<String> supportedMimeTypes = new ArrayList<>(Arrays.asList(ImageIO.getReaderMIMETypes())); 483 488 supportedMimeTypes.add("image/jpgpng"); // used by ESRI
Note:
See TracChangeset
for help on using the changeset viewer.