Changeset 11453 in josm for trunk/src/org/openstreetmap/josm/data/imagery/GetCapabilitiesParseHelper.java
- Timestamp:
- 2017-01-12T01:38:04+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/GetCapabilitiesParseHelper.java
r11018 r11453 2 2 package org.openstreetmap.josm.data.imagery; 3 3 4 import java.io.IOException;5 4 import java.io.InputStream; 6 5 import java.net.MalformedURLException; … … 75 74 * @param in InputStream with pointing to GetCapabilities XML stream 76 75 * @return safe XMLStreamReader, that is not validating external entities, nor loads DTD's 77 * @throws IOException if any I/O error occurs78 76 * @throws XMLStreamException if any XML stream error occurs 79 77 */ 80 public static XMLStreamReader getReader(InputStream in) throws IOException,XMLStreamException {78 public static XMLStreamReader getReader(InputStream in) throws XMLStreamException { 81 79 XMLInputFactory factory = XMLInputFactory.newFactory(); 82 80 // do not try to load external entities, nor validate the XML
Note:
See TracChangeset
for help on using the changeset viewer.