Changeset 12232 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-05-22T21:13:32+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/GetCapabilitiesParseHelper.java
r12147 r12232 79 79 */ 80 80 public static XMLStreamReader getReader(InputStream in) throws XMLStreamException { 81 XMLInputFactory factory = XMLInputFactory.new Factory();81 XMLInputFactory factory = XMLInputFactory.newInstance(); 82 82 // do not try to load external entities, nor validate the XML 83 83 factory.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, Boolean.FALSE);
Note:
See TracChangeset
for help on using the changeset viewer.