Changeset 12232 in josm


Ignore:
Timestamp:
2017-05-22T21:13:32+02:00 (7 years ago)
Author:
Don-vip
Message:

see #11924 - fix deprecation warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/GetCapabilitiesParseHelper.java

    r12147 r12232  
    7979     */
    8080    public static XMLStreamReader getReader(InputStream in) throws XMLStreamException {
    81         XMLInputFactory factory = XMLInputFactory.newFactory();
     81        XMLInputFactory factory = XMLInputFactory.newInstance();
    8282        // do not try to load external entities, nor validate the XML
    8383        factory.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, Boolean.FALSE);
Note: See TracChangeset for help on using the changeset viewer.