Ignore:
Timestamp:
2018-06-08T22:43:20+02:00 (6 years ago)
Author:
Don-vip
Message:

add new XmlUtils class with more "safe factories" methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/Capabilities.java

    r13120 r13901  
    1414
    1515import org.openstreetmap.josm.tools.Logging;
    16 import org.openstreetmap.josm.tools.Utils;
     16import org.openstreetmap.josm.tools.XmlUtils;
    1717import org.xml.sax.Attributes;
    1818import org.xml.sax.InputSource;
     
    274274        public static Capabilities parse(InputSource inputSource) throws SAXException, IOException, ParserConfigurationException {
    275275            CapabilitiesParser parser = new CapabilitiesParser();
    276             Utils.parseSafeSAX(inputSource, parser);
     276            XmlUtils.parseSafeSAX(inputSource, parser);
    277277            return parser.getCapabilities();
    278278        }
Note: See TracChangeset for help on using the changeset viewer.